View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default Reference Sheets in a Vlookup

Try this...

Since Excel doesn't like strings of zeros you'd have to format these cells
as TEXT or precede the entry with an apostrophe unless the zeros are just
placeholders.

A1 = 000
A2 = 00

=ROUND(IFERROR(VLOOKUP($D196,INDIRECT("'"&A1&"-"&A2&"'!A13:AL200"),F$1,0),0),0)

--
Biff
Microsoft Excel MVP


"Thomas Roos" wrote in message
...
I have the following Vlookup formula

=ROUND(IFERROR(VLOOKUP($D196,'000-00'!$A$13:$AL$200,F$1,FALSE),0),0)

I want to have '000-00' change based on combining two cells.
My worksheet has 100 plus sheets and want to be able to reference the
sheet
location based on two other cells.
Is there a way to do this?

thanks
--
Tom