Dynamic Range based on cell reference?

fretcruiser

New Member
Joined
Mar 3, 2016
Messages
26
I want to do an index match, with the ARRAY being dependent on what the user selects from my dropdown box in cell B3. Depending on what they select (it will be days of the week, i.e. Saturday, Monday, etc.), I want the named range reference to change (i.e. if they select Saturday, I want it to reference the Saturday table, located on the "Sat" tab)

How can I get the table name within my index formula to change based on the value of another cell?
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
If you have a sheet named "Sat", and B3 on the active sheet has Saturday in it, this will return the value in cell A1 on the sheet "Sat".
Code:
=INDIRECT(LEFT(B3,3)&"!A1")
you can adapt this to your index-match formula.
 
Upvote 0

Forum statistics

Threads
1,217,414
Messages
6,136,492
Members
450,016
Latest member
murarj

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