Average a Column in Numbers

In a Numbers spreadsheet, up-to-date version, how do I average a column of cells, with the average appearing in a designated cell at the bottom of that column, but exclude cells in that column with zeroes? BTW, the column is a calculated value, referencing other column(s). Thank you, Experts!

iMac

Posted on Jan 1, 2024 12:13 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 1, 2024 3:15 PM

If the column is B and the numbers in the column are actual numbers (not numeric text),

  1. Make the last row a footer row.
  2. Formula in the footer cell will be =AVERAGEIF(B,"<>0",B)


If by "exclude cells with zeros" you meant "exclude cells without numbers", you can use the AVERAGE function, which ignores text but will include zeros.

=AVERAGE(B)


One other thing: "<>0" means "not equal to exactly zero". If any of your formulas result in a very small number and you have formatted the cell to too few decimal places to see the entire number (so it looks like it is zero in the cell), it will be included in the average.

3 replies
Question marked as Top-ranking reply

Jan 1, 2024 3:15 PM in response to Παύλο

If the column is B and the numbers in the column are actual numbers (not numeric text),

  1. Make the last row a footer row.
  2. Formula in the footer cell will be =AVERAGEIF(B,"<>0",B)


If by "exclude cells with zeros" you meant "exclude cells without numbers", you can use the AVERAGE function, which ignores text but will include zeros.

=AVERAGE(B)


One other thing: "<>0" means "not equal to exactly zero". If any of your formulas result in a very small number and you have formatted the cell to too few decimal places to see the entire number (so it looks like it is zero in the cell), it will be included in the average.

Jan 3, 2024 6:03 AM in response to Παύλο

Paul,


You wrote: "The issue was that I hadn't set a footer row."


Header and Footer Rows are magic and indispensable in my book. Whenever I start a project I make sure I have a Footer Row. The templates all seem to have Headers, but not Footers, so I make it a habit to add them before I begin. I always find something that needs to be in a Footer cell.


Good luck with your project.


Jerry

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Average a Column in Numbers

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.