Arslan Shahid
New Member
Dear Excel/VBA Experts,
I have downloaded a very useful VBA Macro to assign payment received to Invoices using FIFO method. However, i aould be really really grateful if someone can modify the vba code to also calculate weighted average payment days for each invoice ? e.g. if an invoice issued on 1st jan is fully cleared on 31st jan (this is already modeled in vba in the attached file) so total days will be 31, but if customer makes partial payments e.g. 50% payment on 15th jan and 50% on 31 jan, than weighted average days will be 23 days approx.
I would be really grateful if someone can modify this code to include this aspect also. Hoping for a positive and quick response, fingers crossed
Best regards
I have downloaded a very useful VBA Macro to assign payment received to Invoices using FIFO method. However, i aould be really really grateful if someone can modify the vba code to also calculate weighted average payment days for each invoice ? e.g. if an invoice issued on 1st jan is fully cleared on 31st jan (this is already modeled in vba in the attached file) so total days will be 31, but if customer makes partial payments e.g. 50% payment on 15th jan and 50% on 31 jan, than weighted average days will be 23 days approx.
I would be really grateful if someone can modify this code to include this aspect also. Hoping for a positive and quick response, fingers crossed
Best regards