View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernard Liengme Bernard Liengme is offline
external usenet poster
 
Posts: 4,393
Default Use tab name in Vlook Up

With something like
=VLOOKUP(O2,INDIRECT("wk"&O1&"!A4:L3000"),12,FALSE )
where O1 hold the week number
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"AMH" wrote in message
...
I have a formula that looks up data in a sheet using Vlookup, every week
the
formula changes as the week number changes.

The tab to look for data has a tab name of wk## and thus the forumla for
week 28 looks like this

=VLOOKUP(O2,wk28!A4:L3000,12,FALSE)

How can I substitue the wk28 tab number in the formual for a cell
reference
that contains the text "wk28" ?

This will save me modifying forumlas on weekly basis.

Thanks