troubleshooting Question

Cleanse exported data and summarize and group by specific field

Avatar of robbdfw
robbdfwFlag for United States of America asked on
Microsoft OfficeMicrosoft ExcelVBA
13 Comments2 Solutions76 ViewsLast Modified:
I have taskcard program that outputs work accomplished at an auto repair facility and tracks by a specific workcard.  Unfortunately, I need data rolled up to a higher level.  Output is sorted by column B - Car Nbr and then by Column G - Workcard.  I would like to generate a new tab in each spreadsheet that rolls up similar workcards into 1 unique number for each car and then repeated for the next car and any labor hours in columns D and J would be summed together

Pattern Examples:
  • 2308
  • 2308
- These two unique lines would only show up as 1 entry in the output tab with any labor hours for both lines summed together

  • 0018_ZIP01
  • 0018_ZIP01
-These items would show up as one entry "0018" with the the "_xxx" removed and the hours summed together

  • 1855/001
  • 1855/001
-These items would show up as one entry "1855" with the the "/001" removed and the hours summed together

  • 21-97-01
  • 21-97-01
  • 21-97-01/001
-These would show up as one entry "21-97-01" with the "/001" removed and hours summed together

  • C1234AB_0001
  • C1234AB_0002
  • C1234AB_0003
  • C1234AB_0004
-These would show up as one entry "C1234AB" with the "_XXXX" removed and hours summed together

See attached sheet where I show the input and the desired output.

Thank youData-Prep.xlsx
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 13 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros