Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: month year function

  1. #1
    Board Regular
    Join Date
    Mar 2002
    Posts
    83
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I have dates in column A, values in column B, daily % change in column C, monthly % change in column D and YTD % change in column D. Values are entered daily.

    Is there a formula that will allow me to copy down the formula w/o changing cell reference for the month end or year end dates. for example, for monthly % change, Apr 8 will use the value from Mar 31 and May 15 will use the value from Apr 30 - but this requires a manual cell reference change from the value in the Mar 31 cell to the value in the Apr 30 cell.


  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Austin, Texas USA
    Posts
    11,654
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Use =EOMONTH(datevalue,-1) and MATCH to find the value in your list

    [ This Message was edited by: Mark W. on 2002-05-09 09:20 ]

  3. #3
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    84,024
    Post Thanks / Like
    Mentioned
    37 Post(s)
    Tagged
    7 Thread(s)

    Default

    On 2002-05-09 09:15, mcarter973 wrote:
    I have dates in column A, values in column B, daily % change in column C, monthly % change in column D and YTD % change in column D. Values are entered daily.

    Is there a formula that will allow me to copy down the formula w/o changing cell reference for the month end or year end dates. for example, for monthly % change, Apr 8 will use the value from Mar 31 and May 15 will use the value from Apr 30 - but this requires a manual cell reference change from the value in the Mar 31 cell to the value in the Apr 30 cell.

    =EOMONTH(A1,-1)

    where A1 houses a date like 8-Apr-02.

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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