+ Reply to Thread
Results 1 to 4 of 4

Months since certain date

  1. #1
    Registered User
    Join Date
    01-06-2017
    Location
    NZ
    MS-Off Ver
    2007
    Posts
    30

    Months since certain date

    Hi all,

    I have the following formula but it doesn't work,
    Please Login or Register  to view this content.
    What I want to do is calculate the months since 04/09/2017 but have it return an updated value as the months change. For instance since 04/09/2017 it has been 1 month.

    Next month it will return 2 months etc.

    Hope you can help as I am stumped.

    Cheers,
    Marc

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Months since certain date

    hi Marc.
    1. you cannot key in a date like this:
    4/9/2017
    that means 4 divided by 9 divided by 2017
    use:
    DATE(2017,9,4)
    or refer it to a cell

    2. input double quotes for the last argument, "m"

    so:
    =DATEDIF(DATE(2017,9,4), TODAY(), "m")
    or if A1 contains 4-Sep-2017:
    =DATEDIF(a1, TODAY(), "m")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    01-06-2017
    Location
    NZ
    MS-Off Ver
    2007
    Posts
    30

    Re: Months since certain date

    Ah i see where i was going wrong, wasn't aware it didn't reflect the date format like that. Thank you so much for your help!

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: Months since certain date

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    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

+ 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: 3
    Last Post: 11-01-2014, 10:45 PM
  2. [SOLVED] Creating a view by filtering 2 columns by date (both within 3 months of today's date)
    By Gti182 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-21-2014, 05:04 AM
  3. [SOLVED] Add date + 3 months in vba so the VBA sends mail reminder exactly 3 months before due date
    By JimmyQ in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-03-2014, 08:54 AM
  4. [SOLVED] Display cells 12 months prior and 12 months post from a given date
    By hog77 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-20-2012, 06:25 AM
  5. Replies: 2
    Last Post: 01-04-2012, 09:15 AM
  6. Replies: 2
    Last Post: 12-09-2011, 08:51 AM
  7. if a date falls within 15 months of current date to pull data (see thread)
    By bernataj in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-25-2011, 08:32 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