+ Reply to Thread
Results 1 to 2 of 2

How do I find the row number of a specific value in an unsorted column?

  1. #1
    Registered User
    Join Date
    05-01-2017
    Location
    Gibsonville NC USA
    MS-Off Ver
    2016
    Posts
    4

    How do I find the row number of a specific value in an unsorted column?

    I have a range of 125 rows, 4 columns, where the 1st column is member# and the 2nd is lastname. It's in sort order on member#. I want to be able to find the row number (not the member#) of a specific lastname. 'Twould be easy if the range were sorted on lastname - I'd use vlookup. Any clues?
    I'm new to the forum, but been using Excel (self-taught) for over 20 years.
    Could someone tell me where to go? (Be nice )
    Last edited by attilathepun; 05-01-2017 at 11:59 AM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How do I find the row number of a specific value in an unsorted column?

    If you are looking for an exact match in B and want the row number

    =MATCH("Smith", B:B, 0)

    Edit: It will return the row number of the first Smith it finds. It will not tell you if you have multiple smiths (neither will VLOOKUP)
    You could see if there are multiple smiths in a separate cell with a simple COUNTIF(B:B, "Smith")
    Last edited by ChemistB; 05-01-2017 at 12:08 PM.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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: 3
    Last Post: 09-15-2014, 07:56 PM
  2. [SOLVED] Find AVERAGE of another column of unsorted list (using INDEX/MATCH ?)
    By seaottr in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-06-2013, 10:24 PM
  3. Replies: 4
    Last Post: 05-26-2013, 05:54 PM
  4. [SOLVED] Find highest value in unsorted column and return data of other cell
    By vergrootglas in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-07-2012, 11:56 AM
  5. Replies: 3
    Last Post: 07-14-2011, 11:18 PM
  6. Find column number that has a specific value
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-12-2011, 05:32 PM
  7. [SOLVED] Find the closest match to a reference number in a row of unsorted
    By Nick Krill in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-01-2006, 04:35 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