Note: The other languages of the website are Google-translated. Back to English
Iniciar sesión  \/ 
x
or
x
Registrarse  \/ 
x

or

¿Cómo convertir la fecha de nacimiento a la edad rápidamente en Excel?

Por ejemplo, obtiene un rango de varios datos de fechas de nacimiento en Excel, y necesita convertir estas fechas de nacimiento para mostrar su valor de edad exacto en Excel, ¿cómo le gustaría averiguarlo? Este artículo enumera algunos consejos para convertir la fecha de nacimiento a la edad en Excel fácilmente.

Método A:
Convierta la fecha de nacimiento en edad con fórmulas

Método B:
Convierta fácilmente la fecha de nacimiento en edad sin recordar fórmulas


Convierta la fecha de nacimiento en edad con fórmulas

Las fórmulas a continuación pueden ayudar a calcular la edad según la fecha de nacimiento en Excel.

Convierta la fecha de nacimiento en edad con la función INT

La función INT puede ayudar a calcular la edad de una persona en función de la fecha de nacimiento determinada, haga lo siguiente.

1. Suponga que hay dos columnas que contienen la fecha de nacimiento y la fecha actual por separado.

2. Seleccione una celda en blanco para generar la edad, ingrese la siguiente fórmula y presione el botón Entrar llave. Seleccione la celda de resultado y luego arrástrela Llene la manija abajo para obtener todos los resultados.

=INT((B2-A2)/365)

Convierta la fecha de nacimiento en edad con la función DATEDIF

La siguiente función DATEDIF también puede ayudar.

Seleccione una celda en blanco para generar la edad, ingrese la fórmula a continuación y presione el Entrar llave. Seleccione la celda de resultado y luego arrástrela Llene la manija abajo para obtener todos los resultados.

=DATEDIF(A2,NOW(),"y")

Convierta la fecha de nacimiento en edad con la función REDONDEAR

Pruebe la función REDONDEAR para calcular la edad según el cumpleaños como se muestra a continuación.

Seleccione una celda en blanco para generar la edad, ingrese la fórmula a continuación y presione el Entrar llave. Seleccione la celda de resultado y luego arrástrela Llene la manija abajo para obtener todos los resultados.

=ROUNDDOWN(YEARFRAC(A2, TODAY(), 1), 0)

Muestra la edad en formato Año + Mes + Día con la función SIFECHA

Si desea mostrar la edad en formato Año + Mes + Día, pruebe la siguiente función DATEDIF.

Seleccione una celda en blanco para generar la edad, ingrese la fórmula a continuación y presione el Entrar llave. Seleccione la celda de resultado y luego arrástrela Llene la manija abajo para obtener todos los resultados.

=DATEDIF(A2,TODAY(),"Y") & " Years, " & DATEDIF(A2,TODAY(),"YM") & " Months, " & DATEDIF(A2,TODAY(),"MD") & " Days"


Convierta fácilmente la fecha de nacimiento en la edad sin recordar fórmulas

Puede convertir fácilmente la fecha de nacimiento en edad sin recordar fórmulas con el Asistente de fecha y hora of Kutools para Excel. 

Antes de aplicar Kutools for Excel, Por favor descargarlo e instalarlo en primer lugar.

1. Seleccione una celda en blanco para generar la edad. Luego haga clic en Kutools > Ayudante de fórmula > Asistente de fecha y hora

2. En el Asistente de fecha y hora cuadro de diálogo, configure de la siguiente manera.

  • 2.1) Ir a la Edad lengüeta;
  • 2.2) en el Fecha de nacimiento cuadro, seleccione la celda que contiene la fecha de nacimiento que convertirá a la edad;
  • 2.3) Elija el Hoy opción en el A sección;
  • 2.4) Especifique un tipo de resultado del Tipo de resultado de salida la lista desplegable;
  • 2.5) Haga clic en OK

Luego, la edad se completa en la celda seleccionada. Seleccione la celda de resultado y luego arrastre el controlador de relleno hasta el final para obtener todas las edades.

Nota:: Si desea mostrar la edad en formato Año + Mes + Día, seleccione Año + Mes + Día from the Tipo de resultado de salida la lista desplegable. Y el resultado se mostrará como se muestra en la siguiente captura de pantalla. También admite mostrar la edad como mes, semana o día según sus necesidades.

  Si desea tener una prueba gratuita (30 días) de esta utilidad, haga clic para descargarloy luego vaya a aplicar la operación según los pasos anteriores.


Artículos relacionados:


Las mejores herramientas de productividad de oficina

Kutools para Excel resuelve la mayoría de sus problemas y aumenta su productividad en un 80%

  • Reutilizar: Inserte rápidamente fórmulas complejas, gráficos y cualquier cosa que hayas usado antes; Cifrar celdas con contraseña; Crear lista de distribución y enviar correos electrónicos ...
  • Barra de súper fórmula (edite fácilmente varias líneas de texto y fórmulas); Diseño de lectura (leer y editar fácilmente un gran número de celdas); Pegar en rango filtrado...
  • Combinar celdas / filas / columnas sin perder datos; Contenido de celdas divididas; Combinar filas / columnas duplicadas... Prevenir celdas duplicadas; Comparar rangos...
  • Seleccione Duplicado o Único Filas; Seleccionar filas en blanco (todas las celdas están vacías); Super Find y Fuzzy Find en muchos libros de trabajo; Selección aleatoria ...
  • Copia exacta Varias celdas sin cambiar la referencia de la fórmula; Crear referencias automáticamente a varias hojas; Insertar viñetas, Casillas de verificación y más ...
  • Extraer texto, Agregar texto, Eliminar por posición, Quitar espacio; Crear e imprimir subtotales de paginación; Convertir entre contenido de celdas y comentarios...
  • Súper filtro (guardar y aplicar esquemas de filtros a otras hojas); Orden avanzado por mes / semana / día, frecuencia y más; Filtro especial en negrita, cursiva ...
  • Combinar libros y hojas de trabajo; Combinar tablas basadas en columnas clave; Dividir datos en varias hojas; Conversión por lotes de xls, xlsx y PDF...
  • Más de 300 potentes funciones. Compatible con Office / Excel 2007-2019 y 365. Compatible con todos los idiomas. Fácil implementación en su empresa u organización. Características completas Prueba gratuita de 30 días. Garantía de devolución de dinero de 60 días.
