Adding cells with similar descriptions

M

Matt

I want a cell from one sheet to return the sum of various cells in another
sheet.
For Example:
Sheet 1:
Description Quantity
Cat 7
Dog 3
Bird 9

Sheet 2:
Description Quantity
Cat 1
Dog 2
Cat 2
Bird 4
Dog 1
Cat 3
Cat 1
Bird 5

I want all the cells from sheet 2 with similar descriptions be added and the
value entered in a single cell on sheet 1.
 
P

pdberger

Matt --
If these two examples are in the upper left-hand corner of the respective
spreadsheets, then the formula you want looks like:

=SUMIF(Sheet2!A2:A10,A2,Sheet2!B2:B10)

HTH.

Peter
 

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


Top