Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a list of data and I need to write a macro that would find rows which
contained duplicate information (except for the cells containing the different quantities), combine them into one row entry with the total quantity for all the duplicate rows and keep only one record. The list does contain blank rows and can be quite lengthy with numerous variations of information which is usually never the same from list to list. What I have is: A B1 6 53.25 37.25 B B1 8 34.00 45.75 A B1p 2 53.25 37.25 C GL1 20 34.00 45.75 A B1 14 53.25 37.25 A B1p 7 53.25 37.25 A GL1 10 34.00 45.75 B B1 100 34 45.75 A B1P 18 53.25 37.25 C GL1 5 34.00 45.75 B MP1 10 12.5 18.00 What I would like to have is: A B1 20 53.25 37.25 A B1p 27 53.25 37.25 A GL1 10 34.00 45.75 B B1 108 34.00 45.75 B MP1 10 12.5 18.00 C GL1 25 34.00 45.75 How do I accomplish this with a macro? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to Autonumber Rows but Retain Same Number for Duplicate Entrie | Excel Discussion (Misc queries) | |||
Formula to find average of field for all rows that contain another field | Excel Programming | |||
Find duplicate rows and add together | Excel Discussion (Misc queries) | |||
In column A I have duplicate records. How do I tag an unique reco. | Excel Discussion (Misc queries) | |||
How can I find Duplicate Cells or Rows | Excel Programming |