Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Oh great excel gurus,
I've read the threads on doing an age calculation, but I'm still getting a "#NAME?" error. I need to display the age of dependents in months and years. I've set up my columns so that column AI3 has the birthdate displayed as 10/29/2000, and column AJ3 has the formula =TODAY(). I tried to display the age in column AK3 by inserting the following formula: =DATEIF(AI3,AJ3,"Y") & "YEARS," & DATEIF(AI3,AJ3,"YM") & "Months," & DATEIF(AI3,AJ3,"MD") & "Days" Reagrdless of how I format the cell (general,number,text, etc) I still get the same error. (I apologize in advance if the error is ridiculously obvious. ) Thanks AGA |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Replace
DATEIF with DATEDIF -- Gary''s Student - gsnu200847 "AGA" wrote: Oh great excel gurus, I've read the threads on doing an age calculation, but I'm still getting a "#NAME?" error. I need to display the age of dependents in months and years. I've set up my columns so that column AI3 has the birthdate displayed as 10/29/2000, and column AJ3 has the formula =TODAY(). I tried to display the age in column AK3 by inserting the following formula: =DATEIF(AI3,AJ3,"Y") & "YEARS," & DATEIF(AI3,AJ3,"YM") & "Months," & DATEIF(AI3,AJ3,"MD") & "Days" Reagrdless of how I format the cell (general,number,text, etc) I still get the same error. (I apologize in advance if the error is ridiculously obvious. ) Thanks AGA |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
And when using this method look out for odd results
31 Jan 1951 01 Mar 2008 which gives 57 years, 1 months, -1 days Mike "AGA" wrote: Oh great excel gurus, I've read the threads on doing an age calculation, but I'm still getting a "#NAME?" error. I need to display the age of dependents in months and years. I've set up my columns so that column AI3 has the birthdate displayed as 10/29/2000, and column AJ3 has the formula =TODAY(). I tried to display the age in column AK3 by inserting the following formula: =DATEIF(AI3,AJ3,"Y") & "YEARS," & DATEIF(AI3,AJ3,"YM") & "Months," & DATEIF(AI3,AJ3,"MD") & "Days" Reagrdless of how I format the cell (general,number,text, etc) I still get the same error. (I apologize in advance if the error is ridiculously obvious. ) Thanks AGA |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks,will do
"Mike H" wrote: And when using this method look out for odd results 31 Jan 1951 01 Mar 2008 which gives 57 years, 1 months, -1 days Mike "AGA" wrote: Oh great excel gurus, I've read the threads on doing an age calculation, but I'm still getting a "#NAME?" error. I need to display the age of dependents in months and years. I've set up my columns so that column AI3 has the birthdate displayed as 10/29/2000, and column AJ3 has the formula =TODAY(). I tried to display the age in column AK3 by inserting the following formula: =DATEIF(AI3,AJ3,"Y") & "YEARS," & DATEIF(AI3,AJ3,"YM") & "Months," & DATEIF(AI3,AJ3,"MD") & "Days" Reagrdless of how I format the cell (general,number,text, etc) I still get the same error. (I apologize in advance if the error is ridiculously obvious. ) Thanks AGA |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Ug, I'm an idiot.
Thank you for both the answer and not beating me over the head with it. AGA "Gary''s Student" wrote: Replace DATEIF with DATEDIF -- Gary''s Student - gsnu200847 "AGA" wrote: Oh great excel gurus, I've read the threads on doing an age calculation, but I'm still getting a "#NAME?" error. I need to display the age of dependents in months and years. I've set up my columns so that column AI3 has the birthdate displayed as 10/29/2000, and column AJ3 has the formula =TODAY(). I tried to display the age in column AK3 by inserting the following formula: =DATEIF(AI3,AJ3,"Y") & "YEARS," & DATEIF(AI3,AJ3,"YM") & "Months," & DATEIF(AI3,AJ3,"MD") & "Days" Reagrdless of how I format the cell (general,number,text, etc) I still get the same error. (I apologize in advance if the error is ridiculously obvious. ) Thanks AGA |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need help with calculation | Excel Discussion (Misc queries) | |||
Multi threaded calculation (multi CPU) - impact on calculation spe | Excel Discussion (Misc queries) | |||
How would you do this calculation? | Excel Discussion (Misc queries) | |||
How do I use a rounded calculation result in another calculation? | Excel Worksheet Functions | |||
How do I use a rounded calculation result in another calculation? | Excel Worksheet Functions |