Results From Multiple Sheets

Jan 24, 2007

Sheet1,
On this sheet I record the workers names and the time spent on one day, Each employee has a different rate and could do different hours, and also could come to this sheet twice. this sheet in the end give me, how much money I spent with each employee. Each employee is identified with a Number.

Sheet2,
On this one I record all downtime. Downtime's are identified with a Letter.

Sheet3,
Here I record the product's that we've done on that day, each complete product or part of a product is recorded in one row with quantity, elapsed time, product code (also a letter), in the end I know exactly how much time I used to do that product, and how many products from a specific code.

What I want is on the Sheet1, know how much time each employee and how many used to do "x" product. like this I can get the cost for each product and not only a total.

View 9 Replies


ADVERTISEMENT

Results From Multiple Sheets To Table

Jan 24, 2010

i have a workbook with 30+ sheets and i want to create a new sheet containing a table from aprox 6 values from the others.

i have done this in the past by typing =(then select the cell from the sheet i want)

while this works it is very time consuming and filling down after i have done 1 row gives the wrong results

View 8 Replies View Related

Search Multiple Sheets And Copy Results To New Sheet?

Jun 13, 2014

I have a workbook with 50+ sheets. Within each sheet are rows of data in column A that I'd like to search for specific text.

I'd like to search each row from every sheet for specific words (e.g. "7 days" AND "Monday" AND "Tuesday" etc.) then copy the entire row containing all my search text in a new sheet on column A along with the name of the sheet it was found in in column B and the row number it came from in column C.

What I am trying to accomplish is to search through all the sheets and post results in new sheets for each search string.

View 14 Replies View Related

Unlinking Results Between Sheets

Jan 20, 2014

I am trying to do form consolidation. I have multiple forms to fill out for work so I have combined them into one work book and have all the cells of my paperwork linked back to a master page in the work book where i can fill out everything and it populates in rest of the workbook. From there, I export each page to its own workbook, save the file name and upload to server. But even after they are in their own workbook and uploaded viewers still get an error saying that it is linked to another sheet and asks if it wants to try to update. So far the only way I know how to fix this is after I export to its own workbook I have to copy everything, then Paste Special- Values to stop this. Is there any way I can have the sheets display only the values from those cells and not be linked in that manner?

View 1 Replies View Related

Sum Function To Reflect Results Across Sheets

Aug 4, 2014

I am trying to sum the details from sheet2 in sheet3. I am currently using a plain formula to sum-up the values. However, create a indirect and vlookup function to sum the values.

In sheet3, I have to sum the values from sheet2 based on the contacts. Sheet1, sheet2 and Sheet3 are connected and any update(insert,delete.. etc) will be made in sheet 1 only. Sheet2 automatically updates based on sheet1. Similarly, Sheet3 should also update based on sheet1 and sum the values based on contacts from sheet2.

I have added the formula which I am currently using in the sheet.

View 14 Replies View Related

Same Code Giving Different Results In Different Sheets?

Jun 5, 2012

So I am using a macro to do a particular task. Part of the macro's process is to delete some unwanted rows.

The code below was for my original macro which works absolutely fine:

Note: The ranges are fixed (i.e. column "AT" is reffered)

Code:

Sheets(1).Select
Dim Current As Worksheet
Dim Flt As String
Flt = Me.TextBox2.Value
For Each Current In Worksheets
With Current
With .Columns("AT")
.AutoFilter field:=1, Criteria1:="

View 3 Replies View Related

Return Multiple Results In Multiple Cells Based On Criteria In Yet Another Cell?

Feb 1, 2012

Worksheet 1: In column A I have a people's initials. In coumn B I have text boxes with miscellaneous text. (The same person could have multiple rows within this sheet.)

e.g.
AAA blue
BBB orange
AAA round
CCC smelly
AAA elongated

Worksheet 2 I want to show:
A2 = initials, B2 = first text box associated with that person, C2 = second text box (different row) associated with that person (if applicable), D2 = third text box (different row) associated with that person (if applicable), etc.

e.g.
AAA blue round elongated
BBB orange
CCC smelly

