Hello!
Glad to have found this site. Once upon a time I was a programmer, but really didn't so anything with VBA in excel.
Unfortunately, I believe I am using an overly large hammer to address my challenge with minimal efficiencies.
I ran the code below on the first 1,000 rows in sheet(1) and it ran in around 3 minutes. Output was 1,311 rows in sheet(2). This is really slow.
I need to run this for 60,000 rows - it shouldn't take hours should it?
I am confident there is a more elegant solution.
NOTES:
1. the starting data is a list of time punches; 1 row per person with all their punches for the day. (in, breaks, meals, out)
2. I need the data to be in sheet 2 as one line per set of in /out punches. For most they are part time and just have in and out.
3. since the punch pairs are all left to right (pairs and then blanks) I can check for the blank field to know how many pairs I will be writing to sheet(2).
Glad to have found this site. Once upon a time I was a programmer, but really didn't so anything with VBA in excel.
Unfortunately, I believe I am using an overly large hammer to address my challenge with minimal efficiencies.
I ran the code below on the first 1,000 rows in sheet(1) and it ran in around 3 minutes. Output was 1,311 rows in sheet(2). This is really slow.
I need to run this for 60,000 rows - it shouldn't take hours should it?
I am confident there is a more elegant solution.
NOTES:
1. the starting data is a list of time punches; 1 row per person with all their punches for the day. (in, breaks, meals, out)
2. I need the data to be in sheet 2 as one line per set of in /out punches. For most they are part time and just have in and out.
3. since the punch pairs are all left to right (pairs and then blanks) I can check for the blank field to know how many pairs I will be writing to sheet(2).