Extending formulas perpendicularly

trijamms

New Member
Joined
Jan 7, 2015
Messages
8
Hi,

I been running searches for this with no luck so hopefully somebody can help. I'm trying to extend a formula down but across columns. Let me give you the example.

I am in cell BL2 and want it to equal cell B10. No problem, I type "=B10". Now I want to extend the formula, but instead of the cell number to increase, I want the cell letter to increase, because my data is across columns. Therefore, when I extend the formula, I want the next one to be "=C10", not "=B11".

Like so:

=B10
=C10
=D10
...

Is there a way I can do this? I appreciate any help. Thanks!

Hubert
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Welcome to the board..
But do you want to copy your formula(=B10) down( across rows) or right/left( across colmuns)?
 
Upvote 0
Thanks Jeff. It worked! Can you explain how though. I'm gonna need to use this on a regular basis now. Thanks!
 
Upvote 0
The inner part of the formula simply returns the row number --->> ROW(A66))

Next --->> CHAR(ROW(A66)) returns the character for a 66 --- >> B

Now add it altogether with =INDIRECT(CHAR(ROW(A66)) & 10) and you get a named cell reference --- >> Indirect("B10")

Place your cursor on the cell with the formula, then...

Formulas >> Formula Auditing >> Evaluate Formula

Now select the Evaluate button and you can step thru the building of the formula
 
Upvote 0
The inner part of the formula simply returns the row number --->> ROW(A66))

Next --->> CHAR(ROW(A66)) returns the character for a 66 --- >> B

Now add it altogether with =INDIRECT(CHAR(ROW(A66)) & 10) and you get a named cell reference --- >> Indirect("B10")

Place your cursor on the cell with the formula, then...

Formulas >> Formula Auditing >> Evaluate Formula

Now select the Evaluate button and you can step thru the building of the formula


OK. I just realized that it only works up to a point. Once it reaches char(91), it stops following the Excel alphabet (X, Y, Z, AA, AB...), so beyond that it doesn't work. Any suggestions?

Hubert
 
Upvote 0
Thanks guys. The last two suggestions from Jonmo and njimack both work flawlessly. I figured out how the INDIRECT one works. I'll have to look more into the INDEX method though, since I am unfamiliar with it. I really appreciate everyone that took the time to help me out. Hopefully, in some future version of Excel, Microsoft will make this process a bit easier!

Hubert
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,875
Members
452,363
Latest member
merico17

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