Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SS
 
Posts: n/a
Default Vlookup over multiple sheets

Hi

Anyone know if it is possible to do a vertical lookup over multiple sheets

Any ideas would be great

Thanks Shona


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Chip Pearson
 
Posts: n/a
Default Vlookup over multiple sheets

You can't do that. VLOOKUP only takes a range on a single sheet.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"SS" wrote in message
...
Hi

Anyone know if it is possible to do a vertical lookup over
multiple sheets

Any ideas would be great

Thanks Shona




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SS
 
Posts: n/a
Default Vlookup over multiple sheets

OK thanks

Is there some other formula I could use?

Shona


"Chip Pearson" wrote in message
...
You can't do that. VLOOKUP only takes a range on a single sheet.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"SS" wrote in message
...
Hi

Anyone know if it is possible to do a vertical lookup over
multiple sheets

Any ideas would be great

Thanks Shona






  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete
 
Posts: n/a
Default Vlookup over multiple sheets

You could have a contruct like:

=IF(ISNA(VLOOKUP(first_sheet_formula)),
IF(ISNA(VLOOKUP(second_sheet_formula)),"Not
Present",VLOOKUP(second_sheet_formula)),VLOOKUP(fi rst_sheet_formula))

You could extend this for more sheets, but the formula will become a
bit unwieldy.

Hope this helps.

Pete

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Vlookup over multiple sheets

You might want to try nested If statements to run the vlookup in the
2nd, 3rd, 4th sheets if the 1st, 2nd and 3rd return error values (which
you can test using the iserror function).

The big downfall is that it will become a very processor hungry
formula. You should try using an Index and Match function combinations.
Plenty of examples are available on the web

Regards

Wrishi Bothra

Chip Pearson wrote:
You can't do that. VLOOKUP only takes a range on a single sheet.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"SS" wrote in message
...
Hi

Anyone know if it is possible to do a vertical lookup over
multiple sheets

Any ideas would be great

Thanks Shona





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default Vlookup over multiple sheets

How many sheets do you have? How are they named?

Where are your tables located? Are they all located in the same range
of cells for each sheet?

In article ,
"SS" wrote:

Hi

Anyone know if it is possible to do a vertical lookup over multiple sheets

Any ideas would be great

Thanks Shona

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SS
 
Posts: n/a
Default Vlookup over multiple sheets

Sheet 1 to have the fomula looking up A2 the arra Sheets are named Jan, Feb
etc so 12 which will be the array and only columns A & B with the result to
be what is in the second column

Hope that helps
Thanks

"Domenic" wrote in message
...
How many sheets do you have? How are they named?

Where are your tables located? Are they all located in the same range
of cells for each sheet?

In article ,
"SS" wrote:

Hi

Anyone know if it is possible to do a vertical lookup over multiple

sheets

Any ideas would be great

Thanks Shona



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete
 
Posts: n/a
Default Vlookup over multiple sheets

If you could give us a few more details then we might be able to
provide a more detailed solution for you.

Pete

  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default Vlookup over multiple sheets

Two options...

Option one:

Let F2:F13 contain your sheet names, and then use the following
formula...

=VLOOKUP(A2,INDIRECT(INDEX(F2:F13,MATCH(TRUE,COUNT IF(INDIRECT(F2:F13&"!A2
:A100"),A2)0,0))&"!A2:B100"),2,0)

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER. Adjust the
ranges (A2:A100, A2:B100, and F2:F13) accordingly.

Option two:

This doesn't require you to list your sheet names, but it uses three
cells...

B2:

=MATCH(TRUE,COUNTIF(INDIRECT(TEXT(DATE(2005,ROW(IN DIRECT("1:12")),1),"mmm
")&"!A2:A100"),A2)0,0)

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

C2:

=INDEX(TEXT(DATE(2005,ROW(INDIRECT("1:12")),1),"mm m"),B2)

D2:

=VLOOKUP(A2,INDIRECT(C2&"!A2:B100"),2,0)

Hope this helps!

In article ,
"SS" wrote:

Sheet 1 to have the fomula looking up A2 the arra Sheets are named Jan, Feb
etc so 12 which will be the array and only columns A & B with the result to
be what is in the second column

Hope that helps
Thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
selecting multiple sheets Shaun Excel Worksheet Functions 1 August 31st 05 04:09 PM
Printing Multiple sheets light_life_love Excel Discussion (Misc queries) 0 August 25th 05 08:52 PM
How do i auto create multiple files from 1 with multiple sheets Kathy Excel Worksheet Functions 0 July 26th 05 01:23 AM
Can I unhide multiple sheets at once? Brockli Excel Discussion (Misc queries) 1 February 24th 05 07:46 PM
linking multiple sheets to a summary sheet greg g Excel Discussion (Misc queries) 1 December 16th 04 07:43 AM


All times are GMT +1. The time now is 10:04 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"