View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Andrew[_29_] Andrew[_29_] is offline
external usenet poster
 
Posts: 1
Default Kind-of extended sumif

Here are a couple of alternatives for the AND condition.

=SUM(IF(A1:A999=13,IF(A1:A999=17,A1:A999)))

=SUM((A1:A999=13)*(A1:A999=17)*A1:A999)

Don't forget to push Shift, Control & Enter simultaneously instead of
just Enter.


---
Message posted from http://www.ExcelForum.com/