+ Reply to Thread
Results 1 to 3 of 3

Help me explain results usingYEARFRAC function.

  1. #1
    Registered User
    Join Date
    11-28-2016
    Location
    West Virginia
    MS-Off Ver
    2013
    Posts
    2

    Help me explain results usingYEARFRAC function.

    Using YEARFRAC function, with dates 11/11/2004 in cell A1 and 11/11/2016 in B1, applying the formula "YEARFRAC(A1,B1,1)" to cell C1, the result is "1/11/1900"

    Using YEARFRAC function, entering the same dates directly into the Function Arguments box to apply the formula "YEARFRAC(11/11/2004,11/11/2016,1) to cell C1, the result is "1/0/1900"

    I would greatly appreciate anyone explaining the reason for these results instead of the result "12", and what I am doing wrong.

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Help me explain results usingYEARFRAC function.

    The results you see in C1 is most likely the cell formatted as Date. Change format to General or Number
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B C
    1 11/11/2004 11/11/2016 12
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    11-28-2016
    Location
    West Virginia
    MS-Off Ver
    2013
    Posts
    2

    Re: Help me explain results usingYEARFRAC function.

    Thanks AlKey, that worked!

+ 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. Help--Explain Function?
    By MsChessie in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-12-2014, 01:44 AM
  2. Explain Countif function
    By consultant_ in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-21-2012, 04:46 PM
  3. explain the FuzzyLookup function
    By cjGod in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-24-2008, 09:52 PM
  4. [SOLVED] Please explain function/formula
    By Tara H in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-24-2006, 02:20 PM
  5. can someone explain function 'ara'?
    By feachmarsin in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-19-2006, 08:30 PM
  6. counta function can any one explain the example counting 2
    By pete the greek in forum Excel General
    Replies: 4
    Last Post: 03-30-2006, 05:30 AM
  7. Explain Function problem
    By martin23 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-20-2005, 07:17 AM
  8. Function behaviour, can someone explain please?
    By Ron in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-08-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