MIN formula that doesn't work in Excel
Solvedcatalinadu79 Posted messages 49 Status Member -
Hello,
I created a grade table in Excel (I'm on a Mac Retina) and I want to indicate in cell B60 the minimum grade from the range (L10:L51)
I'm using =MIN(L10:L51) as the formula, but my cell remains empty
I don't understand why, while the maximum function works fine! ! ! I also tried adding a condition to ignore the 0s, but that doesn't work either (and a 0 score is exceptional but not impossible...)
I have another problem that I solved by cheating a bit; I want to calculate the number of candidates who scored less than 5. Excel includes the empty cells. So I asked for the scores between 0.1 and 5
=COUNTIFS($L$10:$L$51; ">=0.1"; $L$10:$L$51; "<5")
If any of you have an idea to solve at least my first problem
https://www.cjoint.com/doc/23_05/MEFjpeMYKpA_Tableaux-calcul-moyennes.xlsx
Thank you for your help.
I wish you a nice day.
Best regards
Catalina
4 answers
-
Hello,
It is indeed zero that is taken into account, see: =MIN(IF(L10:L51>0;L10:L51))
-
Hello,
To complete the response from Jee pee (greetings), enter this formula using the key combination Ctrl+Shift+Enter otherwise you will get an error #VALUE!
{=MIN(IF($L$10:$L$51>0;$L$10:$L$51))}
Best regards
-
-
Hello,
We can have a good (or bad) reason to differentiate between empty cells and those that are zero, the problem becoming more complicated in that an "empty" cell can indeed contain a formula: it is sufficient in the case that concerns us that the formulas have been copied across all rows but that a particular row does not correspond to (or not yet to) the grades of a student (they are not null but empty and should not be counted in this case in the calculation of the minimum grade although it is practically impossible for a student to have received zero in all their tests).
But this does not tell us, in a more general case, how to differentiate these situations in Excel. -
-
-
Thank you all for your help, I must admit that I am not very familiar with how Excel works
Best regards