View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default The sum of multiple returns on a vlookup

Use SUMIF...

Assume D2:F2 = Jan, Feb, Mar (as TEXT entries)

Enter this formula in D3 and copty across to F3:

=SUMIF($A2:$A7,D2,$B2:$B7)

--
Biff
Microsoft Excel MVP


"Alibo" wrote in message
...
I am trying to get the sum of multiple returns on a VLOOKUP. As an example:

Jan 24
Jan 57
Jan 239
Feb 72
Mar 16
Mar 44

I want to get a result that looks like:

Jan Feb Mar
320 72 60

I have tried:

=SUMPRODUCT(VLOOKUP((Jan,A2:B7,2,FALSE))

But unfortunatley that just returns 24.

I hope someone can help.

Alibo