+ Reply to Thread
Results 1 to 9 of 9

Find top most cell contain value

  1. #1
    Forum Contributor
    Join Date
    07-24-2013
    Location
    HongKong
    MS-Off Ver
    Excel 2010
    Posts
    237

    Find top most cell contain value

    ScreenHunter_012.jpg

    What are the formula at H2:L2 which show the top most value at B2:F7 ?
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Find top most cell contain value

    Enter formula in H2 and copy across
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,381

    Re: Find top most cell contain value

    In H2 copied across:

    =INDEX(B2:B7,MATCH(TRUE,INDEX((B2:B7<>0),0),0))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Find top most cell contain value

    First thing, make sure calculation is set to automatic. In your sample file it's set to manual.

    This array formula** entered in H2 and copied across to L2:

    =INDEX(B2:B7,MATCH(TRUE,B2:B7<>"",0))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Forum Contributor
    Join Date
    07-24-2013
    Location
    HongKong
    MS-Off Ver
    Excel 2010
    Posts
    237

    Re: Find top most cell contain value

    Quote Originally Posted by AlKey View Post
    Enter formula in H2 and copy across
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Yes, with thank.

  6. #6
    Forum Contributor
    Join Date
    07-24-2013
    Location
    HongKong
    MS-Off Ver
    Excel 2010
    Posts
    237

    Re: Find top most cell contain value

    Quote Originally Posted by AliGW View Post
    In H2 copied across:

    =INDEX(B2:B7,MATCH(TRUE,INDEX((B2:B7<>0),0),0))

    That is, thanks.

  7. #7
    Forum Contributor
    Join Date
    07-24-2013
    Location
    HongKong
    MS-Off Ver
    Excel 2010
    Posts
    237

    Re: Find top most cell contain value

    Quote Originally Posted by Tony Valko View Post
    First thing, make sure calculation is set to automatic. In your sample file it's set to manual.

    This array formula** entered in H2 and copied across to L2:

    =INDEX(B2:B7,MATCH(TRUE,B2:B7<>"",0))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Yeah~ Thank you very much....

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Find top most cell contain value

    You're welcome!

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,381

    Re: Find top most cell contain value

    Quote Originally Posted by Tony Valko View Post
    You're welcome!
    What he said!

+ 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. Convert Find Parent Cell Macro to Find Dependent Cell
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-06-2016, 07:30 AM
  2. how to find a cell in excel and find all values in a row before that cell
    By DAVIDZZZ in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-18-2016, 10:04 AM
  3. how to find a cell in excel and find all values in a row before that cell
    By DAVIDZZZ in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-18-2016, 05:20 AM
  4. how to find a cell in excel and find all values in a row before that cell
    By DAVIDZZZ in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-18-2016, 05:17 AM
  5. how to find a cell in excel and find all values in a row before that cell
    By DAVIDZZZ in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-18-2016, 05:14 AM
  6. how to find a cell in excel and find all values in a row before that cell
    By DAVIDZZZ in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-18-2016, 03:15 AM
  7. Find blank cell, insert formula to find median of above cell range
    By lilyeye in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-05-2013, 11:58 AM

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