+ Reply to Thread
Results 1 to 6 of 6

need help calculating a specific portion of days from start/end dates.

  1. #1
    Forum Contributor
    Join Date
    04-02-2013
    Location
    West Palm beach, Fl
    MS-Off Ver
    Excel 2010
    Posts
    113

    need help calculating a specific portion of days from start/end dates.

    Hello,

    I hope my title makes sense. I have a column of start dates and end dates. Some of the end date cells are empty because the client is still enrolled with us. What I need, is a formula that will calculate just the days for february between the client's start date and end date. ex 1. the start date is 1/15/14 and end date is 2/14/14. The answer I want is 14 (the days just in february). ex 2. start date is 11/15/13 and end date is empty (client is still enrolled). The answer I want is 28. ex 3. the start date is 2/2/14 and the end date is 2/10/14. the answer I want is 8. Is there a formula that will accomodate those variables? I've tinkered around with nested If statements but to no avail. I have a workbook attached!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,624

    Re: need help calculating a specific portion of days from start/end dates.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Ben Van Johnson

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: need help calculating a specific portion of days from start/end dates.

    This appears to do what you want. Tested with the limited sample.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Forum Contributor
    Join Date
    04-02-2013
    Location
    West Palm beach, Fl
    MS-Off Ver
    Excel 2010
    Posts
    113

    Re: need help calculating a specific portion of days from start/end dates.

    ProtonLeah,

    Thank you for your quick response! The formula works well. I've never used datavalue before, but I'm researching for future endeavors. Much appreciated!

  5. #5
    Forum Contributor
    Join Date
    04-02-2013
    Location
    West Palm beach, Fl
    MS-Off Ver
    Excel 2010
    Posts
    113

    Re: need help calculating a specific portion of days from start/end dates.

    newdoverman,

    Your formula also works well! Thank you! This was actually the route I had attempted myself, and failed miserably. I see where I went wrong! Kudos!

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: need help calculating a specific portion of days from start/end dates.

    Thank you for the feedback.

    I'm glad that you found where you went wrong and that you found a solution.

+ 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: 2
    Last Post: 02-20-2014, 06:40 AM
  2. 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
  3. Turn Start/End Dates into individual days
    By ker9 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-17-2011, 01:17 PM
  4. Excel 2007 : Calculating Quarter Start Dates
    By mlh4041 in forum Excel General
    Replies: 2
    Last Post: 10-19-2009, 10:26 AM
  5. Replies: 5
    Last Post: 10-26-2005, 02:05 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