Double VLookup (vlookup The Same Data From 2 Different Sheets)
Jul 13, 2009I'm currently trying to vlookup the same data from 2 different sheets. Here is the code i've tried.
View 4 RepliesI'm currently trying to vlookup the same data from 2 different sheets. Here is the code i've tried.
View 4 RepliesIm trying to develop a workbook which holds monthly data on loan information. It tracks the interest and balance on the loan. I want the first page to have a table displaying the interest payments for every individual tab. When I was brainstorming the idea, I was considering a sort of Vlookup function to find the tab the account is on and then a further function, possibly another vlookup which connects the month to that months interest payment. Can anyone help me figure this out?
The attached spreadsheet is obviously simplified, there are well over 30 tabs. But I would like it to, ideally, search the account number column, search the workbook for that account number, and then when on that page use the month at the top of the first page and retrieve the interest payment and put it back in the cell. Itd also be great if the formula can be transferred between workbooks. Im not sure if that makes sense; basically if I were to copy that worksheet into the next months book, I would like that the formula read those tabs instead of becoming obsolete due to references from the first workbook.
On one sheet I have an array of 4 cols. It looks like this:
123 Chris 12345 Jones
123 Chris 23456 Pete
123 Chris 34567 John
On the main sheet there are also 4 cols. In cell A1 I enter a number, in A2 I have a VLookup to get the corresponding name for the number entered in A1, which works fine, I type 123 in A1 and get Chris in A2.
In a perfect world I would like A3 to become a dropdown with 12345, 23456 and 34567 so the user could then select one of those, and by doing so, A4's VLookup would give Jones, Pete or John.
I don't think a dropdown can be populated this way - am I stuck using VBA?
I have a double vlookup problem here.
Here's a simple illustration:
A B C D E F G
1 1 1 1 One
2 2 2 2 Two
4 4 3 3 Three
3 3 4 4 Four
5 5 5 5 Five
I need to match A,B with E,F.
If they match, I need to display the string in G in C.
I have a calendar (tab March in the attached file) where I can indicate the delivery package of tab List. The problem that if the delivery happened twice a day, only the first one will be indicated. If there is any way to indicate both deliveries?
View 2 Replies View RelatedTrying to do a double lookup, or a conditional lookup. Attached spreadsheet will provide much more clarity. I have multiple data sets within a universal file, each data set can contain the same constituant therefore I would like to lookup/vlookup a value only if the constituant is part of the data set I want to pull from.
In attached sheet: if cells in Col A= "F", then vookup("RDT",(array would be data set "F" (I think)),return value in col 2 (assuming vlookup is in col B), t/f)
I have a table of data with two rows of unqiue identifiying information. I am trying to develop a formula that will allow me to do a vlookup twice, once for each row of unique identifying information to retrive the value in same row for the third column. For example:
apple red 50
aaple blue 75
aaple yellow 80
apple green 90
grape red 12
grape blue 17
grape yellow 45
grape green 41
So, I am trying to do a lookup where I can say what is the value in the third column for apple and red. Or, what is the value in the third column for grape and green.
I have a spreadsheet of mail types with totals. What I am trying to do is create a formula in the highlighted cells in the second sheet that will look at the Account ID Row for a certain value (in this case '45265637'), then look for all the month (in this case April) then add all the figures for this month in the LETTERS row, with the cell below it doing the one for PACKAGES.
I am exhausted from trying to get this one done. The reason that I need to this is that is I have an Excel system readout of 821 different ACCOUNT IDs and their volumes for everyday from 1st April 08 - 30th June 08 and I need a forumula that will extract this automatically as I don't fancy manually cell referencing 45,000-50,000 cells!
(and I hope the images work!)
http://www.mediafire.com/imgbnc.php/...5942a7002g.jpg
http://www.mediafire.com/imgbnc.php/...a3b756c52g.jpg
I am tring to find a more efficient way of avoiding a double Vlookup function.
=IF(ISNA(VLOOKUP(A6,Sunday!$A$72:$AM$86,38,FALSE)),"",VLOOKUP(A6,Sunday!$A$72:$AM$86,38,FALSE))
I have read over this forum but still haven't understood any solutions.
A6 is a name.
The name may not be on the worksheet the function is looking up.
I have a table that shows a row of dates, a row of campaigns, and then a row of values I need to reference. I need to pull the values for a specific date and corresponding campaign.
For example, I need to pull the value for campaign 'notset' on 6/16/09.
I tried the following, but it would only work on the first and last campaign: ...
I'm curious if there's a way to use the Vlookup function to compare TWO values in TWO cells with two values in two OTHER cells (same row though) and return one value from another column. Something like
Vlookup(A2 & C2, Sheet2!A1:C400, 3, FALSE & FALSE)....? Does that make sense?
Say the values in A2 and C2 are in A24 and B24 respectively in Sheet2. Can it return C24 for me?
I have a excel doc we use at work to create a schedule for our technicians.
Each sheet is a week, so the sheet names are Week 2, Week 3, Week 4.
Each technician number is listed in column B (3,4,5,36,53,91, etc)
Row 5 has Mon-Sun
The techs work schedule is in the appropriate cell. (8 to 5, 10 to 7, Vacation, etc)
I want to count the number of shifts for each tech each week, with a running total for the year. It was easy to do it on each sheet with a simple countif formula. But The problem comes when I want to count them for the whole year.
I tried creating a "stats" sheet and make vlookup formulas to call the data from each weekly sheet. But with all the techs and shift types I want to count, it was like 40,000 cells. Excel wasn't able to calculate it, it had the "processing 0%" in the taskbar.
I thought I could use =sum(Week1:Week52!AZ6:BN50), which is where I have the counts from each weekly sheet. But my data is not always in the same spot on the sheet. Because of techs coming and going (new hires, people quit).
I have a "main data"Test.xlsx sheet wherein I have to populate 4 columns from 2 other sheets.
E.g.: In master data tab, I have (PID,EMP ID,Name,Address,Join Date, Exit Date). Now i am trying to get the PID & Address from another tab called "PID,Address". To get the PID & address, i will use EMP ID as reference to fetch data.
Similarly, I have to pull Join & Exit dates from the tab "Dates Sheet" with same EMP ID.
I have a home tab, wherein I have a button which is assigned a macro to reconcile the data.
I know that I can do this with simple vlookup for all the columns, but the actual data is very huge and it may vary daily. So its time consuming process. So i want to this reconciliation (consolidation) using macro. How to generate a macro.
I am attaching the sample sheet : Test.xlsm
I think VLookup is what I need to use, but am unfamiliar with how to use it. The attached file will explain a little more about what I would like to do. I have an inventory summary from 2007 and 2008. Each year has its own sheet. Each record has two fields that need to match on the summary sheet. If the two fields match, the summary sheet should return a total in the third field. It's more clearly explained in the file itself.
View 2 Replies View RelatedI'm trying to do a Vlookup on a file that gets automatically downloaded to the computer from a website. The data is in lots of different data sets, like so:
Loans to countries
Mar
Apr
May
Jun
Loans to banks
Mar
Apr
May
Jun
Every month a new row of data gets added to each table, meaning the start and end cells of the array also shift each time.
I have two spreadsheets, one with master file with original data and one that needs to pull in the original data. My issue is all the data to match off of is in the same column, and a number of other files link to the master file, plus it is used externally, so I cannot alter it, and I would rather not create a mock/copy file. Is there a formula that can look for 2 different items within the same column? Would prefer not to use VBA, but if that's the only option I'll take it. I am using Excel 2003.
Here is an example of the setup - I would need the formula to reference off the two different items/categories in the column, so lookup off the 'St. Louis' and following that, lookup off the produce items.
I am trying to vlookup from sheet2 to sheet1. It gives incorrect values.
View 3 Replies View RelatedVlookup between two sheets
I am trying to run a vlookup between two sheets
MY code is as below, In line 6 system is throwing an error as “RunTime Error 9” struggling to resolve it.
I have to do a vlookup, but the Table_array data is spread over two worksheets because of the amount of data.
View 12 Replies View RelatedI have a name in A14 in my overview sheet.
In some (not all!) of the other sheets the name is located in A48:A54 (only one of the cells but different from sheet to sheet). The corresponding value is located in B48:B54. I would like to return the sum of these values to B14 in my overview sheet.
Likewise I would like to return the values in column C in the other sheets to C14 in the overview sheet and so on until the sum of the values in AA are returned.
I might add several new sheets later on so I would appreciate a solution where I don't need to change the code each time I add a new sheet. VBA solution would be fine
I am trying to create a table which will search for a name throughout several other sheets. All of the same format and layout but with different data. I then need to display information in a different column of the same row of the name I'm searching, just like vlookup.. I also need to be able to search for multiple entries with the same name, so there may be 3 different entries for John Smith thoughout the few dozen sheets.
View 2 Replies View RelatedI have several sheets named by months like 1213, 1113, 1013, 913, 813, 713, etc (month-year) and I'm doing one sheet as an index that needs to find a value across all the sheets.
All the months sheets have a list of names in column A and status in column B. When the business with the name is done, it doesn't appear in the next sheet.
For example "Client A" could appear in 713, 813, 913 (business done) and won't appear in 1013, 1113 and 1213,
In the index sheet I want to lookup what is the status for a name from the latest sheet (last updated status).
So I have all the sheets names in a range called months and I want to make a small formula if possible.
I want to start looking in the latest month (sheet) and if that doesn't have any value it goes to the lower one and so on.
If I use =VLOOKUP($A$5,INDIRECT("'"&MAX(months)&"'!A:D"),4,0) it shows N/A since the name only appeared until 913 and its looking on 1213.
Right now this is working, but it's too big to understand.
IF(NOT(ISERROR(VLOOKUP($A$5,INDIRECT("'"&MAX(months)&"'!A:D"),4,0))),VLOOKUP($A$5,INDIRECT("'"&MAX(months)&"'!A:D"),4,0),
IF(NOT(ISERROR(VLOOKUP($A$5,INDIRECT("'"&MAX(months)-100&"'!A:D"),4,0))),VLOOKUP($A$5,INDIRECT("'"&MAX(months)-100&"'!A:D"),4,0),
[Code] ......
I'm trying to create a VLOOKUP that will return a value in 'Tracking' from 1 of 4 different sheets. If the value isn't found in sheet 1, the lookup should continue to sheet 2. If not found in 2, move to 3 and so on. In cases where there is no value, I would like to return " ".
Trying this:
=IFERROR(VLOOKUP(A2,'1'!A:P,2,FALSE),IFERROR(VLOOKUP(A2,'2'!A:P,2,FALSE),
IFERROR(VLOOKUP(A2,'3'!A:P,2,FALSE),IFERROR(VLOOKUP(A2,'4'!A:P,2,FALSE)," "))))
This formula returns values only in sheet 1. It won't continue to 2 and so on. Also, this will return a 0 for a blank value. If working as intended, 'Tracking' will show "g" in B2 and " " in C2.
I have an excel sheet that contains employee details (Emp. code, Name, Dept. & Shifts for the month) on one sheet (named Manpower) and their respective shifts on other sheets. The emp code in the manpower sheet should be looked up in the other sheets and the corresponding shift on the particular date should be returned. The problem is that since the sheets are arranged by departments the emp code has to be looked up in all the sheets till a value is returned.
View 3 Replies View RelatedI have another query now, similar to the one above. This relates to our Purchase invoice board.
All of our invoices are internally numbered, the info is entered onto the attached spreadsheet. A register, source of all Purchase information. (this sheet was not created by me by the way, its really old and my manager does not want to change it )
I would like to create a spreadsheet of the invoices that i have placed under query, i have set out a simple template at the moment which i use. But i have to input all the info from the invoice on this sheet, I can't help but wonder if the vlookup functon would work on for this.
I would like to enter our internal invoice no into my query spreadsheet and with the vlookup function i would like to retrieve the info from our purchase invoice spreadsheet
Only thing is, our invoice num are continously rolling throughout the year. New numbers are not created for the month, it continues from the last invoice number. However our invoices are filed on a monthly basis (hence the month tabs below).
Is there a way that a lookup function can be retrieve info from several worksheets at the same time in a different workbook?
i have to make it to where when i put a number in it also puts in the description and
unit price just by the number i put in to a cell. I am making an invoice... and using a look up table to do the vlookup function but dont know what i am doing wrong
I need to write a formula that looks for a value from column a, find the
sheet with a matching value in cell e4 and returns the value of cell ac1 of
the worksheet.
This formula will live in column b of the summary sheet.
Example:
Summary Tab
A B
1 19-Jul 19,000(formula result)
2 16-Jul
3 23-Jul
4 30-Jul
Data Tab 1
E AC
1 9-Jul 19,000
It will need to look in cell E1 of every tab in the work book (52 tabs) for
the value found in $a1.
I have a list of cusips/numbers in one file and I need to see if this cusip/number is in another file which has three worksheets. So tried this formula and what is wierd that if the cusip is in the first tab it returns #N/A, but if it's the 2nd tab it returns the right answer but if it happens to be in the third tab I get "false" instead. Why only if it's in the 2nd tabe does it return a value? I would combine all of these worksheets but it exceeds the number of rows allowed in the version I have.
I'm pasting the formula...hoping someone can point out what is wrong. I'll break it up to make it easier to read.
=IF(ISNA(VLOOKUP(E7,'P:Global InvestmentsPerformance ReportingDATASAC (new)Unclassified[SAC08_Unclassified_SeptMonthEnd.xls]Unclassified'!$B$2:$B$7137,1,0)),
IF(ISNA(VLOOKUP(E7,'P:Global InvestmentsPerformance ReportingDATASAC (new)Unclassified[SAC08_Unclassified_SeptMonthEnd.xls]Other Other'!$B$2:$B$25964,1,0)),
...........................
I have a workbook that I'm preparing, that has several (appx 60) worksheets, each named for the location they refer to. I also have a summary sheet that highlights the key data/balances. On this summary sheet, I'd like to have certain data refer back to the individual sheets. For example, I have data set up:
Location
1
2
3
etc.
Each additional worksheet is named 1, 2, 3, etc. Is there a way to set up a formula that looks to the cell where it says '1' to direct Excel to the sheet named 1?
I am trying to look up a several values across multiple sheets. Is there an easier way to do this rather than...
IFERROR(VLOOKUP($B10,ULTA!B:X,23,0),0)+(IFERROR(VLOOKUP($B10,CVS!B:X,23,0),0))+(IFERROR(VLOOKUP($B10,HARMON!B:X,23,0),0) )
That's just 3 sheets, I have 28.