+ Reply to Thread
Results 1 to 7 of 7

Add days between start date and end date

Hybrid View

  1. #1
    Registered User
    Join Date
    05-05-2014
    Location
    Voorheesville, NY
    MS-Off Ver
    Excel 2007
    Posts
    77

    Re: Add days between start date and end date

    The attached spreadsheet shows what I am trying to accomplish. The formula currently in used continuously adds days indefinitely without stopping at the end date. I tried playing with the formula to no avail.

    Any help, is greatly appreciated

    dache
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,412

    Re: Add days between start date and end date

    Put this in A5:

    =IF(B$1="","",B$1)

    and this in A6:

    =IF(OR(B$2="",A5=""),"",IF(A5+1>B$2,"",A5+1))

    Copy the formula in A6 down as far as you need to (until you start to get blanks).

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    05-05-2014
    Location
    Voorheesville, NY
    MS-Off Ver
    Excel 2007
    Posts
    77

    Re: Add days between start date and end date

    Thank you very much Pete

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,412

    Re: Add days between start date and end date

    You're welcome - thanks for the rep.

    If that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Pete

+ 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: 10
    Last Post: 02-29-2024, 08:55 AM
  2. Replies: 1
    Last Post: 05-26-2014, 03:46 AM
  3. 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
  4. [SOLVED] Calculate END DATE based on START DATE & No of working days
    By prashantha in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-20-2013, 07:22 AM
  5. [SOLVED] Find date using start date and number of network days
    By v!ctor in forum Excel General
    Replies: 4
    Last Post: 07-06-2012, 05:27 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