combining functions (VLOOKUP and SUM)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an excel report that needs to be fed from an excel
database. The best function I found was vlookup. However,
vlookup only capture the result of one reference (first
or last depending on the last argument). Is there a way
to tell the function vlookup to sum all results of a same
criteria before referencing it back to my report.

Here is an example:
June Monthly Result Database

Products Total Sales Qtty Products
Sales Qtty
a a 2
c a 3
f b 5
c 1
c 4
c 8
d 3
e 1
f 3
 
Hi
use SUMIF for this. e.g.
=SUMIF(A1:A100,"a",C1:C100)
to sum column c if column A conatins an 'a'
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Need VLOOKUP to Work Two Ways 0
Sum Products with VLOOKUP 3
vlookup addition 6
Sum VLOOKUP? 4
VLOOKUP & Array 8
Sum Values from different column 1
Match then Vlookup 2
vlookup or index/match formula?? 2

Back
Top