Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2007

Tip: Looking for answers? Try searching our database.

Combining equal rows

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ceab - 26 Sep 2007 12:26 GMT
I have a fairly large file with about 10000 rows.
I need to comine the rows with equal product numbers and add the amounts of
these so that any product number only occurs once.
The product description can be left out if it makes it easier.
Are there any programs that can do this, or a script?

What I have now:
Product nr.   Product descr.  Amount

12345          Gasket 45        15
12345          Gasket 45        20
12111          Bearring 1         5
12333          Bearring 2         3
12311          Bearring 1         4

The result I want:
Product nr.   Product descr.  Amount

12345          Gasket 45        35
12111          Bearring 1         9
12333          Bearring 2         3

Any help much appreciated!
OssieMac - 26 Sep 2007 13:02 GMT
I suggest that you look into using a pivot table. Some people find them a
little overwhelming at the start but they are certainly worth the effort to
master them.

Regards,

OssieMac

> I have a fairly large file with about 10000 rows.
> I need to comine the rows with equal product numbers and add the amounts of
[quoted text clipped - 19 lines]
>
> Any help much appreciated!
Dave Peterson - 26 Sep 2007 13:10 GMT
You could sort your data by number, then description, then use data|subtotal and
subtotal (twice) by the description and number.  Then use the outlining symbols
to hide the details.

Or you could use data|pivottable to get a nice summary report of your data.

Select your range A1:Cxxx
Data|pivottable
follow the wizard until you get to a step that has a button named Layout.
Click that Layout button

Drag the number to the row field
drag the description to the row field
drag the amount to the data field (it should say Sum of)

And finish up.

> I have a fairly large file with about 10000 rows.
> I need to comine the rows with equal product numbers and add the amounts of
[quoted text clipped - 19 lines]
>
> Any help much appreciated!

Signature

Dave Peterson


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.