Formula with absolute cell reference / cell reference increase

MrHydrant1857

New Member
Joined
Mar 29, 2019
Messages
35
Hi all,
I am having an issue with an idea I am trying to play around with at the moment. The overall idea to my workbook is to have a main sheet with a table and then multiple other sheets with the "same" table. The non main sheets will all have different data in them but the column headers will be the exact same. for example, sheet 2, named "Color Sheet 1", will have a column header of Color and the first row will say Red. then sheet 3, named "Color Sheet 2", will have a column header of Color and the first row will say Blue. I have a button on my main sheet that opens up a user form which has a dropdown list of all my sheet names. What I want to happen is when i select a certain sheet in the user form is to have that selection be put in a hidden cell, then use that to be the criteria for the table. So for example if i selected "Color Sheet 1" then the table will show the color Red. The issue i am running into is that my formula on my main table is not increasing one of the cell references. the formula i started with in row one is, =INDIRECT("'"&$Q1&"'!B2") . Q1 is the hidden cell reference that needs to be absolute. The cell reference "B2" i need to have increase to B3,B4,B5 an so on when i drag the formula down the column. the formula remains the exact same when i try to drag down.

So my question is,
Is there any way that I can get that "B2" to increase when dragging the formula down without having to do it manually? I am needing this to possibly go to a few hundred rows.

I appreciate any feedback! if any additional information is needed please let me know!
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Try this:

Excel Formula:
=INDIRECT("'"&$Q1&"'!" & CELL("address",B2))
 
Upvote 0
Solution
Yes, I didn't notice that since it was that way in your original formula. Feel free to mark my post as the solution.
 
Upvote 0

Forum statistics

Threads
1,214,584
Messages
6,120,385
Members
448,956
Latest member
JPav

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