COLUMNS question - current cell relative to A1

colbymack

Active Member
Joined
Jul 14, 2005
Messages
333
I am trying to find out a way to have Excel tell me either A) the current cell reference for the cell on which the selection is, or b) the number of columns relative to A1 for the current cell. I am somewhat familiar with the columns command, but do not know the formula to get the current address.

i.e. if I am in C2, I would like to have a formula in C2 that results in the value of 3, which represents the relative column number of column C to column A.

Any help would be appreciated.

Thanks in advance,
Colbymack
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Take a look at the ROW() and COLUMN() functions.

They will give you the numerical value of the row/column you are in.
 
Upvote 0
jmiskey,
That was perfect. I thought I tried Column before and that it was always returning 1. Apparently some operator error, as it now appears to be doing exactly as I want it to.

Thanks much,
Colbymack
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,370
Members
449,080
Latest member
Armadillos

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