Thread: Embedded lookup
View Single Post
  #2  
Old May 24th, 2010, 07:32 PM posted to microsoft.public.excel.worksheet.functions
Luke M[_4_]
external usenet poster
 
Posts: 451
Default Embedded lookup

Take a look at using the INDIRECT function, perhaps something like:

=VLOOKUP(A3,INDIRECT("'"&A1&"'!A:B),2,FALSE)

--
Best Regards,

Luke M
"HotaG" wrote in message
...
Can a lookup be embedded in another lookup? A file has separate sheets for
each month with identical formats. A file has 13 sheets, one for each
month
and a YTD sheet. Each sheet has P&L data for multiple companies and the
YTD
sheet has a data entry field to identify the current month. Based on the
value in that field, the lookup function should, first, go to the correct
month's sheet, then lookup the correct value. Ex: YTD Cell A1=4 for
April;
All sheets Cell A3=Sales; Col B = ABC, Inc. The lookup formula will
lookup
A1, go to the April sheet, then perform the lookup function.