+ Reply to Thread
Results 1 to 2 of 2

Search a list and return row number

  1. #1
    Registered User
    Join Date
    01-28-2010
    Location
    leeds, uk
    MS-Off Ver
    Excel 2003
    Posts
    11

    Search a list and return row number

    Say I have a list of names in column A on sheet1:

    a1=joe
    a2=jack
    a3=ben
    a4=lee
    a5=alex

    What formula would I have to enter in a cell on sheet2 of the same file to search columnA on sheet1 for the name "ben" and then return the row number?


    I've have been trying now for a while and I can't get it. Any help would be very much appreciated.

    Thanks in advance,

    John

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Search

    =MATCH("ben",Sheet1!A:A,0)

    returns the vertical position starting at A1...

    You can replace "ben" with a cell reference containing the name to search.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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