The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
My problem is:
How do you work out the average of a range of cells, ten (A1:A10) with only certain cells with numbers in them.
It divides by ten where as I would only like to divide the actual cells with the numbers in.
E.g. Ten cells with 5,6,1,2,2 in five cells comes to an average of 3.2, but because it divides by 10, the average is incorrect.
Any help is well appreciated.
Cheers.
So when I want to make an average of these ten cells (A1:A10) it takes every cell, including the blank cells. This was my problem.
After all your help, I finally worked it out in the late hours of yesterday. Cheers for all your help.
The formula I had to use was:
SUM(M39:M48)/COUNTIF(M39:M48,">0")
Cheers anyways guys.
If they're blank, AVERAGE() should work, I've just checked and it works for me..
> Whooo Style! wrote: AVERAGE(A1:A10) will do it..
Thats right, as I'm sure
> Excel will ignore any cells which don't have a value in them. Even though it
> looks in 10 cells, if 5 are blank, it will skip them and divde all the added
> together values how many there actaully were.
Cheers guys for all your comments, but still, none work.
If there are empty cells it still divides by 10. This is my problem, I cant dividre by the number of cells being used (i.e. 5) as the number can change if other cells have numbers put in them. I need a formula or cell format that averages the number of cells that are actually in use out of the ten.
Cheers guys anyway.
If anyone has anymore guesses, please post them.
Cheers.
Thats right, as I'm sure Excel will ignore any cells which don't have a value in them. Even though it looks in 10 cells, if 5 are blank, it will skip them and divde all the added together values how many there actaully were.
And I've checked my answer, it works..