+ Reply to Thread
Results 1 to 5 of 5

Excel formula to sum and count unpaid invoices

  1. #1
    Registered User
    Join Date
    03-23-2018
    Location
    Colombo, Sri Lanka
    MS-Off Ver
    Excel 2016
    Posts
    2

    Excel formula to sum and count unpaid invoices

    Dear Freinds,

    I have spreadsheet that keeps track of invoices, paid, unpaid, and over paid. I want to count the number of UNPAID invoices and the their outstanding values in a given month. After I calculate the amount, i want to pull the values to the pivot. I have tried putting the balance column twice when creating the pivot but have been unsuccesful in getting the correct values.

    Any help is greatly appreciated. i have uploaded excel file

    thanks in advance
    rushdhi

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,931

    Re: Excel formula to sum and count unpaid invoices

    Welcome to the forum.

    Will you please attach a small sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    Instructions (Please Read Carefully):

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment (it hasn't worked for years, and despite our repeatedly asking the technical team who own the forum to fix it, they can't be bothered to do so), so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    03-23-2018
    Location
    Colombo, Sri Lanka
    MS-Off Ver
    Excel 2016
    Posts
    2

    Re: Excel formula to sum and count unpaid invoices

    Dear Friends,

    My desired formula result is : If Invoice status = “UNPAID” and Balance > 0, Then Count number of “UNPAID” and Total all Unpaid. I will be pulling the figures into a pivot table to summarize by month the total outstanding. Please see sample snip below. I have also attached the excel file.

    invCapture.PNG
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Excel formula to sum and count unpaid invoices

    Unchecked as sample file far to big to permit manual checking:

    =COUNTIFS(U:U,"Unpaid",T:T,">0")

    and

    =SUMIFS(T:T,U:U,"Unpaid",T:T,">0")
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Excel formula to sum and count unpaid invoices

    If Invoice status = “UNPAID” and Balance > 0, Then Count number of “UNPAID”
    =COUNTIFS(InvoiceData[Invoice Status],"UNPAID",InvoiceData[Balance],">"&0)
    and Total all Unpaid
    =COUNTIF(InvoiceData[Invoice Status],"UNPAID")
    Click the * to say thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Filter Pivot table by each customer and auto email invoices unpaid
    By whatsup in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-04-2019, 09:21 PM
  2. [SOLVED] Summarise Unpaid Invoices
    By CraigMcKee in forum Excel Formulas & Functions
    Replies: 28
    Last Post: 07-25-2018, 06:24 AM
  3. Replies: 10
    Last Post: 03-28-2018, 01:07 PM
  4. [SOLVED] Unpaid Invoices
    By couevans in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-09-2017, 05:49 PM
  5. unpaid Invoices
    By hasanbirol in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 09-17-2012, 12:16 PM
  6. How to count unpaid installments.
    By rushatiindia in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-20-2008, 01:42 AM
  7. [SOLVED] track unpaid invoices
    By mukesh in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-06-2006, 09:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1