How to select a whole column or row in a formula in excel?

RedHood148 picture RedHood148 · Jun 1, 2013 · Viewed 93.2k times · Source

I want to select a whole column for a formula in excel. I know I can do this, for example:

=AVERAGE(B4:B54)

which would give me the average of the cells from B4 to B54 but I want to reference the whole B column. How can I do this?

Answer

Holf picture Holf · Jun 1, 2013

To reference an entire column in Excel, use this syntax:

=AVERAGE(B:B)