VLOOKUP using a cells value to reference another sheet

Mighty Whites

New Member
Joined
Sep 18, 2008
Messages
49
Hi,

How can I incorporate a cells value to determine which worksheet within the same workbook the vlookup is to reference?

For example the user can change which day of the week they wish to review and I want the vlookups to change which tab they reference depending on what day is selected.

e.g. =VLOOKUP(P16,Monday!E:G,2,FALSE)

Any help would be appreciated!
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Assuming your day of the week cell is A1, try this:
=VLOOKUP(P16,INDIRECT(A1)&"!E:G"),2,FALSE)
 
Upvote 0
Thanks,

The error message "You are entering too few arguments for this function" appears when I try to enter this formula....

Cheers for your help
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,286
Members
452,902
Latest member
Knuddeluff

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top