+ Reply to Thread
Results 1 to 4 of 4

Excluding Sunday and Holiday in Formula to Work in Excel 2007

  1. #1
    Registered User
    Join Date
    06-11-2020
    Location
    South Elgin, IL
    MS-Off Ver
    2007
    Posts
    2

    Talking Excluding Sunday and Holiday in Formula to Work in Excel 2007

    Hi,
    I am using Excel 2007 and NETWORK.INTL doesn't work.

    I need a formula that will include Saturday (so workdays will be Monday thru Saturday)
    I found this formula on one of the post and it works
    =A1-WEEKDAY(A1,3)+INT(7/6*(B1+MIN(5,WEEKDAY(A1,3))))
    however I need it to also exclude Holidays.
    Last edited by jazjao; 06-11-2020 at 10:43 AM.

  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,820

    Re: Excluding Weeknds in Formula to Work in Excel 2007

    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. Almost evryone wants help with a formula!!!

    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.

    (Note: this change is not optional. As you are new, I have done it for you this time.)
    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
    06-11-2020
    Location
    South Elgin, IL
    MS-Off Ver
    2007
    Posts
    2

    Re: Excluding Weeknds in Formula to Work in Excel 2007

    Thank you Ali!

  4. #4
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Excluding Sunday and Holiday in Formula to Work in Excel 2007

    where B1 holds end date, A1 start date, H1:H10 contain holidays and the edit:[red] 1s define Sunday

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by XLent; 06-12-2020 at 05:04 AM. Reason: OP wanted to excl. Sun, not Sat

+ 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: 3
    Last Post: 03-24-2020, 07:27 AM
  2. Replies: 3
    Last Post: 01-10-2019, 09:34 AM
  3. Replies: 5
    Last Post: 02-16-2018, 06:50 AM
  4. Replies: 8
    Last Post: 09-22-2017, 05:41 AM
  5. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  6. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  7. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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