Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default "edate" problem with calculating dates

I use the "edate" function in Excel to determine the first day of the month
going back from a termination date...for example:

If a lease ends March 31, 2007 we need written notice by January 1, 2007 so
I want Excel to automatically calculate the 01/01/07 date by going back from
March 31, 2007.

The "edate" function works for all months in a year except for two....and
I'm sure it's because of Feb. having only 28 days and July/August having 31
each.

Can anyone help troubleshoot this or let me know of another function that
will achieve the result I am looking for.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default "edate" problem with calculating dates

How's about...
=EOMONTH(A1,-3)+1

"MMangen" wrote:

I use the "edate" function in Excel to determine the first day of the month
going back from a termination date...for example:

If a lease ends March 31, 2007 we need written notice by January 1, 2007 so
I want Excel to automatically calculate the 01/01/07 date by going back from
March 31, 2007.

The "edate" function works for all months in a year except for two....and
I'm sure it's because of Feb. having only 28 days and July/August having 31
each.

Can anyone help troubleshoot this or let me know of another function that
will achieve the result I am looking for.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default "edate" problem with calculating dates

You are awesome, that worked perfectly! Tested, tried and true! Thanks again
so much. It's been "haunting" me!

"Teethless mama" wrote:

How's about...
=EOMONTH(A1,-3)+1

"MMangen" wrote:

I use the "edate" function in Excel to determine the first day of the month
going back from a termination date...for example:

If a lease ends March 31, 2007 we need written notice by January 1, 2007 so
I want Excel to automatically calculate the 01/01/07 date by going back from
March 31, 2007.

The "edate" function works for all months in a year except for two....and
I'm sure it's because of Feb. having only 28 days and July/August having 31
each.

Can anyone help troubleshoot this or let me know of another function that
will achieve the result I am looking for.

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
Problem calculating percent change Patrick Excel Worksheet Functions 9 October 18th 06 02:37 AM
Circular Reference Problem Calculating Net Pay Gerard Excel Worksheet Functions 5 August 18th 06 02:15 AM
add/subtract dates problem in Excel..... Gary in Pennsyl Excel Discussion (Misc queries) 3 May 31st 06 08:58 PM
calculating number of three month periods between two dates... neil Excel Discussion (Misc queries) 3 May 21st 06 01:52 PM
Calculating for number of days when values are in dates pumper Excel Worksheet Functions 7 January 17th 05 04:52 AM


All times are GMT +1. The time now is 06:27 PM.

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"