+ Reply to Thread
Results 1 to 3 of 3

Edate Formula

  1. #1
    Registered User
    Join Date
    05-06-2004
    Posts
    5

    Edate Formula

    I am using the edate formula edate(A1,1). Cell A1 is 01/31/2006. The next date is 02/28/2006 however all subsequent days are now the 28th of each month, not the actual last day of the month. Can you please advise how I can correct this formula?

  2. #2
    Roger Govier
    Guest

    Re: Edate Formula

    Hi Rose

    Instead of letting A1 increment as you copy down, hold A1 constant with
    the absolute reference $A$1 and let the increment increase by using
    ROW(1:1). In A2
    =$A$1+ROW(1:1)
    As you copy down, row will increment by 1 each time and you will get the
    correct end of month for the whole tear.

    --
    Regards

    Roger Govier


    "ROSE2102" <ROSE2102.21y4oa_1137782100.8236@excelforum-nospam.com> wrote
    in message news:ROSE2102.21y4oa_1137782100.8236@excelforum-nospam.com...
    >
    > I am using the edate formula edate(A1,1). Cell A1 is 01/31/2006. The
    > next date is 02/28/2006 however all subsequent days are now the 28th
    > of
    > each month, not the actual last day of the month. Can you please
    > advise
    > how I can correct this formula?
    >
    >
    > --
    > ROSE2102
    > ------------------------------------------------------------------------
    > ROSE2102's Profile:
    > http://www.excelforum.com/member.php...fo&userid=9202
    > View this thread:
    > http://www.excelforum.com/showthread...hreadid=503441
    >




  3. #3
    Elkar
    Guest

    RE: Edate Formula

    If you're looking for last days of months, then how about using the EOMONTH
    function instead?

    =EOMONTH(A1,1)
    That would return 2/28/06

    =EOMONTH(A1,2)
    Returns 3/31/06

    HTH,
    Elkar

    "ROSE2102" wrote:

    >
    > I am using the edate formula edate(A1,1). Cell A1 is 01/31/2006. The
    > next date is 02/28/2006 however all subsequent days are now the 28th of
    > each month, not the actual last day of the month. Can you please advise
    > how I can correct this formula?
    >
    >
    > --
    > ROSE2102
    > ------------------------------------------------------------------------
    > ROSE2102's Profile: http://www.excelforum.com/member.php...fo&userid=9202
    > View this thread: http://www.excelforum.com/showthread...hreadid=503441
    >
    >


+ 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