LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
PC
 
Posts: n/a
Default

Date functions in XL are a bit problematic.

With May 31, 2005 in A1 and with

=DATE(YEAR(A1),MONTH(A1)-3,DAY(A1))

in B1 the return date is March 3, 2005

I don't think that's what the OP really wants.

Using the edate from the analysis toolpack as someone else suggested may be
better.




"Leo Heuser" wrote in message
...
Hi Carly

One way:

=DATE(YEAR(A1),MONTH(A1)-3,DAY(A1))

--
Best Regards
Leo Heuser

Followup to newsgroup only please.

"Carly" skrev i en meddelelse
...
Hiya, I have a date in cell A1 and I want to know a formula which will
calculate this date minus 3 months, in cell A2.

I've tried a simple "=A1-3month" but this doesn't work.

Any ideas?
--
Carly







 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date formula: return Quarter and Fiscal Year of a date Rob Excel Discussion (Misc queries) 7 May 11th 05 08:48 PM
Return a date 6 months from a date in another cell Qaspec Excel Worksheet Functions 1 January 21st 05 04:59 PM
dynamic year to date formula snax500 Excel Worksheet Functions 5 December 13th 04 11:03 PM
How do I add a date formula to a cell but hide the contents with . Emzy Wemzy Excel Discussion (Misc queries) 2 December 12th 04 01:48 PM
Need number of months or weeks passed from formula Cowtoon Excel Worksheet Functions 9 November 12th 04 09:06 PM


All times are GMT +1. The time now is 04:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"