Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mike M.
 
Posts: n/a
Default Computing full Months

Having trouble writing a formula that will add 3 full months to a hire date
and the result starts with day 1 in the month.
Example:
Hire Date 1/10/2005
The 3 "full months after hire are Feb, Mar, Apr.
Want result to be May 1, 2005.
Can anyone help?
  #2   Report Post  
Bernd Plumhoff
 
Posts: n/a
Default

=IF(DAY(A1)=1,DATE(YEAR(A1),MONTH(A1)+3,1),DATE(YE AR(A1),MONTH(A1)+4,1))

HTH,
Bernd


  #3   Report Post  
Ron Coderre
 
Posts: n/a
Default

I can think of 2 ways to go with this, depending on how you want the first of
the month treated:
=EOMONTH($A$1-1,3)+1
OR
=EOMONTH($A$1,3)+1

Note: Per Excel Help:If this function is not available, and returns the
#NAME? error, install and load the Analysis ToolPak add-in.


Does that help?

--
Regards,
Ron

  #5   Report Post  
Don Guillett
 
Posts: n/a
Default

or
=DATE(YEAR(A1),MONTH(A1)+IF(DAY(A1)=1,3,4),1)

--
Don Guillett
SalesAid Software

"Bernd Plumhoff" wrote in message
...
=IF(DAY(A1)=1,DATE(YEAR(A1),MONTH(A1)+3,1),DATE(YE AR(A1),MONTH(A1)+4,1))

HTH,
Bernd






  #6   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Sun, 15 May 2005 08:15:01 -0700, "Mike M."
wrote:

Having trouble writing a formula that will add 3 full months to a hire date
and the result starts with day 1 in the month.
Example:
Hire Date 1/10/2005
The 3 "full months after hire are Feb, Mar, Apr.
Want result to be May 1, 2005.
Can anyone help?



Assuming that if Hire Date is 1 Jan 2005, then the result would be 1 Apr 2005;
but if the Hire Date is after the first of Jan, then the result would be 1 May
2005:

=DATE(YEAR(A1-1),MONTH(A1-1)+4,1)


--ron
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
Worksheet won't display full screen Timbo New Users to Excel 1 April 24th 05 02:22 AM
converting months to years and months??? Marty Excel Discussion (Misc queries) 1 February 18th 05 02:38 AM
How do i change 15 months to read 1 year and 3 months? Marty Excel Discussion (Misc queries) 1 February 17th 05 11:21 PM
Converting months to years kevin Excel Worksheet Functions 1 January 20th 05 01:28 PM
How do I display months and years between two dates JSmith Excel Discussion (Misc queries) 1 November 30th 04 04:41 PM


All times are GMT +1. The time now is 02:55 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"