View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
lindsey lindsey is offline
external usenet poster
 
Posts: 43
Default Vlookup Reference Certain Worksheets

Every month I receive a new worksheet with that month's data. I have a master
sheet that I use to pull the data from this new worksheet. However, I have to
go through all of the vlookup formula and change the referenced worksheet
name. Is there a way to change the formula, so that it references a cell (A1)
with the worksheet name?

Example:
=VLOOKUP(J$3,Q109!$U$6:$GM$20,$C12,FALSE)
This is the formula everything is hooked up to, i.e. Q109 worksheet

I then have to go through each formula and change it to Q209 worksheet.
=VLOOKUP(J$3,Q209!$U$6:$GM$20,$C12,FALSE)

Can I just have it reference a particular cell and when I change the name in
the cell, all of the formula change which worksheet they reference?

Thanks for you help!