View 3 Replies View Related

Sorting And Copying Results Into New Work Sheets

Jun 3, 2009

I have a work sheet with about 35,000 lines of data. Every day I have to sort the list by product category (I use auto filter to separate) and then copy the results into a new worksheet, there are about 300 product catagories. I'm new to macros but I'm wondering if there is a macro that can automate this process.

View 6 Replies View Related

Filtering Ranges And Copying Results To New Sheets?

Jul 5, 2014

I want the following script to:

1) Find and define a range ("DateRng") based on cell values. This is controlled by the first block and the script does this job correctly.

2) Find cells

View 1 Replies View Related

VBA Macro To Name Sheets Based On Lookup Results

Dec 27, 2009

I want to name three sheets (sheets will have a different name every month so I refer to them below as Sheet(1), Sheet(2), and Sheet(3) (Their sheet index)) using a vlookup in VBA. I want the code to promt the user for input and based on the entry, I want to use a vlookup to name the sheets. There are three "lookup tables" on a sheet named "Ref" that I have defined as Table1 (used for naming Sheet(1)), Table2 (used for naming Sheet(2)), and Table3 (used for naming Sheet(3)) that I want to reference in the code. I also want a code to check the first MyLookUp1 which I have attemped below, but I do not know if I am doing this correctly. Below is my bad VBA attempt so you get an idea of what I am trying to do. Also, attached is an exaple file.

Sub namesheets()
Dim MyEntry As Variant
Dim MyLookUp1 As Variant
Dim MyLookup2 As Variant
Dim MyLookup3 As Variant
Dim MySTRING As String
MyEntry = Application.InputBox( _
Prompt:="Please enter an Item:", _
Title:="Lookup sheet name", _
Type:=2)
MySTRING = MyEntry
MyLookUp1 = Application.VLookup(MySTRING, Table1, 2, False)
If IsError(MyLookUp1) Then Exit Sub
Sheets(1).Select
ActiveSheet.Name = MyLookUp1....................

View 5 Replies View Related

Search Sheets For Data Match, Paste Results

May 13, 2009

I have a worksheet named "List" with static values in columns A & B. I want to search all the other worksheets in the same workbook for the one that matches the value I entered in column B on the "List" sheet. The cell on the other worksheets with the possible match is B5. When it finds a match, I want it to take the data from cell B3 on that worksheet and paste it in Column C of the "List" sheet on the corresponding row (all rows in the "List" sheet have a different value in Column B).

In other words, when "List"b7 = worksheetb5 , then worksheetb3 is pasted to Listc7.

View 13 Replies View Related

Userform Showing Choseable Matching Results Between 2 Sheets

Nov 10, 2009

I have a wordlist (65000 words in Column B*) in a worksheet “w1” and poems (about 21000 rows) in another worksheet “w2” where first verse is always in B and second one in C. The column D of w2 contains of information such poems name, author’s name, book’s name and so on.

I want to search for those verses through a macro which contain words from my wordlist B* w1 and add references to my words that way. It’s about making a dictionary in which each word has a reference to a poem and verses in which it is used.

Column A of w2 has number in it which shows how many times these rows have been already used as reference. Column A of w1 contains of a value “1” or “0” in which “1” means this entry has already been processed or already has a reference and “0” means it has yet to be done.

If my word B* from “w1” exists in verses B or C of “w2” the results should be shown in an userform containing 5 text boxes with 5 results. In each text box a result should be shown “(verse B; verse C); (value of Col.A)” and a checkbox (or a button). That would mean 5 result, 5 textboxes and 5 checkboxes (or 5 buttons). I would like then to choose one of the results by checking the checkbox (or pressing the button) in front of the text box. After I have chosen the result the whole row from w2 should be pasted in following columns of B*. That means the cells from w2 column B,C,D would be pasted to column C,D,E of w1.

The criteria for the search in B and C should be the lowest value in A of “w2”. I mean the w2 rows with lowest A value should be preferred if there are more results. The result showing user form with 5 text boxes and 5 checkboxes(or 5 buttons) which gives me the choice to choose one of the results should also contain a button “search for further results“. For the case none of the results is useful.

