Forum Discussion

madeleine onley's avatar
madeleine onley
Copper Contributor
Aug 01, 2017
Solved

"Complex" formula needed for a debtors ledger

Alrighty so I'm still learning my way around excel and I'm trying to make a formula that will count how many deposits have been made that are less than half of the total invoice amount. They also need to be categorized by salesman and trading terms...
An example of setup is as follows:

Account Inv # Terms   Due     Amount 1/2 Dep.        Paid   Owing             S/man

Client 1   8       COD     28/07    $100        =sum(E5/2)   $40    =sum(E5-G5)   Bob

Client 2   32     7 days  31/07    $1000      =sum(E6/2)    $0     =sum(E6-G6)   Alan

Underneath all of it I've got little formula driven snapshots that show how many overdue clients each salesman has, how much each salesman is owed by clients, how much money clients owe us by terms, and now I'm attempting to have one for how many COD jobs were done without a salesman getting a full half deposit first.

COD's with less than a 1/2 deposit
Bob        Alan         Dave         Ned

?             ?               ?               ?
All I figured out was =SUMPRODUCT(--(PaidRange<1/2DepositRange)). This, of course, got me a figure for how many jobs were completed without receiving at least half of their invoice total first, but I need that watered down to COD jobs only and for each salesman.


  • Hi Madeleine,

     

    You may continue filtering with SUMPRODUCT like

    =SUMPRODUCT((PaidRange<1/2DepositRange)*(JobRange=Cod)*(Salesman=Name))

    or use COUNTIFS() to count with multiple criteria.

     

     

2 Replies

  • SergeiBaklan's avatar
    SergeiBaklan
    Diamond Contributor

    Hi Madeleine,

     

    You may continue filtering with SUMPRODUCT like

    =SUMPRODUCT((PaidRange<1/2DepositRange)*(JobRange=Cod)*(Salesman=Name))

    or use COUNTIFS() to count with multiple criteria.

     

     

Resources