use column function

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Use of column() function

Use of column() function

resolvedResolved · Medium Priority · Version 2007

Edward has attended:
Excel Advanced course

Use of column() function

On the advanced course we used the column() function. As I understood it, if you used the function and picked a cell it would return the number 1 and then it was copied to teh adjacent cell then it would return a 2. however, on my own desktop it only returns the actual number of the column i.e. if a cell in column G is selected it will return 7. Can you advise which is correct?

RE: use of column() function

Edward,

your right, that is how the column() function is used. If you have a formula where you need to specify a number value, for example the formula looks in a certain column, say column H to pick up the invoice figure for that day, and you know you need to copy that formula to the right so it can pick up the invoice totals from I, J, K, L.
If you typed the column number in e.g. 8 as column H is the eighth column from the left, then after copying to the right, you'd have to go into each formula copied, and change the column number manually to 9, 10, 11 etc...
So if we replace that number 8 with the function Column(H3), excel see's it as a number 8 (remember the column function ignores the row number part! Its only interested in the H part.
Now, as this function and its cell ref H3 is RELATIVE, as we move the original formula across the sheet, the H3 in the Column function will change to I3, J3, K3 etc.. which in turn references the numbers 9, 10, 11 etc..

Sorry its a long explaination, if you need more help let me know.

Thu 16 Sep 2010: Automatically marked as resolved.

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Working with 3D formulas

You can only use fill-down if you remove $ for Absolute References.

View all Excel hints and tips


Server loaded in 0.08 secs.