+ Reply to Thread
Results 1 to 3 of 3

Find Months and Days between 2 dates

  1. #1
    Registered User
    Join Date
    10-17-2012
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    1

    Find Months and Days between 2 dates

    Hi All,

    How can i find out Which months and days in those month from a Start Date and End Date.

    So if I have Start Date as 20th Jan 2021 and end date as 4th May 2021, the output should be
    1. Jan 10 days
    2. Feb 28 days
    3. March 31 days
    4. April 30 days
    5. May 4 days.

    =Datedif(C2,C3, "M") gives me number of months
    =Datedif(C2,C3, "D") gives me number of days.


    Thanks
    UG

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Find Months and Days between 2 dates

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    11-13-2018
    Location
    Istanbul
    MS-Off Ver
    Microsoft 365
    Posts
    91

    Re: Find Months and Days between 2 dates

    Hello

    I've created the attached file. Please check it out.


    You can set any 2 dates for Start and End. The table is independent of the years, and will show the difference up to 24 months. If more months are necessary, it can be extended via copy-paste.

    If you have further questions, feel free to ask.


    PS: My excel is in Spanish, so you might see month titles in Spanish. In such case it should be easily fixed by opening cell with F2 and pressing Enter without any edits.
    Attached Files Attached Files

+ 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] Calculating Years, Months, Week, Days, Hours, Minutes for Work Days between two dates
    By hecgroups in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-23-2019, 12:09 AM
  2. How To add 1 months to a list of dates rather than days
    By Dlinen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-06-2018, 10:20 AM
  3. [SOLVED] Count Last Days of Months Between Two Dates
    By xybadog in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-13-2014, 10:10 AM
  4. Difference between two dates in months and days
    By pleiadeez7 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-24-2013, 01:54 PM
  5. [SOLVED] Count days and months between two dates
    By nurer in forum Excel General
    Replies: 5
    Last Post: 05-23-2012, 10:53 AM
  6. how many months and days between two dates?
    By shopgirl in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 02-12-2006, 04:10 AM
  7. difference between two dates in years, months and days.
    By ruby in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-04-2005, 12: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