testinglife
New Member
- Joined
- Apr 20, 2017
- Messages
- 9
Hello,
See attached picture for an example of what the data might look like. Basically this is my question I have a bunch of invoices on the left side of the excel and a bunch of payments on the right side of the excel. There is an ID to identify a customer so we know what invoices are their and what payments apply to that customers invoices. I am wondering if there is a formula that anyone can recommend that will take a payment from the right and apply it to an invoice on the left, using the ID to match them up. It should only apply a payment if there is a remaining amount on one of the invoices, it should also keep applying to the same invoice until it is fully paid and then move onto the next invoice and start paying that. And lastly it should only apply a payment if there is an invoice available (sometimes they may pay before we issue an invoice). Unfortunately I need it applied invoice by invoice and not on a total basis or I would have just done a sumifs for that customers outstanding balance.
I am curious to see what everyone else recommends. I have come up with some formulas but they are messy and I just know there is better way to do this.
See attached picture for an example of what the data might look like. Basically this is my question I have a bunch of invoices on the left side of the excel and a bunch of payments on the right side of the excel. There is an ID to identify a customer so we know what invoices are their and what payments apply to that customers invoices. I am wondering if there is a formula that anyone can recommend that will take a payment from the right and apply it to an invoice on the left, using the ID to match them up. It should only apply a payment if there is a remaining amount on one of the invoices, it should also keep applying to the same invoice until it is fully paid and then move onto the next invoice and start paying that. And lastly it should only apply a payment if there is an invoice available (sometimes they may pay before we issue an invoice). Unfortunately I need it applied invoice by invoice and not on a total basis or I would have just done a sumifs for that customers outstanding balance.
I am curious to see what everyone else recommends. I have come up with some formulas but they are messy and I just know there is better way to do this.