+ Reply to Thread
Results 1 to 3 of 3

Calculating number of days

Hybrid View

excelquestionz Calculating number of days 05-06-2015, 01:51 PM
Ace_XL Re: Calculating number of days 05-06-2015, 01:55 PM
MarvinP Re: Calculating number of days 05-06-2015, 02:08 PM
  1. #1
    Registered User
    Join Date
    10-08-2014
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    43

    Calculating number of days

    Is it possible to calculate the number of weekdays between two dates in excel by month? E.g. between April x and May y there were 8 weekdays in April and 3 weekdays in May.

    Thanks!

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Calculating number of days

    With start date in A1 and end date in A2 use

    =NETWORKDAYS(A1,EOMONTH(A1,0))
    &
    =NETWORKDAYS(EOMONTH(A2,-1)+1,A2)

    First formula gives weekdays in first month
    Second formula gives weekdays in second month
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,243

    Re: Calculating number of days

    Hi excelquestionz,

    I think you can simply use NetWorkdays() function alone without needing to break how many in each month. What happens if your start and end dates span more than a few months? Perhaps then Ace_XL formulas will be needed. See the attached.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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. Calculating number of days, help.
    By DollyMixture in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-23-2014, 11:01 AM
  2. [SOLVED] Calculating the number of days
    By bremen22 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-09-2013, 12:06 PM
  3. calculating the number of days
    By Deanomcbeano in forum Excel General
    Replies: 12
    Last Post: 10-02-2012, 08:22 AM
  4. Calculating the number of days worked
    By Curtis in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  5. Calculating number of days
    By Carlos in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-01-2005, 05:06 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