+ Reply to Thread
Results 1 to 5 of 5

Finding text in a data table and display results

  1. #1
    Registered User
    Join Date
    05-07-2012
    Location
    USA, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    11

    Finding text in a data table and display results

    Hello All,
    I thought this would be easy but it has turned out to be a challange.

    I have a search type of function where a user inputs a value in cell b2 and a vlookup table that returns the results in cell F2

    input Cell B2 = x.x.x.x
    Result Cell F2 = Device Name


    Please Login or Register  to view this content.
    this part is working fine but I want to then take the device name from this result and do another look up becuase the device name could be listed in the table 35+ times.

    I have attached a sample.xlsx sheet because I don't think this is easy to explain in comments. Sample.xlsx
    The sample may clear it up. Thanks in advance to all who take a look.

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,956

    Re: Finding text in a data table and display results

    It is a lot easier if you don't transpose the values: try this file - it looks at 2000 rows on your data table, but the formula in H4 can be look in more rows by changing the 2000s to 20000s or 200000s - just re-enter using Ctrl-Shift-Enter since the formula is an array formula.

    Sample.xlsx
    Last edited by Bernie Deitrick; 02-20-2015 at 01:27 PM.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    05-07-2012
    Location
    USA, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Finding text in a data table and display results

    Hi Bernie,
    works like a charm in the sample sheet you provided. When I transfer the formula in H4 to my production sheet it doesn't return the row number? If I remove the formula and input the row number all the other fields come back with the correct info? do I need to re-define the range on the data table sheet or something?

  4. #4
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,956

    Re: Finding text in a data table and display results

    When you transfer the formula, you need to enter it using Ctrl-Shift-Enter, and you probably need to change all the sheet references to the new sheet. Post a copy of your workbook - sanitized if needed - if you need more help.

  5. #5
    Registered User
    Join Date
    05-07-2012
    Location
    USA, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Finding text in a data table and display results

    oh sorry, didn't do the ctrl shft ent when I moved it to the production sheet. It's working now. Thank you so much for your time!

+ 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. Count in filtered list and display results in table on right of data
    By raydaw in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-27-2009, 05:14 AM
  2. Finding results not in a table lookup
    By Crispie38 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-02-2007, 09:06 AM
  3. Text data appears as 0 in my Pivot table - how do I display as tex
    By Debra Dalgleish in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 07:05 PM
  4. Text data appears as 0 in my Pivot table - how do I display as tex
    By Murray Snedden in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  5. [SOLVED] Text data appears as 0 in my Pivot table - how do I display as tex
    By Murray Snedden in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01: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