+ Reply to Thread
Results 1 to 3 of 3

Subtracting Date from Todays Date excluding Holidays and Weekends

  1. #1
    Registered User
    Join Date
    05-11-2012
    Location
    New York, New York
    MS-Off Ver
    Excel 2010
    Posts
    11

    Subtracting Date from Todays Date excluding Holidays and Weekends

    Hello!
    I have a spreadsheet that I am using, where if the requests are "New" I want to find out how old they are. So I subtract the create date from todays date. This is what I have:

    =IF([@Status]="new", (TODAY())-[@Created], 0)

    Now...I want to take it to the next step and exclude weekends and holidays....how can i do this?

    Thank you so much!!!!!
    Pearl

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Subtracting Date from Todays Date excluding Holidays and Weekends

    Hi Chauhan101,

    Try looking at Networkdays function where you have the option to exclude weekends and holiday.. best of luck. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Subtracting Date from Todays Date excluding Holidays and Weekends

    Hello Pearl,

    Take a look on NETWORKDAYS function,

    =NETWORKDSYS([@Created],TODAY(),Holidays)

    Where Holidays is the range your holiday dates. ie H2:H20

    =NETWORKDSYS([@Created],TODAY(),H2:H20)
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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