View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default Sumproduct to ignore text and ""

Try...

=SUM(IF(A1:A8="a",B1:H8))

....confirmed with CONROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
"Ricky Pang" wrote:

Hello again,
How would you expand on this formula (which excludes text and "") so that
multiple data columns ranging from B1:H8 would be included in the result
once the criteria of ="a" has been established? Presently, only the data in
B1:B8 works. I need to expand the range.

=sumproduct(--(A1:A8="a"),B1:B8)

Thanks in advance,
Ricky