View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Sloth Sloth is offline
external usenet poster
 
Posts: 252
Default In Excel, show 0.00 for "zero" entries, but "-" if no entries

=IF(COUNT(A1:A6),SUM(A1:A6),"-")

replace A1:A6 with your range.

"PLS Auditor" wrote:

I need to distinguish between no entry in a cell, and a zero (0.00) entry,
and whn I sum the row, know if there were any entries (even 0.00) or no
entries. I would like to show 0.00 if there entries (or the actual sum) and
a dash ("-") if there were no entries.