• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Calculate date difference in text

ALAMZEB

Member
Hi I need calculate difference between two dates in Month & year
I am using below formula to calculate difference
DATEDIF(C5,H1,"y") & " years, " & DATEDIF(C5,H1,"ym") & " Months "
But I need to return in month & year. TEXT function return 1900 when its exceeding this year
The desired out put would be
29/10/2014 – Today = Oct 2014
But it gives me Oct 1900
 
How is 29/10/2014 to Today = Oct 2014 ?

Oct 2014 is one possible Format of the input date 29/10/2014

You might be able simply use =Text(C5,"mmm yyy")
 
Back
Top