Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Match 2 cells and total another

I have a worksheet with 12 columns.
I have
part # in Column F,
Part Description in Column D
Quantity in Column B.
I would like to find all of the part # that match the part description
and total the
quantity. I may have the same parts and description in several rows.
I
would also like to combine the rows so I only have 1 row for each
part
with only the total qty,

B D F
QTY Part Description Part #
6 SHCS 1/4-20 x 4
5 FHCS 1/2-13 x
3.5
4 SHCS 3/8-16 x
2.25
3 SHCS 1/4-20 x 4
6 SHCS 1/4-20 x
2
4 FHCS 1/2-13 x
3.5
2 SHCS 3/8-16 x
2.25
3 SHCS 1/4-20 x 4

The results should be on a seperate sheet like the following
With all of the columns in between.
B D F
QTY Part Description Part #
18 SHCS 1/4-20 x 4
9 FHCS 1/2-13 x
3.5
6 SHCS 3/8-16 x
2.25

Can anyone point me in the right direction to do this?

Thanks
RP


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Match 2 cells and total another

why not try pivot table option
--
hemu


"rpick60" wrote:

I have a worksheet with 12 columns.
I have
part # in Column F,
Part Description in Column D
Quantity in Column B.
I would like to find all of the part # that match the part description
and total the
quantity. I may have the same parts and description in several rows.
I
would also like to combine the rows so I only have 1 row for each
part
with only the total qty,

B D F
QTY Part Description Part #
6 SHCS 1/4-20 x 4
5 FHCS 1/2-13 x
3.5
4 SHCS 3/8-16 x
2.25
3 SHCS 1/4-20 x 4
6 SHCS 1/4-20 x
2
4 FHCS 1/2-13 x
3.5
2 SHCS 3/8-16 x
2.25
3 SHCS 1/4-20 x 4

The results should be on a seperate sheet like the following
With all of the columns in between.
B D F
QTY Part Description Part #
18 SHCS 1/4-20 x 4
9 FHCS 1/2-13 x
3.5
6 SHCS 3/8-16 x
2.25

Can anyone point me in the right direction to do this?

Thanks
RP



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default Match 2 cells and total another

Try a sumif,
=SUMIF(K2:K9,K12,I2:I9), this is not set up for the columns you want, but
you should be able to adapt it.

David

"rpick60" wrote:

I have a worksheet with 12 columns.
I have
part # in Column F,
Part Description in Column D
Quantity in Column B.
I would like to find all of the part # that match the part description
and total the
quantity. I may have the same parts and description in several rows.
I
would also like to combine the rows so I only have 1 row for each
part
with only the total qty,

B D F
QTY Part Description Part #
6 SHCS 1/4-20 x 4
5 FHCS 1/2-13 x
3.5
4 SHCS 3/8-16 x
2.25
3 SHCS 1/4-20 x 4
6 SHCS 1/4-20 x
2
4 FHCS 1/2-13 x
3.5
2 SHCS 3/8-16 x
2.25
3 SHCS 1/4-20 x 4

The results should be on a seperate sheet like the following
With all of the columns in between.
B D F
QTY Part Description Part #
18 SHCS 1/4-20 x 4
9 FHCS 1/2-13 x
3.5
6 SHCS 3/8-16 x
2.25

Can anyone point me in the right direction to do this?

Thanks
RP



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
match total with fees Bklynhyc Excel Worksheet Functions 2 October 15th 09 05:09 PM
Match total with excel 2007 Bklynhyc Excel Discussion (Misc queries) 0 September 28th 09 10:05 PM
match name and show total result Steve Excel Discussion (Misc queries) 2 April 14th 09 04:56 PM
Match 2 cells and total another rpick60 Excel Programming 0 February 16th 08 01:39 AM
Grand total time between two total cells Gwynn Excel Discussion (Misc queries) 4 May 9th 06 09:00 PM


All times are GMT +1. The time now is 03:56 PM.

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"