Subtract 6 months

L

Lynn

I would like to create a formula that will subtract 6 months from today's
date. What function can I use for this?
 
T

Thufir Howat

Well, here is the quick and dirty.

=DATE(YEAR(TODAY()),MONTH(TODAY())-6,DAY(TODAY()))

Hopefully someone has a more elegant solution.
 
L

Lynn

thanks - this will work!

Thufir Howat said:
Well, here is the quick and dirty.

=DATE(YEAR(TODAY()),MONTH(TODAY())-6,DAY(TODAY()))

Hopefully someone has a more elegant solution.
 
J

JMB

=EDATE(TODAY(),-6)

which requires the Analysis Toolpak to be installed.

If today is 8/31/06, the other formula will return 2/31/06 which excel will
interpret as 3/3/06. I assume you would want 2/28/06?
 

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