Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Number of Months and Days between 2 dates?
Hi is it possible to calculate the number of months and the remaining days
between 2 dates, i.e Date 1 is 1/16/07 Date 2 is 6/10/07 So if I use the DatedIF(Date 1, Date 2,"M") i would have the # of months; how would i have the days remaining, meaning i have 4 months, and 24 days, help please ! |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Number of Months and Days between 2 dates?
Jean
Date 1 in A6................Date 2 in A7 =DATEDIF(A6,A7,"y") & "years," & DATEDIF(A6,A7,"ym") & "months,"& DATEDIF(A6,A7,"md") & "days," Gord Dibben MS Excel MVP On Thu, 29 Mar 2007 17:42:00 -0700, Jean wrote: Hi is it possible to calculate the number of months and the remaining days between 2 dates, i.e Date 1 is 1/16/07 Date 2 is 6/10/07 So if I use the DatedIF(Date 1, Date 2,"M") i would have the # of months; how would i have the days remaining, meaning i have 4 months, and 24 days, help please ! |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Number of Months and Days between 2 dates?
thx a lot! that really helps!! thank you!
"Gord Dibben" wrote: Jean Date 1 in A6................Date 2 in A7 =DATEDIF(A6,A7,"y") & "years," & DATEDIF(A6,A7,"ym") & "months,"& DATEDIF(A6,A7,"md") & "days," Gord Dibben MS Excel MVP On Thu, 29 Mar 2007 17:42:00 -0700, Jean wrote: Hi is it possible to calculate the number of months and the remaining days between 2 dates, i.e Date 1 is 1/16/07 Date 2 is 6/10/07 So if I use the DatedIF(Date 1, Date 2,"M") i would have the # of months; how would i have the days remaining, meaning i have 4 months, and 24 days, help please ! |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Number of Months and Days between 2 dates?
Note that using "md" bases days in a month on the number of days in the
month of the first argument, so you can get some weird results, like: A6: 1/31/2007 A7: 3/01/2007 results in 0years,1months,-2days, In article , Jean wrote: thx a lot! that really helps!! thank you! "Gord Dibben" wrote: Jean Date 1 in A6................Date 2 in A7 =DATEDIF(A6,A7,"y") & "years," & DATEDIF(A6,A7,"ym") & "months,"& DATEDIF(A6,A7,"md") & "days," |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Calculate Number of Months Weeks and Days Between Two Dates | Excel Worksheet Functions | |||
Number of years/months/days between 2 dates | Excel Worksheet Functions | |||
how many months and days between two dates? | New Users to Excel | |||
Number of years, months, days between two dates. | Excel Worksheet Functions | |||
difference between two dates in years, months and days. | Excel Worksheet Functions |