Dynamically Change Sheet Reference in Formulas

masouder

Board Regular
Joined
Jul 5, 2013
Messages
118
Office Version
  1. 2013
Platform
  1. Windows
Is there a way to create formulas that reference cells on other sheets that allow the user to change the sheet that is being referenced. For example, consider the formula below which adds values from a sheet titled WEST:
Excel Formula:
=SUM('WEST'!A1:A5)

I'd like to modify the formula so that the reference to sheet WEST can be changed from a user input. For example, assume identical sheets titled WEST, EAST, NORTH and SOUTH. Assume further that these sheet names are provided in a drop-down box. Is there a way to modify the above formula so that if the user selects EAST from the drop-down then the above formula totals values from the EAST sheet instead of WEST?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
You could do that with this, however this simple version has the target cell on each other sheet hardcoded and dropdown list in C1.

Excel Formula:
=INDIRECT(C1&"!A1")
 
Upvote 0
Solution

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,021
Latest member
Justyna P

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