+ Reply to Thread
Results 1 to 3 of 3

Calculate days excluding some days between dates

  1. #1
    Registered User
    Join Date
    02-03-2017
    Location
    india
    MS-Off Ver
    MS OFFICE 10
    Posts
    3

    Calculate days excluding some days between dates

    Hi All,

    Need help in excel formula to calculate days excluding some days between dates.

    Lets say Start date in 01/05/2015 (A1) and End Date in 31/12/2015 (B1).

    1st Leave date - 31/10/2015 (A3) to 05/11/2015 (B3)
    2nd leave date - 28/12/2015 (A4) to 10/01/2016 (B4)

    So want to calculate days including Saturday and Sunday between start date and end date minus above leave dates.

    Some time leave dates will be more so for that how to calculate in excel 1 formula or VBA code.

    Please help.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Calculate days excluding some days between dates

    Based on your posted example, what result do you expect?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    02-03-2017
    Location
    india
    MS-Off Ver
    MS OFFICE 10
    Posts
    3

    Re: Calculate days excluding some days between dates

    Hi,

    I need result of 227 days.

    i.e.difference of days between 01/05/2015 to 31/12/2015 = 245 minus 5 days from 31/10/2015 to 04/01/2016){becoz 05/01/2015 rejoined date} again minus 13 days from 28/12/2015 to 10/01/2016 {becoz 05/01/2015 rejoined date}.

    So while calculation of days for the year 01/01/2015 to 31/12/2015, difference of leave days should be minus.

+ 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] calculate total number of days between two days based on 365 days year
    By aparunkumar in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-14-2016, 12:51 AM
  2. Calculate days using DateTime Picker excluding weekends and dispaly dates column wise
    By bhuvana86 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-28-2015, 02:10 PM
  3. Replies: 0
    Last Post: 10-31-2014, 10:32 AM
  4. Calculate End Date Using Start Date and No. of Days excluding specific days.
    By SinusxCosinusx in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-22-2013, 05:48 AM
  5. Replies: 7
    Last Post: 06-19-2013, 05:45 AM
  6. Replies: 0
    Last Post: 02-01-2013, 05:10 PM
  7. [SOLVED] formula to calculate # of days between dates, excluding holidays
    By abs2299 in forum Excel General
    Replies: 9
    Last Post: 10-11-2012, 03:59 AM

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