Thread: Sum a vlookup
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Marcelo Marcelo is offline
external usenet poster
 
Posts: 1,047
Default Sum a vlookup

hi Chad,

=sumproduct(--(a2:a100="Promo1")*(c2:c100))

hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Chad" escreveu:

I have searched around for an answer but have not found something that
specifially deals with my issue, so I apologize in advance if this was
already answered.

a b c d e
1 200701 200702 200703 200704
2 Promo1 1 2 3 4
3 Promo2 5 6 7 8
4 Promo3 9 10 11 12
5 Promo1 13 14 15 16
6 Promo1 17 18 19 20

I would like a function that sums the data associated with Promo1 during the
week of 200702.

Whatis the best way to do this?

Thanks in advance,
Chad