Calling out a cell in a formula based on value of another cell

BKGLTS

Board Regular
Joined
Aug 27, 2018
Messages
82
Hello All,

Here is example of cells on Sheet2:

A1 = 21

A2 = Sheet1!B21 (where 21 is pulled from A1 on Sheet2)


I tried A2 = Sheet1!B($A$1), but this didn't work.


Thank you!
B
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
dreid1011,

This appears to work, but it won't copy/fill the formula horizontally as needed.
I modified your solution to the following:

=INDIRECT("Schedule!V"&$B$1-2)

My problem now is that when I copy/drag/fill to the right it copies the formula as is, but I need the V to change to W, then X, then Y, etc...

Is there a solution for this?

Thank you!
B
 
Upvote 0
Yes, try this:

=INDIRECT("Schedule!"&SUBSTITUTE(ADDRESS(1,COLUMN()+21,4),"1","")&$B$1-2)
 
Upvote 0

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