Forum Discussion
AVERAGE and GET RID Off ZEROs
Hi,
In D32 of "COMPOSITION", you can use =AVERAGEIF(D18:D29,">0",D18:D29)
In "RESULTS" sheet, if you don't like zeros, you can change the number format to "Accounting", it will display zero as "-":
- BoulakgnobotDec 09, 2023Brass Contributor
rachelTHANKS for your help in the first point !
Question: WHAT else can I do if I WANT to keep my cutom number format (00,00) WHILE getting rid off zeros ???
- rachelDec 09, 2023Steel Contributor
I updated your spread sheet to remove zeros and errors. (spreadsheet attached).
Basically use SUMPRODUCT instead of SUM to handle blank cells. (though I am not even sure this is the most elegant way to handle this).
- BoulakgnobotDec 09, 2023Brass Contributor
rachel Thanks for your help !
Now I have another problem: How can I get SUM(G20:H20) = 0 if G20 and H20 are not empty ???
It's to say the student does those TESTS but gets ZEROsLike in picture below