dates

loggiaaj

Board Regular
Joined
May 8, 2006
Messages
66
I want to take the date to the left and minus 3 months; I used the cell ref. - 90 (3 months @ 30 days per mo.) - this worked for the month but not the day; e.g. the days are off by 1 or so.

How can I calculate the date to 3 months prior - but keep the current day the same ??

tks

Tony

6/27/2010 3/28/2010
8/15/2011 5/16/2011
10/3/2010 7/4/2010
10/31/2010 8/1/2010
12/25/2011 9/25/2011
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
What about when the date doesn't have a matching day in that month 3 months prior? May 30th for example.
 
Upvote 0
Something like:

=EDATE(A1,-3)

should work.

Richard

PS Which will default to end of month if the calculated date does not include the relevant day, as Glenn pointed out
 
Upvote 0
That's the one I use Richard, but some people want strange things to happen when the day doesn't exist in the target month.

Oh, must say that the Analysis Toolpak must be ticked in the Add-Ins list for Edate to work.
 
Upvote 0
You probably haven't got the Analysis Toolpak installed - as Glenn said, you need to check it off in Tools>Add-Ins and check it in the list.

Richard
 
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,175
Members
448,870
Latest member
max_pedreira

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top