+ Reply to Thread
Results 1 to 3 of 3

Search table column for 1st instance of a value

  1. #1
    Registered User
    Join Date
    11-13-2013
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    6

    Search table column for 1st instance of a value

    Hello All,
    I have created a table in sheet1 and populate it based on several user forms.
    What I am looking to do is search column b when populating the new row in the table looking for the first instance of a specific value.

    So lets say column b can have any number between 1000 and 10000, reference number.
    Column b could have multiple's of any of the numbers in the above range.
    I need the 1st one. So lets say my table already has 100 rows of data, and I am insering a new row that needs to reference the 1st "1000" in column b, which may be at row 20. How would I go about finding it?

    Thanks for your help.

  2. #2
    Forum Contributor amit.wilson's Avatar
    Join Date
    07-09-2013
    Location
    Gotham
    MS-Off Ver
    Excel for Mac 2011
    Posts
    283

    Re: Search table column for 1st instance of a value

    Hi - if you need to know the row number, try using MATCH(). If you need the value, then you could use VLOOPKUP().

    If you upload a sample sheet, I could give more specific advice.

    Cheers
    <-- If you're happy & you know it...click the star.:-)

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Search table column for 1st instance of a value

    Maybe:

    Please Login or Register  to view this content.

+ 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. search a range for an instance of A, B or VC
    By nigelog in forum Excel General
    Replies: 5
    Last Post: 02-15-2011, 09:02 AM
  2. Excel 2007 : Table lookup, row defines column to search in
    By lkkpederson in forum Excel General
    Replies: 8
    Last Post: 03-20-2010, 12:26 PM
  3. Let pivot table search for last row in column
    By Turbobiker in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-29-2009, 07:46 AM
  4. Search for first instance of text & return the value
    By LisaChica in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-14-2006, 01:10 AM
  5. [SOLVED] search value in a table and sum another column
    By a931048 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-14-2005, 12:05 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