As far there are many poems (verses) I would like to prevent using the same verses many times. The more different verses I use as reference for the words in w1 the better it is. Therefore every time a result is picked by me “1” should be added to the value in Column A in w2. And every time search is started the lowest A values should be searched first.

As soon a word has successfully got it’s reference the value in A w1 should be changed from “0” to “1”. And by next search all words with A value “1” should be ignored and only “0” words should be searched for.

Each time a row from w2 is used as reference, the B* word w1 should be added to col. E of w2. If used for many ";" should be the seperator.

View 14 Replies View Related

Match Values Between 2 Sheets, Copy All Corresponding Data & Sum Results

Feb 2, 2009

I want to locate the corresponding acct number between worksheets “primary_data” and “qty_movement” and once a match is found (from acct worksheet) then copy over the acct numbers and the share data to the results page. If there is no match I don’t want anything copied to the results page, just ignore that data on either worksheet “primary_data” or “qty_movement”.

•Both ranges on “primary_data” and “qty_movement” worksheet are variable, as accts are left off or kept on depending on the daily activity so the ranges are never set.
•I need to concatenate on “primary_data” worksheet cells A&B&C to get acct number
•concatenate on “qty_movment” worksheet cells B&C (need to keep zeros in front of actual numbers for acct number reasons)
•these accts need to be cross referenced as the accounts on the “acct” worksheet (pre-populated with corresponding acct numbers that never change and will always be on that worksheet)
•If a match is found on the “acct” sheet then I would like it to either replace the acct so they match on both worksheets or just to recognize those accounts correspond with each other and do the below.
•then take the 2 concatenated acct numbers off of “primary_data” and “qty_movement” in the I cells and copy them over to the “results” worksheet as well as the share data from “primary_data (column E)” and “qty_movement(Column D)” and then compare the 2 share amounts on “results(column E)”

i need to elaborate on anything, the attached sample sheet shows what i want to do, but without any formulas or code.

View 5 Replies View Related

Apply AdvancedFilter To Several Sheets & Copy Results To New Worksheet

Nov 30, 2009

The data to be filtered is in several sheets, and once filtered is to be copied to a destination sheet (in this case "Temp"). The criteria for advanced filter is on an altogether different sheet (in this case "Reports"). The macro is actually simplified for the purpose of the question, and I want to re-use the code several times, hence the use of variable "filterRng". When I run it, I get the subject error at the bolded line in the code below. I'm thinking that the Advanced Filter doesn't like a variable as a range reference, as it runs perfectly well if the commented out line below the problem line is used instead.

Sub Test()

Dim i As Integer
Dim rngData As Range
Dim filterRng As Range

Set filterRng = Sheets("Reports").Range("A121:K124")

Application. ScreenUpdating = False
Application.DisplayAlerts = False

View 4 Replies View Related

Find Exact Matches On 2 Sheets And Export Results To 3rd Sheet?

May 24, 2014

I have a workbook that contains 3 sheets. What i am looking to do is:

1. Use the names in Sheet 1 (Column A) and find the names on Sheet 2(Column E).

2. If there is a match, put the whole row that contains the match on Sheet 3

View 14 Replies View Related

Saving Sheets As Text Files Results In Blank Lines

May 11, 2008

I load an text file into an excel sheet and after some eventually changes I save (overwrite) it back into the text file again. Now the text file has become a file with 50 pages (49 empty pages). How can I avoid this or how can I set an EOF when no more written lines follows. The code for saving the excel sheet is this:

Application. ScreenUpdating = False
Application.DisplayAlerts = False
Sheets(wsImport).Select
Sheets(wsImport).copy
ActiveWorkbook.SaveAs FileName:=WorkFolder & WorkFile, _
FileFormat:=xlText, CreateBackup:=False
ActiveWorkbook.Close
'ThisWorkbook.Activate
Sheets(wsKwartaal).Activate

View 6 Replies View Related

Select Multiple Sheets And If Value In Cell Is True Then Copy Values In All Sheets And Hardcode Data

