Forum Discussion
Tolormo
Nov 19, 2020Copper Contributor
Datedifference
Hello Excel Community, I am having trouble with this Datedif-formula. I want Excel to count the difference in months between two dates. This does work, but not in every case like I want it to. ...
- Nov 19, 2020
MindreVetande
Nov 19, 2020Iron Contributor
ROUNDUP?
=ROUNDUP(DATEDIF(A1,B1,""m""),0)
or
=DATEDIF(A1,B1,""m"")+1
depending on how you want to handle "exactly 24 months"
- SergeiBaklanNov 19, 2020Diamond Contributor
- MindreVetandeNov 19, 2020Iron Contributor
Much better. I honestly don't know what i meant with the ROUNDUP thing.
This should also work (except for day Zero)
=DATEDIF(A1,B1-1,"M")+1