+ Reply to Thread
Results 1 to 6 of 6

Computing full Months

  1. #1
    Mike M.
    Guest

    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. #2
    Bernd Plumhoff
    Guest

    Re: Computing full Months

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

    HTH,
    Bernd



  3. #3
    Ron Coderre
    Guest

    RE: Computing full Months

    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


  4. #4
    Don Guillett
    Guest

    Re: Computing full Months

    One way
    =DATE(YEAR(H3),MONTH(H3)+4,1)

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "Mike M." <[email protected]> wrote in message
    news:[email protected]...
    > 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?




  5. #5
    Don Guillett
    Guest

    Re: Computing full Months

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

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "Bernd Plumhoff" <[email protected]> wrote in message
    news:[email protected]...
    > =IF(DAY(A1)=1,DATE(YEAR(A1),MONTH(A1)+3,1),DATE(YEAR(A1),MONTH(A1)+4,1))
    >
    > HTH,
    > Bernd
    >
    >




  6. #6
    Ron Rosenfeld
    Guest

    Re: Computing full Months

    On Sun, 15 May 2005 08:15:01 -0700, "Mike M." <[email protected]>
    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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1