+ Reply to Thread
Results 1 to 3 of 3

Highlight if greater than all previous numbers in a series

  1. #1
    Registered User
    Join Date
    12-07-2012
    Location
    California
    MS-Off Ver
    Excel 365
    Posts
    42

    Highlight if greater than all previous numbers in a series

    Hi all,

    I'm trying to count all-time highs in the stock market, so I'm looking for a dynamic formula that looks at all previous closing index values and highlights whether or not the most recent close is an all-time high.

    In the attachment here, I've got the series from early 1928 S&P index values. I added in "YES" manually for all-time highs here but looking for a formulaic solution.

    Thanks in advance for any assistance here.

    -Mike
    Attached Files Attached Files
    Last edited by flizzo; 09-22-2021 at 01:04 PM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Highlight if greater than all previous numbers in a series

    In C2

    =IF(B3>MAX($B$2:B2),"YES","")

    Copy down

  3. #3
    Registered User
    Join Date
    12-07-2012
    Location
    California
    MS-Off Ver
    Excel 365
    Posts
    42

    Re: Highlight if greater than all previous numbers in a series

    Boom! Thanks John!!

+ 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. Replies: 8
    Last Post: 12-15-2020, 11:02 AM
  2. Count the no. of cells in a row greater than previous row
    By vikas.trades25 in forum Excel General
    Replies: 3
    Last Post: 02-10-2019, 08:14 PM
  3. Replies: 3
    Last Post: 11-24-2015, 01:57 PM
  4. [SOLVED] Autofill a formula with a series to start next row at the end of the previous series
    By mbkr29 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-19-2013, 01:20 PM
  5. [SOLVED] Autofill a formula with a series to start next row at the end of the previous series
    By mbkr29 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-19-2013, 11:51 AM
  6. If formula greater than a series of numbers
    By newbie4 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-17-2012, 03:25 PM
  7. Replies: 4
    Last Post: 07-23-2009, 03:18 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