Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 683
Default Using the lookup Function for similar items to add together

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Using the lookup Function for similar items to add together

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

"Brian" wrote in message
...
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lookup function and compare Student Excel Discussion (Misc queries) 8 April 25th 06 03:11 PM
lookup function cindy Excel Worksheet Functions 3 April 19th 06 07:28 PM
LOOKUP function haroldhagar Excel Worksheet Functions 2 August 6th 05 07:38 PM
How do I use 3 cells to create the string for a lookup function? Bencomo Excel Worksheet Functions 1 May 15th 05 07:17 AM
Lookup function w/Text and Year Josh O. Excel Worksheet Functions 1 February 12th 05 11:27 PM


All times are GMT +1. The time now is 10:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"