+ Reply to Thread
Results 1 to 4 of 4

IF Forumla Excluding Workdays & Holidays

  1. #1
    Registered User
    Join Date
    04-26-2016
    Location
    Los Angeles, CA
    MS-Off Ver
    2010
    Posts
    13

    IF Forumla Excluding Workdays & Holidays

    Hi All,

    I have loads being delivered on a certain day (Column B) and the proof of delivery submission on a separate date (Column C). I have to calculate the days between delivery and proof of delivery submission (Column D), but want to exclude weekends and holidays in the calculation.

    In the attached example, I am using the following function to calculate the days between delivery and proof of delivery submission:

    =IF(B2="","",IF(C2=""," ",IF(C2-B2>=0,C2-B2,"")))

    How do I incorporate the "=WORKDAY" function to exclude weekends and holidays?

    Your help is greatly appreciated.

    Thank you!
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: IF Forumla Excluding Workdays & Holidays

    It would be NetworkDays, not Worday.

    Try

    =IF(B2="","",IF(C2=""," ",IF(C2-B2>=0,NETWORKDAYS(B2,C2,$G$2),"")))

  3. #3
    Registered User
    Join Date
    04-26-2016
    Location
    Los Angeles, CA
    MS-Off Ver
    2010
    Posts
    13

    Re: IF Forumla Excluding Workdays & Holidays

    Quote Originally Posted by Jonmo1 View Post
    It would be NetworkDays, not Worday.

    Try

    =IF(B2="","",IF(C2=""," ",IF(C2-B2>=0,NETWORKDAYS(B2,C2,$G$2),"")))
    Awesome! Thank you , Jonmo1

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: IF Forumla Excluding Workdays & Holidays

    You're welcome.

+ 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. [SOLVED] Monthly workdays, monthly workdays to date & public holidays
    By blackburnsexcel in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-21-2015, 07:08 AM
  2. Replies: 4
    Last Post: 04-16-2014, 04:17 AM
  3. workdays between (excluding holidays)
    By imaccormick1990 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-22-2013, 08:26 AM
  4. Convert Hours to Workdays, Excluding Holidays
    By mycon73 in forum Excel General
    Replies: 4
    Last Post: 08-21-2012, 11:57 AM
  5. # of Workdays minus Holidays
    By jmozulay in forum Excel General
    Replies: 6
    Last Post: 10-11-2007, 04:33 PM
  6. Calculate workdays between two dates (including Saturdays, excluding holidays)
    By Sean Anderson in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-12-2007, 12:22 AM
  7. workdays and holidays
    By tawnee jamison in forum Excel General
    Replies: 0
    Last Post: 05-05-2005, 12:02 PM

Tags for this Thread

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