+ Reply to Thread
Results 1 to 4 of 4

Formula to calculate days is open and closed

  1. #1
    Registered User
    Join Date
    07-12-2018
    Location
    Ohio
    MS-Off Ver
    Office 13
    Posts
    5

    Formula to calculate days is open and closed

    I'm working on a complaint log. I need to calculate both the days elapsed (Open date to current date) and days to close (open date to close date).

    The cell data:
    A2 = Date opened
    AC2 = Date Closed
    AD2 = Days open (calculated cell) - will display a) elapsed days until close date is entered in AC2, then b) it will change and display number of days the complaint was open.

    I tried this but does not work. Issue seems to be the last IF Statement:
    =IF(A2="","",IF(A2>DATE(2018,1,1),NETWORKDAYS(A2,TODAY()),IF(AC2>DATE(2018,1,1),NETWORKDAYS(A2,AC2()))))

    Thank you in advance for your assistance.

    Ken

  2. #2
    Forum Contributor
    Join Date
    01-09-2016
    Location
    Perth Western Australia
    MS-Off Ver
    Office 365
    Posts
    257

    Re: Formula to calculate days is open and closed

    Hi

    Try :-

    ==IF(D4="",NETWORKDAYS(C4,TODAY(),),NETWORKDAYS(C4,D4,)) where:-

    Col C is Date Opened
    Col D is Date Closed
    Col E is No Days Open.

    Cheers

  3. #3
    Registered User
    Join Date
    07-12-2018
    Location
    Ohio
    MS-Off Ver
    Office 13
    Posts
    5

    Re: Formula to calculate days is open and closed

    Thank you, it worked perfectly!

  4. #4
    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
    79,327

    Re: Formula to calculate days is open and closed

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    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.

+ 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. Need a formula for "Days Open" with a Turn In Date and Date Closed
    By jinthesensei in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-08-2018, 11:31 PM
  2. [SOLVED] Calculate Number of Days if 3rd Cell has Closed
    By cdxjones in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-07-2017, 11:21 AM
  3. Formula to Calculate Days Open
    By vgarcia620 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-14-2016, 12:26 PM
  4. Tracking open and closed projects - want days open or days to close
    By Aquaticape in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-07-2012, 08:18 PM
  5. Calculate # of days open with increments of 30, 60 & 90 day values
    By skgates in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-14-2012, 10:10 AM
  6. Need a formula to calculate time between open and closed dates and times
    By DebbieF in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-03-2012, 02:45 AM
  7. Replies: 1
    Last Post: 08-19-2010, 03:31 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