Solution to Allocating Payments Made using Min, Sumif, and Offset

Sudhan_k

New Member
Joined
Jul 8, 2020
Messages
2
Office Version
  1. 2019
Platform
  1. MacOS
Hello Members,

I am trying to put together a file to help track Incoming Products / Purchases and reconcile them to Payments made (In bulk against multiple invoices). I have used this forum, and its various topics extensively to put together a file, although some of the formulas are not straight forwards, works great. I have run into an issue, that i'm unable to find a solution for, and would like your help.
- - - - - - - - - - - -
> I have created a List that has the Supplier Name, Invoice Value, Due Date, Total Paid Amount, and Outstanding Amount.

> I have nearby this list, created a list that contains Supplier Name, Payment Amount, Date, and Reference.

There are scenarios where Payments are made for the bulk of the invoice, and sometime a single invoice. I would in the Outstanding amount Column, allocate the consolidated payment across various invoices for which, though searching various forums, I have written the following formula in the Cells of Outstanding amount. This formula works beautifully, and allocates the single large payment across the invoices. However, when an excess payment is made (Advances, Payment Erros, etc.,) it does not show the excess amount (as a - negative value). I assume this is due to the min function.

=MIN(SUMIF(List_Payment_Made[SUPPLIER],[@[SUPPLIER NAME]],List_Payment_Made[AMOUNT])-SUMIF(OFFSET(List_Payment_Reconsiliation[[#Headers],[SUPPLIER NAME]],0,0,ROW([@[SUPPLIER NAME]])-ROW(List_Payment_Reconsiliation[[#Headers],[SUPPLIER NAME]])),[@[SUPPLIER NAME]],OFFSET(List_Payment_Reconsiliation[[#Headers],[TOTAL PAID]],0,0,ROW([@[SUPPLIER NAME]])-ROW(List_Payment_Reconsiliation[[#Headers],[SUPPLIER NAME]]))),[@[INTERNAL INVOICE VALUE]])
- - - - - - - - - - - -
Issue : I was wondering if there is way to work around this formula, so that it shows me the excess payments made as well.
- - - - - - - - - - - -
I know that the formula would automatically adjust any excess payment into the next invoice from the supplier, but, it does not help with the reconciliation.

Best Regards,
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Forum statistics

Threads
1,223,897
Messages
6,175,269
Members
452,628
Latest member
dd2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top