Link to home
Start Free TrialLog in
Avatar of Dan Brewerton
Dan Brewerton

asked on

Calculating balance due on invoices with multiple payments

Greetings experts. I am trying to determine the AR based on invoices that are not completely paid. I have been toiling around on the web trying to figure this out; I thought it would be much more simple than it is. So, I was wondering how to get this excel formula I found on ExcelJet to work properly. The current formula reads:

=IF(COUNTIF($A$2:A3,A3)=1,SUMIF($A:$A,A3,$I:$I),"")

My Columns are like so:

Invoice#      Sales Order      Repcode      Account#      Invoice Date      Invoice Amount      Date Paid      Payment      Customer PO      AR Terms      Due Date      Amount Due

In the case of an invoice that a customer did more than one payment, I would like the total at the end to display nothing. Instead, the first line shows their balance due, then the second or further line shows blank if their balance on the invoice is 0.00. How do I get this formula to look at Invoice (column A) Invoice Amount (column F) and Payment (column H) so that if all balances are clear, do not show anything in the Amount Due (column L)? Any help would be super appreciated and thank you!
Avatar of Dustin Saunders
Dustin Saunders
Flag of United States of America image

Are these sheets for just one customer, or are all of your invoices listed in this sheet?  Are you looking at the rolling totals of each customer that way?  Do you have sample data so we can see how the sheet is laid out (you can just change any private information such as customer names or invoice numbers).

How is the sheet being generated, from a report in your invoicing system?
Can you supply a sample workbook?
Avatar of Dan Brewerton
Dan Brewerton

ASKER

It is all invoices, but I'm only trying to do a slice of the data as the first 10 records.
SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No Comments added further