views:

53

answers:

2

is there a way in Excel to have a formula that does something like this:

= 12/20/2010 - 180

which would take a certain date (12/20/2010 in this case) and subtract 180 days . .

+2  A: 

Assuming the original date is in cell A1:

=DATE(YEAR(A1), MONTH(A1), DAY(A1)-180)
Kevin Crowell
Or all in one cell,=DATE(2010,12,20)-180
JohnK813
A: 

You can paste it like this:

= "2010-12-20" - 180

And don't forget to format the cell as a Date [CTRL]+[F1] / Number Tab

Jhonny D. Cano -Leftware-