View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_7_] Bob Phillips[_7_] is offline
external usenet poster
 
Posts: 1,120
Default sum if statement

=SUMPRODUCT(--(NOT(ISBLANK(A1:A20))),--(A1:A2020),A1:A20)

or

=SUMPRODUCT(--(A1:A20<""),--(A1:A2020),A1:A20)

--
HTH

Bob Phillips

"Buckeye" wrote in message
...
How does excel recognize a blank cell. I'm using the sumif statement and
want to sum if a cell is blank?

Help!