View Single Post
  #43   Report Post  
Posted to microsoft.public.excel.worksheet.functions
wjay29 wjay29 is offline
external usenet poster
 
Posts: 1
Default How can I lookup when match has more than one value?

Try the SUMIF function. It worked for me.


"Ray" wrote:

Hi,

I have a similar question on return sum of multiple vlookup values. Please
see the following array.

Item Date Amount
a 1-Sep 10
b 1-Sep 15
c 1-Sep 20
a 2-Sep 16
c 2-Sep 21
d 2-Sep 30
a 3-Sep 18
b 3-Sep 25

I want the function return the sum of values which 'Item' = 'a'. I used
=sum(vlookup(a, a2:c9, 3, false)) and it only returned the first value 10. I
expected to get (10+16+18) = 44. How can I achieve this result? Thanks.