팁 : 다른 언어는 Google 번역입니다. 방문하실 수 있습니다. English 이 링크의 버전.
로그인
x
or
x
x
회원가입
x

or

Excel에서 생년월일을 빠르게 변환하는 방법은 무엇입니까?

예를 들어 Excel에서 여러 가지 다양한 생년월일 데이터를 얻었으므로 이러한 생년월일을 Excel로 정확한 나이 값을 표시하도록 변환해야합니다. 어떻게 계산 하시겠습니까? 이 기사에서는 생년월일을 쉽게 Excel로 변환 할 수있는 몇 가지 팁을 제공합니다.

방법 A :
수식을 사용하여 생년월일로 변환

방법 B :
수식을 기억하지 않고 쉽게 생년월일로 변환


Excel에서 생년월일로 변환하기위한 몇 번의 클릭 :

생일을 기준으로 연령 계산 의 기능 Excel 용 Kutools 몇 번의 클릭만으로 쉽게 생년월일로 변환 할 수 있습니다.
Excel 용 Kutools의 모든 기능을 갖춘 30 일 무료 트레일을 지금 다운로드하십시오!


수식을 사용하여 생년월일로 변환

방법 A : 뺄셈을 통해 생년월일로 변환

보통 우리는 주어진 생일을 빼고 현재 날짜를 가진 누군가의 나이를 알아 낸다. Excel에서도 마찬가지입니다.

1 단계 : 셀 B2016의 4 / 7 / 2과 같이 빈 셀에 현재 날짜를 입력하십시오.

2 단계 : 다른 빈 셀 (셀 C2)에 공식 = INT ((B2-A2) / 365), 그리고 엔터 버튼 키.

방법 B : DATEDIF 함수를 사용하여 생년월일 변환

어떤 사람들은 DATEDIF 함수를 적용하여 나이를 계산하기를 원합니다. 수식 입력 = DATEDIF (A2, NOW (), "y") 공백 셀에서를 누르면 즉시 나이를 계산합니다. 엔터 버튼 키.

방법 C : ROUNDDOWN 함수를 사용하여 생년월일로 변환

생년월일로 변환하는 또 다른 기능은 다음과 같습니다. = 라운드 다운 (YEARFRAC (A2, 오늘 (), 1), 0)27와 같은 표준 연령을 알아낼 것입니다.

방법 D : DATEDIF 함수로 정확한 연령으로 변환

때로는 정확한 연령이 필요하며 생년월일부터 현재 날짜까지 몇 년, 몇 개월, 며칠인지 알고 싶어 할 수 있습니다. 다음 수식을 통해 파악할 수 있습니다.

& DATEDIF (A2, TODAY (), "MD") & DATEDIF (A2, TODAY (), "Y") & "연도"& DATEDIF (A2, 오늘 (), "YM") & "일"

위의 스크린 샷을 보면 23 Years, 8 Months, 14 Days와 같은 정확한 결과가 표시됩니다.

수식이 너무 복잡해서 기억하지 못합니까? 그만큼 자동 텍스트 특징 Excel 용 Kutools 앞으로 단 한 번의 클릭으로 재사용 할 수있는 자동 텍스트 항목으로 공식을 저장할 수 있습니다! 수식 바에서 수식을 선택한 다음 아래 스크린 샷과 같이 자동 텍스트 창의 지정된 자동 텍스트 그룹에 추가하면됩니다. 30 일 동안 무료 평가판 다운로드.


생년월일로 쉽게 변환 수식을 기억하지 않고

수식을 기억하지 않고 쉽게 생년월일로 변환 할 수 있습니다. 생일을 기준으로 연령 계산 의 기능 Excess를위한 Kutoolsl.

Excel 용 Kutools : 300 이상의 편리한 Excel 추가 기능, 30 일 동안 제한없이 시도해보세요..

1. 연령 찾기를 위해 빈 셀을 선택하십시오. 그런 다음 Kutools > 수식 도우미 > 생일을 기준으로 연령 계산. 스크린 샷보기 :

2. 에서 수식 도우미 대화 상자에서 계산해야하는 생년월일의 셀을 선택하십시오. 등록일 상자를 클릭 한 다음 OK 단추. 스크린 샷보기 :

3. 클릭 후 OK 에서 수식 도우미 대화 상자에서 생년월일을 기준으로 선택한 빈 셀에 즉시 나이가 채워집니다. 생년월일로 변환해야하는 셀로 채우기 핸들을 끌 수 있습니다. 스크린 샷보기 :

