Adding cells with similar descriptions

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

Guest

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.
 
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
 
Back
Top