+ Reply to Thread
Results 1 to 4 of 4

Updating Cell Reference each Month

  1. #1
    Registered User
    Join Date
    06-16-2017
    Location
    Atlanta
    MS-Off Ver
    2013
    Posts
    21

    Updating Cell Reference each Month

    I have stock data starting in A1 and continuing down to A7. I am calculating return A1/A7-1. However, each month, a new piece of data will appear. So once August starts, I will then have a piece of data in A8. When Sept starts, I will have a new piece of data in A9. Is there a way to update my formula each month automatically so that it will then calculate A1/A8-1 in August and A1/A9-1 in Sept??

    Thank You

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Updating Cell Reference each Month

    You can create a dynamic named range

    See here http://www.contextures.com/xlNames01.html


    Alternately
    =A1/INDEX($A:$A, MATCH(9E99, $A:$A))
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    06-16-2017
    Location
    Atlanta
    MS-Off Ver
    2013
    Posts
    21

    Re: Updating Cell Reference each Month

    Thanks for the response. What does 9e99 mean in your formula?

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Updating Cell Reference each Month

    9 times 10 to the 99th power. When excel doesn't find that number, it returns the last number in column A

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. trying to drag down a formula, but the cell reference # not updating
    By fcbtim in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 01-27-2014, 02:54 AM
  2. Replies: 3
    Last Post: 08-28-2013, 09:26 AM
  3. Replies: 4
    Last Post: 07-03-2013, 01:34 AM
  4. Named cell reference not updating like it should
    By KLT in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-06-2013, 12:30 PM
  5. concatenate with updating cell reference
    By bobo1000 in forum Excel General
    Replies: 0
    Last Post: 10-23-2012, 05:27 AM
  6. [SOLVED] Formula Updating - Changing Cell Reference
    By Nitsirk82 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-29-2012, 08:05 AM
  7. Cell Reference in LINK not updating Consistently when position changes
    By CarolAnnDap in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-09-2012, 09:38 PM
  8. Replies: 0
    Last Post: 06-05-2009, 02:17 PM

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