Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 131
Default Subtract 6 months

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


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Subtract 6 months

Well, here is the quick and dirty.

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

Hopefully someone has a more elegant solution.

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


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Subtract 6 months


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

VBA Noob


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=570771

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 131
Default Subtract 6 months

thanks - this will work!

"Thufir Howat" wrote:

Well, here is the quick and dirty.

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

Hopefully someone has a more elegant solution.

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



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Subtract 6 months

=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?


"Lynn" wrote:

thanks - this will work!

"Thufir Howat" wrote:

Well, here is the quick and dirty.

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

Hopefully someone has a more elegant solution.

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



Reply
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
HOW TO SUBTRACT A YEAR+MONTH AND SHOW DIF IN MONTHS? noles fan Excel Worksheet Functions 2 October 1st 05 05:32 PM
Subtract MM/DD/YYYY and get # months Carole O Excel Discussion (Misc queries) 3 September 10th 05 12:18 AM
months between 2 dates!!! speary Excel Discussion (Misc queries) 1 August 19th 05 03:22 PM
Why "datedif" function results sometimes negative numbers? Ambrosiy Excel Worksheet Functions 1 July 8th 05 11:29 AM
I want to subtract 2 dates and display the result as months Dave Excel Worksheet Functions 3 January 30th 05 05:41 PM


All times are GMT +1. The time now is 11:05 AM.

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

About Us

"It's about Microsoft Excel"