Using the lookup Function for similar items to add together

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

Guest

Hello People,

I need to find in column A all the items with a 3 in it and add all items in
column B together.
Example:

A B C H I
1 3 House Results for 3 = 7
3 4 Car
3 2 Bike
2 1 Pool
3 1 Skateboard
4 7 Park

What is the best type of lookup and what would the formula look like.

Thank you
 
Hi!

Try this:

=SUMIF(A1:A6,3,B1:B6)

Or, use a cell to hold the criteria:

D1 = 3

=SUMIF(A1:A6,D1,B1:B6)

Biff
 

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

Back
Top