View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default Ignore blank cells

=SUMPRODUCT(--($D$5:$D$31<""),--($I$5:$I$31<""),--((D$5:D$31-I$5:I$31)<60))

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Angyl" wrote in message
...
How do I get this formula:
=SUMPRODUCT(--(D$5:D$31-I$5:I$31<60))

To ignore empty cells? It's currently tallying all the empty ones
contained
in the ranges.