Excel formule : nb.si.ens et critère "différent de vide"

Solved
lelion4 -  
 Mick -
Bonjour,

Je suis sous excel 2007, et cela fait maintenant quelques temps que je cherche à introduire dans ma formule nb.si.ens un critère pour éliminer les cellules vides. J'ai essayé <>"", mais il m'indique une erreur.
Je sais que les guillemets dans certaines formules sont inversées, mais "<>""" ou "<>"" " ne fonctionne pas non plus. si je laisse juste "<>", je n'obtiens pas les bons résultats.
Si quelqu'un peut m'aider à définir ce critère, cela m'aiderai beaucoup.

Merci d'avance.

5 answers

Vaucluse Posted messages 27336 Registration date   Status Contributor Last intervention   6 453
 
Hello
in principle:
if the result of the formulas is not numeric and only in this case:
  • COUNTIF(range,"<>")
    counts all cells that have a formula, even if they return ""
  • COUNTIF(range,"<>")
    counts only the cells with a formula that return a text value


If the result of the formulas is numeric it is better to use a result like "0" instead of 0 and in this case
  • COUNTIF(range,"<>")
    counts only the "0" values and the texts


26
Jacko
 
Big thanks for your help!!!
0
Mao
 
After 30 minutes of searching by myself, it was solved in 2 seconds with your suggestion! Great!
0
Mick
 
3 years after this advice is still useful and has saved us all a lot of time, thank you Vaucluse.
0