View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John[_22_] John[_22_] is offline
external usenet poster
 
Posts: 694
Default Sumproduct not works

HI
Try this =INDEX(B1:B5,MATCH(C1,A1:A5,0))
HTH
John
"kashish" wrote in message
...
In below formula in place D1 it should come "B" but its not work why?

A B C D

1 A 2 =SUMPRODUCT(--($A$1:$A$5=C1),--$B$1:$B$5)
2 B
3 C
4 D
5 E