View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Toppers Toppers is offline
external usenet poster
 
Posts: 4,339
Default Is there a way to get rid of "######"

Try:

=SUMPRODUCT(--(ISNUMBER(A1:A58/24)),ISNUMBER((A1:A5-8/24))*(SUM(A1:A5)*24<40))

"Lee" wrote:

A6 contains this formula:
=SUMPRODUCT(--(A1:A58/24),A1:A5-8/24)*(SUM(A1:A5)*24<40)

This formula is doing what I want however if I enter a word into one of the
data cells instead of a time, the cell with the formula says ######. Is there
a way to have the formula only recognize a time entry and ignore a word entry
and still do the calculations I need.
--
Lee D.