+ Reply to Thread
Results 1 to 4 of 4

Formula - highest value

  1. #1
    Registered User
    Join Date
    11-25-2021
    Location
    Somerset
    MS-Off Ver
    O365
    Posts
    14

    Formula - highest value

    Good Morning

    I am new to this forum and wish to have some help with an issue! Please see sample spreadsheet as attached. I had issues uploading the actual spreadsheet. Cell G1 is a value to be entered manually. When the value in column B is greater than the value in cell G1 for the first time, I want the corresponding value in column C to be returned in cell G2. In this example, I have entered the value '100' in cell G1. The first time the value in column B goes above 100 is on 23/02/2020 and therefore the corresponding value to be returned is 16.

    Dates are always in order (oldest first) and the data could go to row 5000. Values in row B are not always in order. The attached image is just a sample.

    Can anyone help with the formula that needs to be entered in cell G2? I have researched the forum with no luck. I am using Excel 365.

    Many thanks
    Attached Files Attached Files
    Last edited by Dtromdtrom; 11-26-2021 at 03:38 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Formula - highest value

    There are instructions at the top of the page on how to post a sample sheet.Thanks

  3. #3
    Registered User
    Join Date
    11-25-2021
    Location
    Somerset
    MS-Off Ver
    O365
    Posts
    14

    Re: Formula - highest value

    Thank you. I have now managed to upload the file correctly.
    Last edited by Dtromdtrom; 11-26-2021 at 03:38 AM.

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Formula - highest value

    Try this:

    =INDEX($C$2:$C$27,MATCH(TRUE,$B$2:$B$27>G1,0))

+ 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: 4
    Last Post: 04-25-2021, 05:27 AM
  2. Replies: 3
    Last Post: 05-27-2019, 06:19 AM
  3. Replies: 3
    Last Post: 06-09-2016, 12:51 PM
  4. [SOLVED] Max formula to return total of highest, second highest and third highest value
    By JonWilf in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-06-2016, 08:20 AM
  5. VBA code to find highest and 2nd highest number based in criteria
    By Michael007 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-25-2011, 08:38 AM
  6. Replies: 2
    Last Post: 09-19-2008, 10:22 AM
  7. Replies: 3
    Last Post: 08-10-2006, 11:40 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