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

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
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,539
Messages
6,120,100
Members
448,944
Latest member
SarahSomethingExcel100

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