Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How would one make a formula in Microsoft Excel for a
birthdays database that would be able to give the age of a person by knowing the persons birthdate and birthyear and of course today's date and year? Is there a way to make this formula, and to make it so you can input either the age or birthdate and birthyear and get the output of the age or birthdate and birthyear? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi doman,
if you put the date you want in A1 and the following formula in B1 will give a result like xx years, xx months, xx days =DATEDIF(A1,TODAY(),"Y") &" Year, "& DATEDIF(A1,TODAY (),"ym")&" Months, " & DATEDIF(A1,TODAY(),"md") &" Days" Abdul Salam -----Original Message----- How would one make a formula in Microsoft Excel for a birthdays database that would be able to give the age of a person by knowing the persons birthdate and birthyear and of course today's date and year? Is there a way to make this formula, and to make it so you can input either the age or birthdate and birthyear and get the output of the age or birthdate and birthyear? . |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks, I'll give that a try.
-----Original Message----- Hi doman, if you put the date you want in A1 and the following formula in B1 will give a result like xx years, xx months, xx days =DATEDIF(A1,TODAY(),"Y") &" Year, "& DATEDIF(A1,TODAY (),"ym")&" Months, " & DATEDIF(A1,TODAY(),"md") &" Days" Abdul Salam -----Original Message----- How would one make a formula in Microsoft Excel for a birthdays database that would be able to give the age of a person by knowing the persons birthdate and birthyear and of course today's date and year? Is there a way to make this formula, and to make it so you can input either the age or birthdate and birthyear and get the output of the age or birthdate and birthyear? . . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I sort birthdays? | Excel Discussion (Misc queries) | |||
Highlight birthdays | Excel Worksheet Functions | |||
Excel & birthdays | Excel Discussion (Misc queries) | |||
birthdays - determining when due | Excel Discussion (Misc queries) | |||
Sorting birthdays by month and day | Excel Discussion (Misc queries) |