Hello - As per your words, “it looks like that given any row, if the following row has the same value in column C, insert the blank row between that row and the following row. Do I have that correct?”
CORRECT, based on DATE and EE, this is the consecutive issue. From From or To To…
COPYING DATA – Look at Hudson, E ID 4879, for his transactions dated (EXP_ITEM_DATE Column) 4/10/18 and 4/11/18 and E ID 8335, Allen, 2/15/18.
As I stated this is about the distribution of time being charged to the wrong codes and employees fixing their time to charge to the correct codes. In Example 1, he charged (CC From) KK0100 incorrectly when he should have charged the other codes. I need to reflect where the distribution of time came from to the other projects which is why I need to insert the row. All the hours he reported on the CC From Line, which is his original time card now need to be distributed to the CC To Line. The Hours column is not reflected in any of the samples I provided since I am more concerned with the Project Number and Task Account distributions and I didn’t want to add to the confusion.
Example 1 – Original Time Card
From/To Column Project Number Task Hours
CC From KK0100 30060000 - 8
CC To KKEQ00 30061000 + 2
CC To KKEQ00 30111000 + 4
CC To X5D100 0010AX33 + 2
The bold figures reflects the inserted line and the changes I need for that DATE, for that EMPLOYEE.
From/To Column Project Number Task Hours
CC From KK0100 30060000 - 2
CC To KKEQ00 30061000 + 2
CC From KK0100 30060000 - 4
CC To KKEQ00 30111000 + 4
CC From KK0100 30060000 - 2
CC To X5D100 0010AX33 + 2
Example 2 – Original Time Card
From/To Column Project Number Task Hours
CC From XA3100 0011B5L3 - 2
CC From XA3100 0011BHRL - 6
CC To XA3100 0011B5L3 + 8
The bold figures reflects the inserted line and the changes I need for that DATE, for that EMPLOYEE.
From/To Column Project Number Task Hours
CC From XA3100 0011B5L3 - 2
CC To XA3100 0011B5L3 + 2
CC From XA3100 0011BHRL - 6
CC To XA3100 0011B5L3 + 6
Example 3 – Original Time Card (Employee ID 8335, Allen, 2/15/18)
From/To Column Project Number Task Hours
CC From HG5500 00000000 - 5
CC From HG5600 00000000 - 3
CC To RTBL00 00000000 + 8
The bold figures reflects the inserted line and the changes I need for that DATE, for that EMPLOYEE.
From/To Column Project Number Task Hours
CC From HG5500 00000000 - 5
CC To RTBL00 00000000 + 5
CC From HG5600 00000000 - 3
CC To RTBL00 00000000 + 3
So I hope this clarifies any questions you have and identifies rules/procedures by which the information should be copied from. The rules for copying is based on Employee, Date, and what we are lacking per date. In Example 2 and 3 we are missing a CC To. So, then you copy the CC To information that currently exists for that Employee for that Date. Example 1 we are missing many CC From(s). So, then you copy the CC From that currently exists for that Employee that Date.
Given that I left this matter alone for a while so as to not add any further frustration or confusion I hope I have defined what it is you are asking of me.