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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
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,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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