Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I get an excel sheet from our accounting department that I import into a
database for reporting. The data is straight forward in most cases, but today I noticed that there are a lot of rows that are duplicated except for two columns. Is there a macro or a way to run a script that would look at these rows and compare them and if all the columns in the row match except for these two, combine the the columns (these are number columns so I would like to add the numbers) and create a single row? If so this would really help me get the reports they need. Any help is appreciated. Here is an example of the rows I would like combined 1-Jul-07 FIRSTENERGY 605894 0 Region 21 Fuel DLGQ 32334 FA_17RFA 602381 MPFIR US MULTIPLE PLANTS FIRSTENERGY 17x17STD ENG 6028 0 ENGSVCS Engineering Services US US - - 1-Jul-07 FIRSTENERGY 605894 0 Region 21 Fuel DLGQ 32334 FA_17RFA 602381 MPFIR US MULTIPLE PLANTS FIRSTENERGY 17x17STD ENG 0 61.68 ENGSVCS Engineering Services US US - - 1-Jul-07 FIRSTENERGY 605894 0 Region 21 Fuel DLGQ 32334 FA_17RFA 602381 MPFIR US MULTIPLE PLANTS FIRSTENERGY 17x17STD ENG 0 4210 ENGSVCS Engineering Services US US - - This is what I would like to see 1-Jul-07 FIRSTENERGY 605894 0 Region 21 Fuel DLGQ 32334 FA_17RFA 602381 MPFIR US MULTIPLE PLANTS FIRSTENERGY 17x17STD ENG 6028 4271.68 ENGSVCS Engineering Services US US - - Thanks. John |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
remove rows in one sheet from similar rows in another | Excel Worksheet Functions | |||
Joining rows with different data | Excel Programming | |||
Grouping or joining rows | Excel Worksheet Functions | |||
Aligning similar rows | Excel Worksheet Functions | |||
joining macro | Excel Programming |