Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hi
I have a question and hope someone can help. I have 2 dates e.g. 11/1/2005 (mm/dd/yyyy) and 9/1/2005 (mm/dd/yyyy). If I substract them, I will get 61 days. However, i do not want to show 61 days, i want to show 2 months instead. e.g. 11/1/2005 - 9/25/2004 = ? months and ? days can anyone help. |
#2
![]() |
|||
|
|||
![]()
Tiffany
Something like =DATEDIF(A2,A1,"m")&" months "&DATEDIF(A2,A1,"md")&" Days" DATEDIF is not in help (Except 2000) it was put in for compatibility with Lotus 1-2-3, you can find help here http://www.cpearson.com/excel/datedif.htm -- HTH Nick Hodge Microsoft MVP - Excel Southampton, England www.nickhodge.co.uk HIS "Tiffany" wrote in message ... Hi I have a question and hope someone can help. I have 2 dates e.g. 11/1/2005 (mm/dd/yyyy) and 9/1/2005 (mm/dd/yyyy). If I substract them, I will get 61 days. However, i do not want to show 61 days, i want to show 2 months instead. e.g. 11/1/2005 - 9/25/2004 = ? months and ? days can anyone help. |
#3
![]() |
|||
|
|||
![]()
wrong posting?? yeh!!
no questions but only answers |
#4
![]() |
|||
|
|||
![]()
Nick, thank you very much. This is exactly what I want.
"Nick Hodge" wrote: Tiffany Something like =DATEDIF(A2,A1,"m")&" months "&DATEDIF(A2,A1,"md")&" Days" DATEDIF is not in help (Except 2000) it was put in for compatibility with Lotus 1-2-3, you can find help here http://www.cpearson.com/excel/datedif.htm -- HTH Nick Hodge Microsoft MVP - Excel Southampton, England www.nickhodge.co.uk HIS "Tiffany" wrote in message ... Hi I have a question and hope someone can help. I have 2 dates e.g. 11/1/2005 (mm/dd/yyyy) and 9/1/2005 (mm/dd/yyyy). If I substract them, I will get 61 days. However, i do not want to show 61 days, i want to show 2 months instead. e.g. 11/1/2005 - 9/25/2004 = ? months and ? days can anyone help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change general format to US date format | Excel Discussion (Misc queries) | |||
Customized Date Format | Excel Worksheet Functions | |||
Compare dates (one cell not in date format) | Excel Discussion (Misc queries) | |||
How do I keep the date from changing format in a mail merge? | Excel Discussion (Misc queries) | |||
USING THE DATE FORMAT IN EXCEL | Excel Discussion (Misc queries) |