Having excel to calculate from start-date to end-date = number of months My formula do not work??

Copper Contributor
1/2/20061/03/2019

 

I am entering =DATEDIF(start cell, end-cell,"Y")  but excel will not accept the formula ?? 

3 Replies

@Abildgaard2020 

 

Here is a small example with calculating the date.

 

I would be happy to know if I could help.

 

Nikolino

I know I don't know anything (Socrates)

* Kindly Mark and Vote this reply if it helps please, as it will be beneficial to more Community members reading here.

* Beware of scammers posting fake support numbers here.

@Abildgaard2020 

In general function works.

image.png

better if you submit sample file to check what's wrong

@Abildgaard2020 

 

Sometimes depending on the language selection it can happen that the quotes in the formula are not accepted and #NAME or error appears.That happened to me once too.
Then you can quickly copy the formulas and off you go.


=DATEDIF(F1;G1;"Y")

 

Here in a worksheet with the formula in action