Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default find values and add them

I have looked at past postings and found a couple of them and the formula's
did not work. Here is what I want to do:

In column A I have part numbers and column B I have the weights of each time
we ordered them (weights varied due to volume ordered) I want to make a
formula that will search Column A for a part number and go to Column B and
record that weight. This spreadsheet has about 20 different part numbers and
we have ordered them constantly over the last 3 years. I need to add up the
total weights from column B for each part number to see which part numbers
have been ordered the most.


A B

EX1234 1000
EX1235 950
EX1236 1250
EX1234 1500
EX1235 1200

For example I would like the formula to return 2500 LBS for item EX1234.
The speadsheet I have over 3 years has thousands of numbers in column A and
they are basically about 15 to 20 different numbers.

Thanks,

Rick
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,533
Default find values and add them

Hi Rick

If your data are in sheet1, then make a list of the item numbers in sheet2
column A. In column B use the SumIf formula. With your example data the
formula will look like this: =SUMIF(Sheet1!A1:A5;A1;Sheet1!B1:B5)

Regards,

Per

"RickB" skrev i en meddelelse
...
I have looked at past postings and found a couple of them and the formula's
did not work. Here is what I want to do:

In column A I have part numbers and column B I have the weights of each
time
we ordered them (weights varied due to volume ordered) I want to make a
formula that will search Column A for a part number and go to Column B and
record that weight. This spreadsheet has about 20 different part numbers
and
we have ordered them constantly over the last 3 years. I need to add up
the
total weights from column B for each part number to see which part numbers
have been ordered the most.


A B

EX1234 1000
EX1235 950
EX1236 1250
EX1234 1500
EX1235 1200

For example I would like the formula to return 2500 LBS for item EX1234.
The speadsheet I have over 3 years has thousands of numbers in column A
and
they are basically about 15 to 20 different numbers.

Thanks,

Rick



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default find values and add them

Quickest way is a pivot table. put your cursor in the middle of your source
data and select Data - Pivot Table... Follow the wizard. Put your part
numbers in the left column and the weights in the data area. That is all it
takes...
--
HTH...

Jim Thomlinson


"RickB" wrote:

I have looked at past postings and found a couple of them and the formula's
did not work. Here is what I want to do:

In column A I have part numbers and column B I have the weights of each time
we ordered them (weights varied due to volume ordered) I want to make a
formula that will search Column A for a part number and go to Column B and
record that weight. This spreadsheet has about 20 different part numbers and
we have ordered them constantly over the last 3 years. I need to add up the
total weights from column B for each part number to see which part numbers
have been ordered the most.


A B

EX1234 1000
EX1235 950
EX1236 1250
EX1234 1500
EX1235 1200

For example I would like the formula to return 2500 LBS for item EX1234.
The speadsheet I have over 3 years has thousands of numbers in column A and
they are basically about 15 to 20 different numbers.

Thanks,

Rick

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
find values in multiple cells and paste row values izzyt1972 Excel Discussion (Misc queries) 5 December 26th 07 10:14 PM
find largest values, then return corresponding row values. neurotypical Excel Discussion (Misc queries) 7 May 24th 06 10:27 PM
find row that contains certain values Todd Excel Programming 0 June 24th 04 04:54 PM
Search/Filter to find values in another range based on two cell values Andy Excel Programming 2 April 29th 04 04:08 PM
Copy values from file A, Find/Replace these values in File B shockley Excel Programming 1 September 22nd 03 12:32 AM


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

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

About Us

"It's about Microsoft Excel"