+ Reply to Thread
Results 1 to 6 of 6

calculate how many days an invoice has been outstanding

  1. #1
    Registered User
    Join Date
    03-14-2019
    Location
    Sydney, Australia
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    2

    Question calculate how many days an invoice has been outstanding

    Hello, I am wondering whether there is a formula I can use for my issue. I want to calculate how many days an invoice has been outstanding, but not all invoices have been paid. I have a date issues column and a date paid column, then a days outstanding column. I have a formula for "Date paid" minus "Date issued" for work out the days a paid invoice was outstanding, and a separate invoice of "Today" minus "Date issued" for invoices that are still outstanding. Is there any way to combine these, I am thinking something like =IF(date issued column contains a value, "date paid" minus "date issued", otherwise "today" minus "date issued"). Is that possible? Hope that makes sense!


    Moderator note:
    Please read our forum rule #1 regarding proper thread titles.
    Since you are new to the forum I went ahead and changed it for you this time. --- FlameRetired
    Last edited by FlameRetired; 03-14-2019 at 10:09 PM. Reason: Ttile change.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: IF function help if possible

    It's often better to try something to see if it works, and if it doesn't then try to figure out why not. In your case I think you need to check if date paid contains a value, so you could do it like this:

    =IF(date_issued="","",IF(date_paid="",TODAY()-date_issued,date_paid-date_issued))

    put in the appropriate cell references, then copy down.

    Hope this helps.

    Pete
    Last edited by Pete_UK; 03-14-2019 at 09:50 PM.

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,459

    Re: IF function help if possible

    Assuming Date issues is in D column; Date paid is in E column; Days outstanding is in F column
    F3:
    Please Login or Register  to view this content.
    Drag down
    Untitled.png
    Quang PT

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: calculate how many days an invoice has been outstanding

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.
    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    As you are new to the forum I changed the title for you this time.
    Dave

  5. #5
    Registered User
    Join Date
    03-14-2019
    Location
    Sydney, Australia
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    2

    Re: IF function help if possible

    It worked! Genius! Thank you so much :D

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: IF function help if possible

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of any post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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. Replies: 0
    Last Post: 07-07-2018, 04:13 AM
  2. COUNTUNIQUE Function in Google Sheets; Excel lacks a direct counterpart to this function?
    By PivotTablePSHomage in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-18-2018, 05:27 AM
  3. Calling function inside function. (aka nested function)
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-02-2015, 05:58 AM
  4. Replies: 1
    Last Post: 06-10-2015, 12:56 PM
  5. Replies: 13
    Last Post: 04-08-2014, 05:46 AM
  6. [SOLVED] Using Offset function as the array in the PercentRank function is giving wrong result
    By Bobneil in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-06-2013, 09:29 PM
  7. Replies: 1
    Last Post: 03-21-2012, 11:22 AM

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