+ Reply to Thread
Results 1 to 6 of 6

Find row number of largest value in cell range

  1. #1
    Forum Contributor
    Join Date
    03-03-2007
    Posts
    101

    Find row number of largest value in cell range

    If I had a column of numbers starting from A1

    1
    1
    2
    2
    2
    3
    3

    What formula would give me the row number of the first instance of the largest value inside the column? In this case, it would be row 6 because that's where the largest number 3 first appears down the column. Many thanks, y'all.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Try

    =MATCH(MAX(A:A),A:A,0)

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Contributor
    Join Date
    03-03-2007
    Posts
    101
    that did the trick, many thanks

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Glad it helped

    VBA Noob

  5. #5
    Registered User
    Join Date
    08-06-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Find row number of largest value in cell range

    Ok Little more complicate.

    Formula for returning last line # of a range of cell that has a value of 5 or more.

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Find row number of largest value in cell range

    Born2fly,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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