Hi All,
First thing first, I would like to convey thanks to Sixthsense for assisting me on my previous post. The inputs provided have been extremely helpful.
However, I'm struggling to deal with a large chunk of data that needs to be processed on a daily basis, and was hoping for a Macro solution that can be used to speed up the process and alongside ensure accuracy.
Initial Step:
I need to populate the Max time for each row (exact match – case sensitive) in the Output sheet from the Base Sheet (refer to the attached sheet - Max Time Solution)
Step 1).
The biggest challenge is that the number of entries between the 2 aren’t the same and my Base sheet does not have any Unique ID like Output Sheet.
Final Step:
I finally pick the results attained from the “Initial Step” – Output Sheet and paste it on to another xls file to get my Final Result based on these conditions (refer to the The Final Step_Solution - Query - Step 2)
In this step: I create 2 files:
The row with the latest time needs to be exported to a CSV file after calculating the sum of breaks / visits in column E of The Final Step_Solution - Query - Step 2.
However, there is an exception to this in case the status is “Official Work” then this row should be exported for the exact match – case sensitive even though this may not be the latest time for the same match / row. The remaining exported to another XLS / CSV as batch file.
One additional point my original data has several other columns and the placement of some of the columns shown in the sample may be different but, the placement in the original file will always remain consistent. They don't have a role to play but are Exported or Batched accordingly.
I’ll be obliged if someone can assist me on this. The current solution is working accurately but my files tend to crash frequently due to size of the data. To be honest I don’t have expreience in writing Macros but I’m learning. I also use few in my other tasks. But for sure this needs some expert advise.
Please help!
Bookmarks