Feb 26, 2012

I have a workbook that updates from external source and creates sheets depending on a cell range.

I have put tab 1 and tab 0 on either end of where the new sheets will be inputted, will never know how many sheets

What i need to happen is if someone fills in "complete" in A7 in my "summary" sheet then the values in row 6 in all the other sheets get hardcoded. This needs to happen from A7 down to A26, so A8 = complete then copy row 7 etc
This is what i have so far

I get compile error here ........Sheets(ArrSh(1)).Activate

Also need it to work for all the other rows.

Sub hardcode()
'
'Sheets("Summary"). Select
If Range("a7") = "complete" Then
'
Sheets(Array("1", "0")).Select
Sheets(ArrSh(1)).Activate

[Code] ......

View 2 Replies View Related

Run-time Error '1004' Method 'Add' Of Object ' Sheets' Failed Adding Multiple Sheets

Aug 9, 2007

I have been running a simulation for about 18 hours now and just received:

Run-time error '1004':
Method 'Add' of object ' Sheets' failed

I have been creating new sheets, importing data, pulling some values from the data then deleting the respective sheet. I am using:

ActiveWorkbook.Sheets.Add after:=Sheets(Sheets.Count)

The sheet is actually being added to the workbook, seemingly before the error. I resume the code, and a new sheet is placed in the workbook and it errors again. The Debugger stops and highlights on the code above.The sheet count number was 10895 at the error, just as an indicator of how many times the simulation has performed successfully. I am hoping this is something I can fix without having to start over...

View 9 Replies View Related

Multiple IF Statements With Multiple Results?

Jun 20, 2014

I have a worksheet and in one of my columns I can have multiple values, this could either be a valid numeric value, .e.g "Trace" or a value such as >1.5 or it could be blank.

Depending on the value I then want to return a different result in another cell.

In the example I have tried my data is in cell E8

I have tried the following formula and failed miserably, I'm not sure whether IF or IF OR can cope with this.

=IF(E8>=0,"1",IF(E8<0,"Invalid",IF(E8="Trace","2",IF(ISBLANK(E8),"4",IF(LEFT(E8,1=">"),"5")))))

If E8 contains a numeric value equal or greater than 0 then I want it to return a value of 1, this works

If E8 contains a value that is negative then I want my formula to then display "Invalid"

If E8 contains the word "Trace" to return a value of 2

If E8 is blank then to return a value of 4

If the first character in E8 is ">" then return a value of 5

View 4 Replies View Related

Multiple Criteria - Multiple Results

Mar 26, 2008

I need to look up a value from a worksheet using multiple criteria, and return MULTIPLE results.

I have a table with comments written by different people about specific items. I would like to be able to type in that item name and return all those comments. BUT - it's not JUST the item name, but also on a specific date or some other criterion.

Currently I have managed to do this successfully with a single criterion, as in this array formula:

=IF(ISERR(INDEX(F$1:F$1001,SMALL(IF(A$1:A$1001="ABC",ROW(F$1:F$1001)),ROW(1:1)),1)),"-",INDEX(F$1:F$1001,SMALL(IF(A$1:A$1001="ABC",ROW(F$1:F$1001)),ROW(1:1)),1))

I then copy that formula to a few more rows and I indeed get a list of different names (F1:F1001) which match my criterion "ABC". But - I have at least one more, or even two more criteria. I've tried a whole lot of different things and I just get errors.

Has anyone tried something like this? If you have - how should I modify the above formula to allow for additional criteria? For example, not only A1:A1001 equal to "ABC," but also B1:B1001 equal to "XYZ", and so on.

View 11 Replies View Related

Printing Multiple Sheets In Workbook With Hundreds Of Sheets

Feb 18, 2014

I have a work sheet named "Main_List"...In column D starting with "D2" I would like to list worksheets that I would like to have printed via VBA.

The workbook has several hundred worksheets and I would like to list in column D only worksheets that I would like to print with VBA code.

View 3 Replies View Related

Copy From Multiple Sheets (26), PASTE To 1 Sheet From 26 Sheets

Dec 26, 2009

I have a workbook with 26 sheets, labelled A to Z. Column A in all the sheets have names from rows A6:A35.

I need a macro or a code to extract all the names from each of the 26 sheets and paste it to a new sheet 'Names' under column A, such that names starting with 'B' paste under all the names 'A' and so forth till 'Z'.

View 9 Replies View Related

Running Multiple Modules Across Multiple Workbooks With Multiple Sheets

Feb 19, 2012

I've got data being scraped from a site, putting 1 new workbook in a folder each day

each workbook has 40 sheets in it.

i need to run 5 modules in sequence on a sheet then loop to the next sheet and run the same 5 modules.

ive writen all the modules, and can loop them through the sheets in sequence but i cant work out how to loop them through the each workbook in the folder..

is there an easy way to do this or can it not be done because it would need access to the folder that holds all the wordbooks which lives outside of excel on the desktop ?

View 5 Replies View Related

Getting Results From Multiple Lists

Sep 30, 2009

I want to be able to use list as filters that will show me results for prices I need. I have no idea how to figure this out. I attached a sample file so you can see what I'm trying to do.

View 4 Replies View Related

VLookup With Multiple Results

May 8, 2012

I have a large spreadsheet of data, with lab results by date. Sometimes, there are multiple data points for a single date.

I need to produce monthly reports that list all the results for specific tests in a given month.

So, for example:

Date SG Property Tank
1/5/12 1.015 567324 2044
3/15/12 1.002 568210 2103
3/18/12 1.025 568056 2044
3/18/12 1.036 565200 2102
4/1/12 1.019 566713 2103

I would like to make a report for March that looks like this:
Date SG Tank
3/15/12 1.002 2103
3/18/12 1.025 2044
3/18/12 1.036 2102

And the next month, make a report for April, then May... etc.

I tried to think of a way to do this using vlookup or index/match, but couldn't figure it out.I also tried using filters and then automating some kind of copy/paste, but there is an extra line between the heading and the data, so that the date column is filtered as text instead of date. The source data is not my spreadsheet, so that would be difficult to change.

View 9 Replies View Related

VLookup With Multiple Results?

Dec 17, 2012

I would like to do a lookup function, in which multiple results are returned.

i.e.

VLookup Result 1
Result 2
Result 3
Etc.

I know how to do it if there is only one answer but say I have a unique identifiers in which I want all the results in column B:B displayed one after another, say locations have numerous products sold/manufactured at it.

View 1 Replies View Related

VLookups With Multiple Results

Apr 12, 2013

I'm attempting to work with a v-lookup that will have multipe results. In column A of my spreadsheet are invoices numbers and in column B are account numbers. An invoice can have multiple accounts. For example, there are two lines for invoice "ABC", each with a different result in column B (see below)

Invoice Account
ABC Cash
ABC Receivable

My goal is to have the vlookup bring in both values, but in separate rows (see below)

Column A Column B Column C
ABC Cash Receivable

View 7 Replies View Related

Returning Multiple Results Using IF

Aug 12, 2009

I'm trying to have an IF function analyze a sheet and then return a list of names that return a True

=IF(AND('LTV Watcher'!L2="Yes",'LTV Watcher'!M2=""),'LTV Watcher'!A2)

and it returns:

John Doe, LLC

however I'd like it to function to analyze a range of cells:

say L2:99, M2:99, and A2:99

View 9 Replies View Related

Lookup With Multiple Results

Oct 29, 2009

After a lot of searching and trying I still didn't get to something that works.

My situation:
sheet1
column A column B
true "abc"
true "bcd"
false "cde"
true "def"
false "efg"
false "fgh"

on sheet2, in cell A1, I would like to get all results from column B that correspond 'TRUE' in that row.

So, in cell A1 on sheet2, i would like to see "abc", "bcd", "def".

VLOOKUP returns only one result, of course. How do I solve this?

I'm not good at VB, so preferably only with formulas!

View 9 Replies View Related

Lookup And Return Multiple Results

Mar 31, 2014

I want to look up a particular value and return according results horizontally and vertically. Attached is the excel.

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved