+ Reply to Thread
Results 1 to 5 of 5

Find the max value of one constantly changing cell

  1. #1
    Registered User
    Join Date
    10-10-2012
    Location
    Warks
    MS-Off Ver
    Excel 2013
    Posts
    91

    Find the max value of one constantly changing cell

    I have a cell which represents a percentage increase or decrease of a range of cells.The cell containing the percentage is just one cell, X25. This cell is constantly changing as it's linked to betting market odds so I'm looking to find the high percentage for that one cell. When X25 decreases from it's peak, the cell Z25 needs to be showing the absolute peak percentage that X25 has reached. There is no set percentage that I'm looking to reach in Z25, I just want it to display the highest point of X25, be that 1.2%, 5.5%, 35.5% etc. What I'm trying to do is to record the peak value that this percentage reaches and have it placed in another cell.

    For example cell X25 contains the percentage and starts at 0%, Over time this percentage increases to 1.2% before moving back down to 0.6%. In cell Z25 I'd like the peak value of 1.2% to be present at all times and only change if the percentage increased above 1.2%. I'm sure this is possible but I'm at a loss as to working it out.

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Find the max value of one constantly changing cell

    i think you would need a macro actually,

    which is above my current level of skill to be honest.

    i think something with a counter that remains constant, and a work sheet activated update
    The Importance of INDEX - A GUIDE TO INDEX'S OTHER USES
    <--- If a post helps hit the star

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,467

    Re: Find the max value of one constantly changing cell

    I think you'd need to use a VBA Change event to monitor one or more cells. If X25 is a formula, changes will not be triggered by the change(s) in the formula's value, rather the cells that X25 is dependent on. So, when one of those cells changes, then the current value would be checked against the "highest" value and, if it is greater, replace it.

    But it needs VBA (IMO) and we'd need to know the formula in X25.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    10-10-2012
    Location
    Warks
    MS-Off Ver
    Excel 2013
    Posts
    91

    Re: Find the max value of one constantly changing cell

    Thanks for the replies. The formula in X25 is simply =(Y25-Y3).

    Am I right in thinking you can't use VBA with a trial mode of Excel 2010?

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,467

    Re: Find the max value of one constantly changing cell

    In truth, I don't know; never used it. I suspect not as it is limited in a number of respects but that's just a guess.


    Regards, TMS

+ 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