이 유틸리티의 무료 평가판 (60-day)을 원한다면, 그것을 다운로드하려면 클릭하십시오, 위의 단계에 따라 작업을 적용하십시오.


수식을 기억하지 않고 쉽게 생년월일로 변환

Excel 용 Kutools 300 이상의 편리한 Excel 도구를 포함합니다. 30 일 동안 무료로 사용해 볼 수 있습니다. 무료 평가판을 지금 다운로드하십시오!


관련 기사:


Excel 용 Kutools는 대부분의 문제를 해결하고 생산성을 80 % 증가시킵니다.

  • 재사용: 빠르게 삽입 복잡한 수식, 차트 그리고 당신이 전에 사용했던 것; 셀 암호화 비밀번호로; 메일 링리스트 만들기 그리고 이메일을 보내 ...
  • 슈퍼 포뮬러 바 (여러 줄의 텍스트와 수식을 쉽게 편집); 레이아웃 읽기 (많은 셀을 쉽게 읽고 편집); 필터링 된 범위에 붙여 넣기...
  • 셀 / 행 / 열 병합 데이터 손실없이; 분할 셀 내용; 중복 행 / 열 결합... 중복 세포 방지; 범위 비교...
  • 복제 또는 고유를 선택하십시오. 행; 빈 행 선택 (모든 세포는 비어있다); 슈퍼 찾기 및 퍼지 찾기 많은 통합 문서에서; 랜덤 선택 ...
  • 정확한 사본 공식 참조를 변경하지 않는 다중 셀; 참조 자동 작성 여러 장에; 글 머리 기호 삽입, 확인란 등 ...
  • 텍스트 추출, 텍스트 추가, 위치 별 제거, 공간 제거; 페이징 소계 생성 및 인쇄; 셀 내용과 주석 간 변환...
  • 수퍼 필터 (필터 구성표를 저장하고 다른 시트에 적용); 고급 정렬 월 / 주 / 일별, 빈도 등; 특수 필터 대담하고 기울임 꼴로
  • 통합 문서와 WorkSheets 결합; 키 열을 기준으로 테이블 병합 데이터를 여러 시트로 분할; 일괄 변환 xls, xlsx 및 PDF...
  • 300 이상의 강력한 기능. Office / Excel 2007-2019 및 365를 지원합니다. 모든 언어를 지원합니다. 기업이나 조직에 쉽게 배포 할 수 있습니다. 30 일 무료 평가판 전체 기능.
kte 탭 201905

Office 탭 Office에 탭 인터페이스를 제공하여 작업을 훨씬 쉽게

  • Word, Excel, PowerPoint에서 탭 편집 및 읽기 사용, 게시자, 액세스, Visio 및 프로젝트.
  • 새 창보다는 동일한 창에서 새 탭으로 여러 문서를 열고 만들 수 있습니다.
  • 50 %만큼 생산성을 높이고 매일 수백 번의 마우스 클릭을 줄입니다!
