I want to subtract 2 dates and display the result as months

D

Dave

I am trying to subtract 2 dates and return the result as number of months.

I have seen post related to DateDif but whne I use this I get a Name error.

How do I subtract dates and get number of months?

Thanks

Dave
 
N

Nick Hodge

Dave

=DATEDIF(A1,B1,"m")

Works for me

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top