+ Reply to Thread
Results 1 to 5 of 5

Working days

Hybrid View

Huwbob Working days 09-19-2007, 07:32 AM
Ron Coderre Working days 09-19-2007, 07:42 AM
Huwbob Thanks for that. I assume it... 09-19-2007, 09:20 AM
Ron Coderre Working days 09-19-2007, 10:26 AM
Huwbob Thanks for all your help 09-19-2007, 11:07 AM
  1. #1
    Registered User
    Join Date
    09-18-2007
    Posts
    30

    Working days

    Hi. I can't use the functionality of the Add in, is there a way to calculate the number of working days between two given dates?

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Working days

    Try this:

    A1: StartDate
    B1: EndDate

    This formula returns the numberof weekdays between those 2 dates (inclusive):
    C1: =SUM(INT((WEEKDAY(A1-{2,3,4,5,6})+B1-A1)/7))

    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    09-18-2007
    Posts
    30
    Thanks for that. I assume it counts in the dates given as well so to get a "five working day apart from the day request was taken" I simply put a -1 in at
    =SUM(INT((WEEKDAY(A1-{2,3,4,5,6})+B1-A1-1)/7))

    It works, and gives me the correct answer, but there's a little green triangle on the top left of the box which gives an "inconsistent formula message", is it ok to just mark it as ignore?
    Last edited by Huwbob; 09-19-2007 at 09:39 AM.

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Working days

    Regarding the green triange....That's just Excel "helping" by letting you know that the formula is different from the formulas around it. In this case, it's OK to ignore.

    To see other things Excel wants to help with...
    <tools><options><error checking tab>
    UNcheck anything you're not interested in knowing.

    If you only want Excel to Error Check on-demand..
    UNcheck: Enable background error checking

    Then...when you want to check for "errors"
    <tools><error checking>

    I hope that helps.

  5. #5
    Registered User
    Join Date
    09-18-2007
    Posts
    30
    Thanks for all your help

+ 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