Adding the sales values of products

P

PeteB

I want to be able to total the value of individual sales in a row by product.
For instance in my row I have the sales product "fish" and a sales value at
the end of the row. Now in my sales sheet I may sell "fish" again to another
customer, which will be in another row. What I want it to do is add all my
fish sales values and pop it in a total value for that particular product. I
have other products all chosen from a pick list of around 7 and again I want
to calculate their total sales.
I think I've explained what I need? Can anyone Help
 
P

pinmaster

Hi,

here's a couple of ways:

single column of values
=SUMIF(A1:A10,"fish",B1:B10)

multiple column of values
=SUMPRODUCT((A1:A10="fish")*B1:D10)

or you can put the product name in a cell....say E1

=SUMIF(A1:A10,E1,B1:B10)

=SUMPRODUCT((A1:A10=E1)*B1:D10)

Hope this helps!
Jean-Guy
 

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

Top