View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Shane Devenshire[_2_] Shane Devenshire[_2_] is offline
external usenet poster
 
Posts: 3,346
Default Cell is not blank

Hi,

Another way to test is

=IF(ISBLANK(A1),true,false)

another way

=IF(COUNTBLANK(A1),"blank","notblank")

technically you could also use

=IF(COUNTA(A1),"notblank","blank")

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"David P." wrote:

How do you do that in an if statement? If cell is not blank. Thank you.
--
David P.