How to express a column

Red over White

Board Regular
Joined
Jul 16, 2011
Messages
132
Office Version
  1. 365
Platform
  1. MacOS
I am trying to isolate the letter 'w' in the following formula - =INDIRECT("Input!w"&$A$48) - and make it variable. The formula is being used in a different worksheet and column, in this instance 'n'. The idea is that if I have to put another column on either worksheet before the respective letter, then the formulas will automatically update.

Any help would be appreciated - thanks
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Formulae like this are often easier to write in R1C1 format, e.g.

= INDIRECT("Inputs!R"&A1&"C"&B1")

A1 = row number
B1 = column number

Does that help?

If that doesn't answer it then can you perhaps give a more detailed example of what you are trying to achieve? It may be possible to do what you need by an easier route.
 
Last edited:
Upvote 0
Thanks for your input, I have changed my formula to =INDIRECT("Input!"&Column!A23&$A$48) - where A23 is a list of letters with 'w' being in this cell. This makes the job of converting all the other formulae a lot easier. (I have created a similar column for the numbers). Both of these changes allow me to drag an updated formula, with the $s in the right place, to create a new formula irrespective of the direction I go in.

Thanks again
 
Upvote 0

Forum statistics

Threads
1,224,574
Messages
6,179,626
Members
452,933
Latest member
patv

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