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/