오피셜
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Arbaz Khan · 1 years ago
    Do not show the Detedif Formula in my Excel
    What to do Know?
  • To post as a guest, your comment is unpublished.
    elsie · 1 years ago
    if I have their id number how to get their age example their id no consist first 6digit is date of birth

    example 830901056252 , 830901 is date of birth.

    how to take calculate their age
    • To post as a guest, your comment is unpublished.
      crystal · 1 years ago
      Dear elsie,
      Please try this formula: =DATEDIF(DATE(IF(LEFT(A2,2)>TEXT(TODAY(),"YY"),"19"&LEFT(A2,2),"20"&LEFT(A2,2)),MID(A2,3,2),MID(A2,5,2)),TODAY(),"y"). A2 is the cell contains the ID number you want to calculate the age based on.
  • To post as a guest, your comment is unpublished.
    Usama · 1 years ago
    Thanks soooooo much dear....!
  • To post as a guest, your comment is unpublished.
    Alfred · 1 years ago
    please do i calculate the birth date from age
    • To post as a guest, your comment is unpublished.
      crystal · 1 years ago
      Good Day,
      This formula =DATE(YEAR(TODAY())-A1,MONTH(TODAY()),DAY(TODAY())) can help you to calculate the birthday from a given age based on today's date.
  • To post as a guest, your comment is unpublished.
    lep · 2 years ago
    Leap years! 365.25
  • To post as a guest, your comment is unpublished.
    Amelia · 2 years ago
    Can you add an if clause so that if the DOB column is blank the AGE column will also be blank?
  • To post as a guest, your comment is unpublished.
    SUBRAMANIAN K · 2 years ago
    Thank you Catherine,
    for the whole-hearted appreciation of my solution!
  • To post as a guest, your comment is unpublished.
    Catherine · 2 years ago
    I have used the following to calculate the age of children in my class.
    =DATEDIF(B4,TODAY(),"Y")&"."&DATEDIF(B4,TODAY(),"YM")

    with B4 being their date of birth. It produces the correct answer (eg) 9.11

    They take tests 3 months later so I need in another cell to calculate '+3' months. But each time I do this I get 9.14 when I need it to say 10.2

    Can anyone help.
    Thanks
    • To post as a guest, your comment is unpublished.
      Catherine · 2 years ago
      YOU ARE AMAZING!!! It worked fantastically. I can now convert all the data for tests from the children in my class using this and I don;t have to work out their age each time. This makes my job much quicker and easier.
      THANKYOU!
    • To post as a guest, your comment is unpublished.
      SUBRAMANIAN K · 2 years ago
      Unclear my post went through or not, in response to Catherine's query.

      Repeat my formula which finds the difference between cell B4 contents and a date TODAY() advanced by 3 months:

      =DATEDIF(B4,DATE(YEAR(TODAY()),MONTH(TODAY())+3,DAY(TODAY())),"Y")&"."&DATEDIF(B4,DATE(YEAR(TODAY()),MONTH(TODAY())+3,DAY(TODAY())),"YM")
    • To post as a guest, your comment is unpublished.
      SUBRAMANIAN K · 2 years ago
      The DATEDIF formula used to give the Years and Months in a YY.MM format is understandable. However, each of the 2 components of this formula is a separate number, integer. So, adding 3 to the MM part will only give 14 if it is 11 before the addition. The formula does not know you are looking to set it up as a MONTH.

      So, if you get the DATEDIF between B4, and a date which is a valid date but 3 months after TODAY(), try the following formula, works for me and gave 10.2:

      =DATEDIF(B4,DATE(YEAR(TODAY()),MONTH(TODAY())+3,DAY(TODAY())),"Y")&"."&DATEDIF(B4,DATE(YEAR(TODAY()),MONTH(TODAY())+3,DAY(TODAY())),"YM")

      Please confirm it worked for you.
  • To post as a guest, your comment is unpublished.
    Reuben Mkumbo · 2 years ago
    Hi! how to calculate running out date (ROD), if i have a date of birth(DOB). i want that, if enter DOB the ROD can display automatically. i.e i was born in 23 Jan 1998 i need to display automatically ROD. Please help me
  • To post as a guest, your comment is unpublished.
    Reuben Mkumbo · 2 years ago
    How to calculate the retied date, if have date of birth(DOB)? i want to display automatic once enter DOB, the retied date display
  • To post as a guest, your comment is unpublished.
    Kim93 · 2 years ago
    how can i get the year of birth??
  • To post as a guest, your comment is unpublished.
    Arun · 2 years ago
    [b]Very helpful....Now I knew how to convert date in text and count years. :roll: [/b]
  • To post as a guest, your comment is unpublished.
    MAJID · 2 years ago
    DEAR SIR KINDLY HELP TO FIND OUT MY DATE OF APPOINTMENT OF SERVICE , MY SERVICE LENGTH IS 24 YEARS 6 MONTH & 5 DAYS ON DATE 24 DECEMBER 2016 KINDLY SUGGEST FORMULA TO FIND OUT DATE OF APPOINTMENT I SHALL REMAIN THANKFUL TO YOU.
  • To post as a guest, your comment is unpublished.
    Matt Viverette · 2 years ago
    One should be careful using Method C, with the YEARFRAC() function, because of rounding error in computations involving leap years. You will calculate the incorrect age for people born in a leap year.

    Example:
    John Smith was born on 6/5/1932. 1932 is a leap year. Compute John Smith's age on 6/5/2002. We would say John Smith is 70 years old on his 70th birthday, 6/5/2002. However, because YEARFRAC(DATE(1932,6,5),DATE(2002,6,5), 1) computes to 69.99795627, adding ROUNDDOWN computes to 69. In fact, John is 70. I'm not sure if this is the best solution, but I've added a precise day to the computation, which I assume shouldn't affect other calculations because it is shorter than the formula assumes a day to be.

    (1/365.2422) is a precise day when accounting for leap years

    My adjusted YEARFRAC is:

    YEARFRAC(DATE(1932,6,5),DATE(2002,6,5), 1)+(1/365.2422) which computes to 70.00069418 and when combined with ROUNDDOWN, gives 70.

    Putting it all together according to the references in the article:
    =ROUNDDOWN(YEARFRAC(A2, TODAY(), 1)+(1/365.2422), 0)
  • To post as a guest, your comment is unpublished.
    SUBRAMANIAN K` · 2 years ago
    Correction to what I just posted, the data is sitting in Cells B2:C13 (not A1:B12)
  • To post as a guest, your comment is unpublished.
    Cedric · 3 years ago
    What formula can I use to obtain the invoice amount for a specific month from a list of months with balances.
    • To post as a guest, your comment is unpublished.
      SUBRAMANIAN K` · 2 years ago
      Month Invoice Amount Assume cells A1 through B12 contain the 12 month
      Jan 810 names and amounts to invoive as at left.
      Feb 1200 For month Jan
      Mar 850 Invoie Amount 810
      Apr 930
      May 1250 The formula entered in the cell above here
      Jun 1300 framed above is
      Jul 1100
      Aug 820 =VLOOKUP(G3,$B$2:$C$13,2,FALSE)
      Sep 750
      Oct 875
      Nov 980
      Dec 1450

      Cedric, please confirm this answers your query
  • To post as a guest, your comment is unpublished.
    Kishore Tholana · 3 years ago
    Thanks a lot for the formula. I got the desired result. Many thanks to the thread poster.

    Regards,

    KT
  • To post as a guest, your comment is unpublished.
    Krishna Gupta · 3 years ago
    6/4/1990 in A2

    =TEXT(TODAY()-A2,"YY")&" Years, "&TEXT(TODAY()-A2,"mm")&" Months, "&TEXT(TODAY()-A2,"dd")&" Days"

    use this simple formula and get answer as below :

    26 Years, 03 Months, 15 Days
  • To post as a guest, your comment is unpublished.
    ANNYONG · 3 years ago
    my problem is that when I used the formula and drag it down it will just copy the value of the first cell. .

    I have to enter it one by one.
  • To post as a guest, your comment is unpublished.
    Wendy · 3 years ago
    I want to find out the number of days from 8 May 2016 to 31 July 2016. Is there a formula for this?
  • To post as a guest, your comment is unpublished.
    Ranil Somarathna · 3 years ago
    This function is great. Very easy to understand. Thanks!
  • To post as a guest, your comment is unpublished.
    Moon · 3 years ago
    =DATEDIF(B10,NOW(),"Y")

    Work great for me thank you!!!
  • To post as a guest, your comment is unpublished.
    # Subramanian K` · 3 years ago
    Responding to Beloved 2016-03-04:2016-03-04 in my yahoo mail box.Somehow, I thought they were not directed at me as I don't seem to have given details with commas, spaces, etc. I had only suggested the use of YEARFRAC() instead of DATEDIF function which i wasn't getting on my Excel. A clarification is welcome.
  • To post as a guest, your comment is unpublished.
    Beloved · 3 years ago
    Your teachings COULD be helpful but they are DEFINITELY NOT! Not because they are wrong per se but simply because 1. why do you use comma's (,) when Excel only accepts semi-colons (;) really beats me? 2. why do you put spaces in your examples when Excel NEVER accepts spaces?? Your work could be helpful but it confuses people instead. So, a perfectly good answer fails to produce the desired result practically on Excel because of YOUR carelessness. You spoil your own good work!...
  • To post as a guest, your comment is unpublished.
    Velmurugan rengaraja · 3 years ago
    It is amazing to understand and very very useful.
  • To post as a guest, your comment is unpublished.
    Subramanian K · 3 years ago
    I couldn't find DATEDIF() in my Excel but YEARFRAC() did it. Hope it is reliable, any comment anyone?
    • To post as a guest, your comment is unpublished.
      Thom H · 3 years ago
      Datedif is better, but was only introduced on more recent versions of Excel. I believe you can use it as far back as 2003, but it won't give you any autosum guidance (You can still use it though!)
  • To post as a guest, your comment is unpublished.
    Subramanian K · 3 years ago
    In my Excel, I could not get the DATEDIF() function for whatever reason. Yet, I got a YEARFRAC() function which seems to do the same. Hope it is reliable.

    Any comment anyone?
  • To post as a guest, your comment is unpublished.
    Narsing rao K · 4 years ago
    how to convert date of birth in to worlds

    02/02/1966
    second february nineteen sixty six
    • To post as a guest, your comment is unpublished.
      Thom · 4 years ago
      I have a feeling date functions may do this in later versions of Excel i.e. =month() etc. If not, you'll need to create a table with the number in the first column i.e. 1-12 and months in the 2nd column Jan-Dec) then use vlookups so that the function can convert the numbers into the correct text. A lot of fun to be had there as I once wrote a sheet that did this very thing, there was further issues involved in using the correct affix i.e. nd rd st or th. Again, lookup tables did that and I was able to shorten the funtions calculations by using if statements instead but that was very fiddly and half the time I found myself trying to use PHP which would do the job in no time! Have a look around online as someone's likely done some VBA that'll do the trick or KUTools probably have something.
  • To post as a guest, your comment is unpublished.
    Gatewarden · 4 years ago
    I have about 100 cells with the calculated age as you done.
    Is there any easy way to make groupings on all that are the age of 10 etc.

    I have automated the document as we will have more people in all the time so I need automated groupings as well.

    Any suggestions?

    /Jacob
  • To post as a guest, your comment is unpublished.
    Jaspreet · 4 years ago
    Hello
    Retirement age is 60 years and last date of each month and the formula works, but in our case if an employee's date of birth falls on 1st of any month then he/she will retire on the previous months last date. (eg. employee 1 DOB is 03/01/1960 then output needed is 28-02-2020 and employee 2 DOB is 03/02/1960 then 31-03-2020)
  • To post as a guest, your comment is unpublished.
    Miranda Creed-Miles · 4 years ago
    Brilliant tips!
    Really worked well! If you want the age to display as a single number on Method B - just format the cell to 'Number' with no decimal points - it works!! Hurrah!!
  • To post as a guest, your comment is unpublished.
    Channing · 4 years ago
    Literally none of these worked. When I subtract, it just gives me another date like 03/03/1953
    • To post as a guest, your comment is unpublished.
      Steve Konz · 4 years ago
      Channing,

      Can you provide cell references and what data is entered in them along with your formula and that cell reference?

      First thought is you should format your result as a number instead of Date. That might be your issue.
  • To post as a guest, your comment is unpublished.
    Atomicpetro · 4 years ago
    Another question in regards to age. How can I get the age in cell B2 [age?] when I have in Cell A2 [26/06/1966] and in Cell B1 [2013] just the year. Thanks.
    • To post as a guest, your comment is unpublished.
      Steve Konz · 4 years ago
      Are you just trying to get the age they will be in the year of B1? If so, then just do B2 =(B1-(YEAR(A2)))

      If that's not what you are looking for, can you explain what it is you need in more detail?
    • To post as a guest, your comment is unpublished.
      Thom h · 4 years ago
      Swap the reference to cell b1 with =date then you build the date with three values: year, month and day. You reference b1 add the year then you'll just have to put 01 as the year and month. Or you could steal the dates from cell b2 using =month and =day
  • To post as a guest, your comment is unpublished.
    guru · 4 years ago
    It is Nice i think it good to learn to Excel 8) :roll: :P
  • To post as a guest, your comment is unpublished.
    Steve Konz · 4 years ago
    Here is one i have that accounts for leap days (well it excludes them pretty much)


    =IF((DATEDIF((DATE((YEAR(C3)+(DATEDIF(C3,C2,"y"))),MONTH(C3),DAY(C3))),C2,"d"))=365,(DATEDIF(C3,C2,"y"))+((DATEDIF((DATE((YEAR(C3)+(DATEDIF(C3,C2,"y"))),(MONTH(C3)),(DAY(C3)))),C2,"d")-1)/365),(DATEDIF(C3,C2,"y"))+((DATEDIF((DATE((YEAR(C3)+(DATEDIF(C3,C2,"y"))),(MONTH(C3)),(DAY(C3)))),C2,"d"))/365))

    C2 = Current Date - could use TODAY()
    C3 = DOB
  • To post as a guest, your comment is unpublished.
    Steve Konz · 4 years ago
    Not sure if this was covered, but a lot of people right these and don't consider leap years when looking at the difference in days. Here is one I wrote that considers leap year rules (even for the 100 & 400 year rules)....


    =IF((DATEDIF((DATE((YEAR(A2)+(DATEDIF(A2,A1,"y"))),MONTH(A2),DAY(A2))),A1,"d"))=365,(DATEDIF(A2,A1,"y"))+((DATEDIF((DATE((YEAR(A2)+(DATEDIF(A2,A1,"y"))),(MONTH(A2)),(DAY(A2)))),A1,"d")-1)/365),(DATEDIF(A2,A1,"y"))+((DATEDIF((DATE((YEAR(A2)+(DATEDIF(A2,A1,"y"))),(MONTH(A2)),(DAY(A2)))),A1,"d"))/365))


    where A2 is the date of birth, and A1 is the current date (which could be replaced with TODAY() also.

    Please let me know if there are any flaws in this or simpliar ways to calculate it.
    • To post as a guest, your comment is unpublished.
      Thom h · 4 years ago
      Excellent function, Steve. I believe datedif also does consider leap years :) yours looks very similar to something I wrote a couple of years ago add the client wanted to account for leap years and didn't trust datedif
      • To post as a guest, your comment is unpublished.
        Steve Konz · 4 years ago
        If I recall correctly, but datedif wasn't the issue regarding leap years. Once you get the number of days difference and you need to identify a specific date at which they will turn an age is when you need to factor in leap days. The second formula I wrote below does account for those days. If you don't consider that in the formula when you forecast you will be off by a few days.
  • To post as a guest, your comment is unpublished.
    Chris · 4 years ago
    Method D is exactly what I've been looking for, minus the day portion (easily removed). I've created an inventory of PCs for my company, and am using this to calculate hardware age based on purchase date. My question is this - is there a way to take this formula and make it so that I can essentially click a button to have it applied to a cell, and then just be able to then select the cell I want it to do the calculation on? Otherwise, I'm looking at having to copy/paste the formula to several hundred cells, and then go and manually change the target cell in each one.

    Thanks.
    • To post as a guest, your comment is unpublished.
      Thom h · 4 years ago
      Just create a macro to take the selected cell, and dump the Function next to it, referencing that cell. You'll need to look in another thread to find macro guidance. It just drag the cell down
  • To post as a guest, your comment is unpublished.
    Shephard · 4 years ago
    Hello,
    I have added the formula for age that works well. I was able to continue the formula down the entire column which is what I needed. The issue is that a computed "age" appears in each cell despite the fact that I have not filled in a birthdate. ie: everything below the correct calculations in the column reads 115 years as a default. Is there a way to make the age cell blank until a value is placed in the birthdate cell so as not to see ongoing "115's?" Thanks in advance~
  • To post as a guest, your comment is unpublished.
    raksmey · 4 years ago
    I really appreciate with this fomular.
    :D
  • To post as a guest, your comment is unpublished.
    KELSEY · 4 years ago
    I like the "Method B" format when figuring out the age. I'm wondering if there is a way to have the years old and just the months old if younger than 2 using that format. Thanks!
    • To post as a guest, your comment is unpublished.
      Thom H · 4 years ago
      Hi Kelsey,

      Option B (DATEDIF()) only gives you the years as a number value - did you perhaps mean option D? I've added an IF statement to Option B, so that it only shows the months and yeards if the person is 2 or under:
      =IF(DATEDIF(A2,NOW(),"y")
  • To post as a guest, your comment is unpublished.
    Krista · 4 years ago
    Hello, I have a column in my spreadsheet for birth date, that is formatted as DD-Mon-YY (ie 11-Feb-03 for my son that was born on February 11, 2003). I used the =DATEDIF function referenced above and it is returning 115 Years, 2 Months, 11 Days. What is wrong and how do I correct it? Thanks for your help.
    =DATEDIF(E13,TODAY(),"Y") & " Years, " & DATEDIF(E13,TODAY(),"YM") & " Months, " & DATEDIF(E13,TODAY(),"MD") & " Days"
    Note: When I type =today() in a cell it is correctly listing 11-Mar-15 as today's date.
    Also note: The regional settings in my control panel list short date as dd-MMM-yy, so I don't think this would be the problem.
    • To post as a guest, your comment is unpublished.
      Thom H · 4 years ago
      Hi Krista,
      That would be the length of time since Excel's callander started :P

      You're getting that because the cell you're referencing is blank - is you r son's DOB in Cell E13? Because that's the Cell it's calculating from.

      Possible fixes:
      - Your function contains errors, please see the corrected one below:
      =DATEDIF(E13,TODAY(),"Y") & " Years, " & DATEDIF(E13,TODAY(),"YM") & " Months, " & DATEDIF(E13,TODAY(),"MD") & " Days"

      - You need to use the format option to format it correctly as a date. i.e. to make it read in that format you'll need to go to the 'Custom' option under format and enter:[$-809]dd-mmm-yy;@ Under 'Type'

      - If you're just typing it in like that, it probably won't read it as a date, you need to enter it as 11/02/2003

      This will give you "12 Years, 1 Months, 1 Days"

      Thanks,

      Thom
      • To post as a guest, your comment is unpublished.
        Krista · 4 years ago
        Oops. LOL I had drafted this long note to you telling you it was still not working, when I noticed you were right...cell E13 was empty. My son's DOB is in cell E15. Oops. LOL Thanks for your kind help. It's working now. :) Have a great day!!
        • To post as a guest, your comment is unpublished.
          mario · 4 years ago
          Krista Check your E13 Column it must be blank, thats why you get 115 Years, change e13 to correct column number
  • To post as a guest, your comment is unpublished.
    Tanja · 4 years ago
    Hi,

    How do I convert fx 25102002 into a date and than age?
    • To post as a guest, your comment is unpublished.
      Thom H · 4 years ago
      Hi Tanja,

      I'm assuming that would be the 25th October 2002? Is the FX part of the box? If so, I'd start with =right(A1,8) which would give you the last eight digits from cell A1, so if Cell A1 contained "fx 25102002" it would simply return "25102002". Now to convert that 8 digit string into a palatable date, I'd use the =date() function. I've done one for you, you just need to switch the A1 with the cell that contains your function =DATE(RIGHT(A1,4),RIGHT(LEFT(A1,4),2),LEFT(A1,2))
      Thanks, Thom
  • To post as a guest, your comment is unpublished.
    Kimberley Woodward · 4 years ago
    hi what would the formula be to work out a child's date of birth in exact months (so 24/02/13 = 24mths?)

    I am an early years teacher and we work in months not years and months.

    Can you help?

    Kimberley
    • To post as a guest, your comment is unpublished.
      Thom H · 4 years ago
      Hi Kimberley,
      Datedif would do that for you, Just use =DATEDIF(A1,TODAY(),"m") Assuming the DOB is in Cell A1.
      Thanks,
      Thom
  • To post as a guest, your comment is unpublished.
    rowena · 4 years ago
    Hi thanks! ;-)
    Its abig help for me having your tips....
  • To post as a guest, your comment is unpublished.
    B Kumar · 4 years ago
    Hi Thom,
    Kindly Help me i am not understand this formula.
    Please calculate my date of birth explained me my date of birth 15/09/1988
    • To post as a guest, your comment is unpublished.
      Thom H · 4 years ago
      Hi B Kumar,
      I'm afraid I don't follow your question. Could you please clarify for me?
      Thanks, Thom
  • To post as a guest, your comment is unpublished.
    Carlos Somarriba · 4 years ago
    Great!!! All formulas works perfect. Thank you so much.
  • To post as a guest, your comment is unpublished.
    Manoj · 4 years ago
    Is there any way to convert age into date of birth. I have a sheet with name and age of customers as if age in years only. Is there any way to have DOB as result
    • To post as a guest, your comment is unpublished.
      Thom H · 4 years ago
      Hi Manoj,
      You wouldn't really be able to get the exact date of birth, unless you knew how old they were exactly i.e. 20 years, 50 days. You could calculate it to year by doing something like =YEAR(TODAY())-A1 assuming their current age was in Cell A1.
      Thanks,
      Thom
  • To post as a guest, your comment is unpublished.
    Pedro · 4 years ago
    Its was very easy to follow and all the possible options for me to decide which was the best that accommodate my needs. Thanks :-) ;-) :lol:
  • To post as a guest, your comment is unpublished.
    Tanmay Chanda · 4 years ago
    Its Very helpful many many thanks.....
  • To post as a guest, your comment is unpublished.
    David84* · 5 years ago
    Many thanks for this, just got me out of a tight spot at work! Stay classy, excel geniuses.