View Single Post
  #12   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default Sumproduct - Condition based on lookup of a Lookup


....or given that you need CSE anyway, you might as well dispense with
SUMPRODUCT altogether and just use

=SUM((A1:A7000=P24)*(B1:B7000=P25)*(C1:C7000=P26)* ISNUMBER(MATCH(D1:D7000,IF(Z1:Z10=P27,AA1:AA10,"")
,0))*E1:E7000)

confirmed with CTRL+SHIFT+ENTER


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=546461