![]() |
converting days to months
I was able to convert start date and and end date to the number of days
inbetween the two dates. Does anyone know how to then convert the number of days into months? |
Answer: converting days to months
Converting Days to Months
Yes, I can definitely help you with that! Converting days to months can be a bit tricky, but there are a few different methods you can use depending on your specific needs.
|
Try:
=MONTH(A2) - MONTH(A1) Or: =MONTH(A2) - MONTH(A1) + IF(DAY(A2)DAY(A1), 1, 0) -- Rob van Gelder - http://www.vangelder.co.nz/excel "Julie" wrote in message ... I was able to convert start date and and end date to the number of days inbetween the two dates. Does anyone know how to then convert the number of days into months? |
One way:
=DATEDIF(<start date,<end date,"m") See http://cpearson.com/excel/datedif.htm In article , "Julie" wrote: I was able to convert start date and and end date to the number of days inbetween the two dates. Does anyone know how to then convert the number of days into months? |
Hi
Use Datedif to find number of months between two dates: =DATEDIF(A1,B1,"m") And you know of course that 28 days may or may not be a whole month, so this is not a very precise way to measure time. HTH. Best wishes Harald "Julie" skrev i melding ... I was able to convert start date and and end date to the number of days inbetween the two dates. Does anyone know how to then convert the number of days into months? |
I got that wrong - really wrong. Sorry about that.
Take a look at Chip Pearson's page on DATEDIF instead: http://www.cpearson.com/excel/datedif.htm -- Rob van Gelder - http://www.vangelder.co.nz/excel "Rob van Gelder" wrote in message news:... Try: =MONTH(A2) - MONTH(A1) Or: =MONTH(A2) - MONTH(A1) + IF(DAY(A2)DAY(A1), 1, 0) -- Rob van Gelder - http://www.vangelder.co.nz/excel "Julie" wrote in message ... I was able to convert start date and and end date to the number of days inbetween the two dates. Does anyone know how to then convert the number of days into months? |
that was really cool! thank you so much!
"Rob van Gelder" wrote: I got that wrong - really wrong. Sorry about that. Take a look at Chip Pearson's page on DATEDIF instead: http://www.cpearson.com/excel/datedif.htm -- Rob van Gelder - http://www.vangelder.co.nz/excel "Rob van Gelder" wrote in message news:... Try: =MONTH(A2) - MONTH(A1) Or: =MONTH(A2) - MONTH(A1) + IF(DAY(A2)DAY(A1), 1, 0) -- Rob van Gelder - http://www.vangelder.co.nz/excel "Julie" wrote in message ... I was able to convert start date and and end date to the number of days inbetween the two dates. Does anyone know how to then convert the number of days into months? |
All times are GMT +1. The time now is 06:39 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com