Thread: sumproduct
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default sumproduct

Try this:


=SUMPRODUCT(--($A$2:$A$10<E2),--($B$2:$B$10+$C$2:$C$10=5))

"erik550" wrote:


Using sumproduct I want to do something like this

SUMPRODUCT((a2:a10<e2)*(b2:b10+c2:c10=5))

where i add cells in different columns (but same row) and condition on
their sum. Can it be done?

Thanks
Erik


--
erik550
------------------------------------------------------------------------
erik550's Profile: http://www.excelforum.com/member.php...o&userid=32086
View this thread: http://www.excelforum.com/showthread...hreadid=519817