+ Reply to Thread
Results 1 to 3 of 3

How to return row number

  1. #1
    Registered User
    Join Date
    02-15-2012
    Location
    Millington, NJ
    MS-Off Ver
    Excel 2007
    Posts
    2

    How to return row number

    On Sheet 2, I have an array. There is a drop down list on Sheet 1 that has all of the values from the first column of the array. In another cell on Sheet 1, I would like to display the row number of the array that corresponds to whatever value is selected from the drop down list. How can I do this?

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How to return row number

    By array I assume you mean a range of values.

    One way

    MATCH(A1,Sheet2!A:A,FALSE)
    where A1 contains the dropdown result

    Regards
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    02-15-2012
    Location
    Millington, NJ
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: How to return row number

    Perfect! Thanks very much!

+ 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