Posted to microsoft.public.excel.worksheet.functions
|
|
SUMPRODUCT, MAX, Few Criteria
many thanks
will try now
"NBVC" wrote:
Try:
=INDEX(C1:C5000,MATCH(1,(A1:A5000=X1)*(B1:B5000=MA X(IF(A1:A5000=X1,B1:B5000))),0))
confirmed with CTRL+SHIFT+ENTER
or
=Lookup(2,1/((A1:A5000=X1)*(B1:B5000=Z1)),C1:C5000)
where Z1 contains the Sumproduct result from your post.
--
NBVC
Where there is a will there are many ways.
'The Code Cage' (http;//www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=122301
|