+ Reply to Thread
Results 1 to 8 of 8

Date function, find the months between two dates

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    165

    Date function, find the months between two dates

    HI,

    I try the datedif (DATEDIF(A1,B1,"M") function to find the months between two dates but did not work, Is there another way to find?

    Column A (start Date "mm-dd-YYYY")
    Column B (Finish Date "mm-dd-yyyy")

    Column C I want the formula to find the months.

    Thanks,
    R

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    24,014

    Re: Date function, find the months between two dates

    try with a lower case "m"

    Alan
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    165

    Re: Date function, find the months between two dates

    Hi Alan,
    It did not work.

  4. #4
    Registered User
    Join Date
    10-04-2020
    Location
    New Zealand
    MS-Off Ver
    2013
    Posts
    5

    Re: Date function, find the months between two dates

    Hi there,

    I have the below working -

    =DATEDIF(A1,B1,"M")

  5. #5
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,425

    Re: Date function, find the months between two dates

    Can you describe "did not work" for us? Also, tell us the values that were in cells A1 and B1 and the result the DATEDIF formula gave you for them.

  6. #6
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    165

    Re: Date function, find the months between two dates

    Attachment 709120

    Please see attached.

  7. #7
    Registered User
    Join Date
    10-04-2020
    Location
    New Zealand
    MS-Off Ver
    2013
    Posts
    5

    Re: Date function, find the months between two dates

    Please find sample attached.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    165

    Re: Date function, find the months between two dates

    Thanks, It was not the formula problem, it was my PC
    I change region setting on my computer to US and keyboard setting. it seems like it fixed the issue on worksheet.

    Thanks Everyone.

+ 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. Find Closet Date comparing 1 column to a row of dates across 60 months
    By plat2265 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-06-2020, 11:16 AM
  2. Replies: 14
    Last Post: 02-15-2017, 07:58 PM
  3. [SOLVED] find number of months within range of dates
    By rs1aj in forum Excel General
    Replies: 7
    Last Post: 06-02-2015, 01:36 PM
  4. [SOLVED] Find number of months between two dates
    By arun.sj in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-17-2014, 06:40 AM
  5. Replies: 0
    Last Post: 05-30-2013, 07:50 PM
  6. Replies: 2
    Last Post: 01-04-2012, 09:15 AM
  7. [SOLVED] How do I find the length of time (Years & Months) between 2 dates
    By David Picken in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 03-23-2006, 04:30 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