Count Column Difference

R

Raj

Is there a function which could give me difference

e.g. if I am in cell G5, is there a function which would return me the
count it is away from say D5 such as

function (G5:D5) = 3 (the column G is 3 cell away from column D)

alternatively if there is a function which could return the current
column (in number G5->7, D5->4) !!

Thanks for your help!

Kind regards,
Raj
 
G

Guest

Column difference:
=COLUMN(G5)-COLUMN(D5)

Current Column Number:
=COLUMN(G5)
=COLUMN(D5)

*** Please do rate ***
 
G

Guest

alternatively if there is a function which could return the current
In any cell:
=COLUMN()
will return the col # of that cell

---
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top