View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default How do I get Null as a result of an if?

=counta() will count anything except cells that are empty. It will include any
formula in the count--no matter what it evaluates to.

Depending on what you're looking for, maybe you could return "", then use a
formula like:
=countif(a:a,"<")



wrote:

Let me rephrase then.

I want something that counta() won't pick up.

Biff wrote:
wrote..
=if(false, "yup",) will record 0
=if(false, "yup","") will record the empty string
=if(false, "yup") will record "False"

What I want is null, nothing, nada. rien de tout, a virgin cell.


Well, you ain't gonna get it!

There is no "null". The closest you can get is the empty string

Biff


--

Dave Peterson