Dynamic cell reference for use with Index function

Prudent

New Member
Joined
Jul 3, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I have several tables in a workbook, JanTable, FebTable, MarTable, April Table etc...
I wish to use a dynamic reference in a cell on another sheet to access any one of these tables
In A1 below I have the formula shown (highlighted in column B for ease of reference) and it works to return a value of 0.97
In A4 below I have the formula shown, replacing the table name of AprilTable with a cell reference that contains it (in A3), this gives the ref error.
What am I doing wrong here?

Many thanks.


1719998166029.png
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Welcome to the forum. :)

You'd need to use INDIRECT(A3) but note that that will make your formula volatile so it will recalculate whenever your workbook does for any reason; that may or may not be an issue depending on the complexity of your workbook, and how many such formulas you have.
 
Upvote 0
Solution
Welcome to the forum. :)

You'd need to use INDIRECT(A3) but note that that will make your formula volatile so it will recalculate whenever your workbook does for any reason; that may or may not be an issue depending on the complexity of your workbook, and how many such formulas you have.
Many thanks.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,249
Members
452,623
Latest member
Techenthusiast

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