Hi! I'm hoping someone can help me...
I have 2 files:
- File 1 = Daily credit card transactions where they're summed by daily ID numbers into batches.
- For example, ID 170 in the screenshot below indicates that I had $5 in credit card transactions as part of the batch ID on that day, which was 170.
- File 2 = Aggregate that was paid by the credit card merchant. They don't pay on a daily basis. When they do pay, they pay everything for that ID and lower that hadn't been paid yet. It's also net of fees
- For example, when ID 174 was paid, its total was for 174 and lower, which = 170, 171, and 172 in this case
- ID 178 was paid and it covered 178, 177, and 176.
In the screenshot below, I color coded to show which lines go together. I'm also attaching the Excel sheets.
I'm stuck on how to join (or otherwise connect) the 2 files. The only thing I can think of is having a Formula Tool do "ID + 1", "ID + 2", "ID + 3" for awhile for File 1 and then do a bunch of Join Tools so if File 1 ID = File 2 ID -> done, otherwise, check if File 1 ID + 1 = File 2 ID, otherwise..., and just keep doing that, but that seems silly
