+ Reply to Thread
Results 1 to 9 of 9

How many years from start date formula

Hybrid View

  1. #1
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,175

    Re: How many years from start date formula

    Try this:

    in B3: =DATEDIF(A3,TODAY(),"Y")

    in C3: =LOOKUP(B3,{0,1,2,3,5},{"< 1 Year","1-2 Years","2-3 Years","3-5 Years","> 5 Years"})

  2. #2
    Registered User
    Join Date
    01-08-2018
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    14

    Re: How many years from start date formula

    How do I get the 'DATEDIF'?

    When I press = I only have two options, DATE and DATEVALUE?

  3. #3
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,992

    Re: How many years from start date formula

    Quote Originally Posted by Rumpus24 View Post
    How do I get the 'DATEDIF'?

    When I press = I only have two options, DATE and DATEVALUE?
    Date-Dif, This function doesn't exist as other function but mystically it works. You will have to put =DATEDIF(STARTDATE, ENDDATE,Option)

    An option can be as below.

    "Y" Difference in complete years
    "M" Difference in complete months
    "D" Difference in days
    "MD" Difference in days, ignoring months and years
    "YM" Difference in months, ignoring days and years
    "YD" Difference in days, ignoring years
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

+ 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. Split Start End date into multiple years
    By tos in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-25-2016, 06:42 AM
  2. [SOLVED] Help in writing formula in excel to produce dates based on start date and end date
    By shoot for moon in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-10-2014, 01:00 PM
  3. How to spread annual forecasts by month across fiscal years by variable start date
    By gbolanis in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-21-2013, 11:59 AM
  4. [SOLVED] How to determine how many fiscal years are present from start date to end date.
    By terrivega3500 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-07-2012, 01:25 PM
  5. defining a years length(start and end dates)
    By wheefus in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-13-2008, 11:44 AM
  6. Start Date minus (Years + Months + Days) = ?
    By quartz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-11-2006, 01:10 PM
  7. [SOLVED] Date Formula - in Years
    By Jenny Potter in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-20-2006, 05:30 AM

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