View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Cutter
 
Posts: n/a
Default conditional reference


You can use SUMPRODUCT()

Try this:

=SUMPRODUCT(--(A1:A7="a"),B1:B7) which gives 44 using your example


--
Cutter
------------------------------------------------------------------------
Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848
View this thread: http://www.excelforum.com/showthread...hreadid=494109