pestaña kte 201905

Office Tab lleva la interfaz con pestañas a Office y hace que su trabajo sea mucho más fácil

  • Habilite la edición y lectura con pestañas en Word, Excel, PowerPoint, Publisher, Access, Visio y Project.
  • Abra y cree varios documentos en nuevas pestañas de la misma ventana, en lugar de en nuevas ventanas.
  • ¡Aumenta su productividad en un 50% y reduce cientos de clics del mouse todos los días!
officetab parte inferior
Say something here...
symbols left.
You are guest
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.
    srinu · 1 years ago
    How to convert age to date of birth
  • To post as a guest, your comment is unpublished.
    Chaim Lederfeind · 1 years ago
    Hi Catherine,

    thank you so much for your formula! I am a related service provider for many students with various ages in a school setting. thanks to your formula, the student's age is in front of me during each session, and I am able to adjust session goals appropriately.
  • To post as a guest, your comment is unpublished.
    sami muhammad · 1 years ago
    thanks you so much very very good formula
  • To post as a guest, your comment is unpublished.
    rg · 1 years ago
    Just wanted to say THANK YOU!
  • To post as a guest, your comment is unpublished.
    arbazalamkhan123456@gmail.com · 3 years ago
    Do not show the Detedif Formula in my Excel
    What to do Know?
  • To post as a guest, your comment is unpublished.
    crystal · 3 years ago
    @elsie 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.
    elsie · 3 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.
    Usama · 3 years ago
    Thanks soooooo much dear....!
  • To post as a guest, your comment is unpublished.
    crystal · 3 years ago
    @Alfred 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.
    Alfred · 3 years ago
    please do i calculate the birth date from age
  • To post as a guest, your comment is unpublished.
    lep · 3 years ago
    Leap years! 365.25
  • To post as a guest, your comment is unpublished.
    Amelia · 3 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 · 3 years ago
    Thank you Catherine,
    for the whole-hearted appreciation of my solution!
  • To post as a guest, your comment is unpublished.
    Catherine · 3 years ago
    @Catherine 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 · 3 years ago
    @Catherine 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 · 3 years ago
    @Catherine 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.
    Catherine · 3 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.
    Reuben Mkumbo · 3 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 · 3 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 · 4 years ago
    how can i get the year of birth??
  • To post as a guest, your comment is unpublished.
    Arun · 4 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.
    JENNIEJEN · 4 years ago
    @Thom H THOM H...
    thank you so much... you're the best!
  • To post as a guest, your comment is unpublished.
    Mubeen · 4 years ago
    @Rasel yes its very helpful for me. i easily understand. :)
  • To post as a guest, your comment is unpublished.
    MAJID · 4 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 · 4 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` · 4 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.
    SUBRAMANIAN K` · 4 years ago
    @Cedric 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.
    Cedric · 4 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.
    Kishore Tholana · 4 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 · 4 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 · 4 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 · 5 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 · 5 years ago
    This function is great. Very easy to understand. Thanks!
  • To post as a guest, your comment is unpublished.
    Moon · 5 years ago
    =DATEDIF(B10,NOW(),"Y")

    Work great for me thank you!!!
  • To post as a guest, your comment is unpublished.
    # Subramanian K` · 5 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 · 5 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.
    Thom H · 5 years ago
    @Subramanian K 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.
    Rasel · 5 years ago
    @Daini Malhotra a problem i faced. like: birth date = 1st Nov.'2014, today is 31st Dec.'2015 then the result comes = 1 year, 1 month, 30 days, but the days should be 1day more i.e. 31 days. how can I do this in the above formula? pls help
  • To post as a guest, your comment is unpublished.
    Velmurugan rengaraja · 5 years ago
    It is amazing to understand and very very useful.
  • To post as a guest, your comment is unpublished.
    Subramanian K · 5 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.
    Subramanian K · 5 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.
    Thom · 5 years ago
    @Narsing rao K 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.
    Thom · 5 years ago
    @JAGDISH BAUDH Hi Jagdish,

    Could you please clarify what exactly you need to do? Did you want to work out the date but roll it back by 1 day, 2 months and three years? if so, I'd go with method D (Date Difs) to get each one (year, months and days and wrap each datedif within an =sum() and minus the needed difference form each them. Happy to provide an example if you can clarify what exactly you're after :)
    Thanks,

    Thom
  • To post as a guest, your comment is unpublished.
    Steve Konz · 5 years ago
    @Atomicpetro 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.
    Steve Konz · 5 years ago
    @Thom h 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.
    Steve Konz · 5 years ago
    @Channing 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.
    Narsing rao K · 5 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.
    Gatewarden · 5 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.
    mario · 5 years ago
    @Krista 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.
    Thom h · 5 years ago
    @Atomicpetro 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