Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If F1 has a hire date, how would you write the formula to show the number of
years, months, and days in F2, something like today()-F1 or now()-F1. I can't get it to show the total years, months and days. Thanks in advance! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Try datedif function, see here http://www.cpearson.com/excel/datedif.htm -- daddylonglegs ------------------------------------------------------------------------ daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486 View this thread: http://www.excelforum.com/showthread...hreadid=514571 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=DATEDIF(F1,TODAY(),"Y")&" years, "&DATEDIF(F1,TODAY(),"YM")&" months
"&DATEDIF(F1,TODAY(),"MD")&" days" -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Richard" wrote in message ... If F1 has a hire date, how would you write the formula to show the number of years, months, and days in F2, something like today()-F1 or now()-F1. I can't get it to show the total years, months and days. Thanks in advance! |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try...
=DATEDIF(F1,TODAY(),"Y")&" Years, "&DATEDIF(F1,TODAY(),"YM")&" Months, "&DATEDIF(F1,TODAY(),"MD")&" Days" Hope this helps! In article , "Richard" wrote: If F1 has a hire date, how would you write the formula to show the number of years, months, and days in F2, something like today()-F1 or now()-F1. I can't get it to show the total years, months and days. Thanks in advance! |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=DATEDIF(F1,NOW(),"y") & " years, " & DATEDIF(F1,NOW(),"ym") & " months, " &
DATEDIF(F1,NOW(),"md") & " days" "Richard" wrote in message ... If F1 has a hire date, how would you write the formula to show the number of years, months, and days in F2, something like today()-F1 or now()-F1. I can't get it to show the total years, months and days. Thanks in advance! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Dynamic Range with unused formula messing up x axis on dynamic graph | Charts and Charting in Excel | |||
Trending Formula Results by Date | Excel Worksheet Functions | |||
Year-to-date year to date formula | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Need help troubleshooting an array formula XLXP on Win2K | Excel Worksheet Functions |