=DATEDIF(A15,TODAY(),"m")

  • Thread starter Thread starter Ron
  • Start date Start date
R

Ron

Hi

=DATEDIF(A15,TODAY(),"m") gives the number of months, from a date in the
past, in A15. How can I get the number of months from A15 to say 15/10/2011?

Thanks Ron
 
The reason it doesn't work without the quote marks is that in
that case Excel is treating the '/' character as the division
operator rather than a date separator.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 
Back
Top