+ Reply to Thread
Results 1 to 3 of 3

search multiple items and insert a cell from that row

  1. #1
    Registered User
    Join Date
    02-16-2010
    Location
    Minneapolis MN
    MS-Off Ver
    Excel 2007
    Posts
    1

    search multiple items and insert a cell from that row

    We need a solution to what we think is a simple problem.
    We have a spreadsheet of 8000 text items in sheet1. We would like to compare an external list of words (in a second worksheet) to column A in Sheet1 (named TW) in the spreadsheet and, if any word matches a word, check to see what level it is (column C—named LEVEL). If it matches both in both A and C, how do I insert the word in column B in the cell?

    Something like this, although I know this DOES NOT work!!! =IF(and(TW=A2,LEVEL=2.0)),(ROW()),B

    We cannot use a VLOOKUP or MATCH because there are multiple identical items in Column A; it is the rest of the row that makes it unique.

    I want to insert the item from Column B in a worksheet that is sorted by Levels. The first set of cells would show the formula and the second set, how it should look if the formula worked! Now sure if it will display correctly in this post.
    A B C D E F
    Search items Level 1.0 Level 1.5 Level 2.0 Level 2.5 Level 3.0
    Ability =IF(and(TW=A2,LEVEL=2.0)),(ROW()),B/


    A B C D E F
    Search items Level 1.0 Level 1.5 Level 2.0 Level 2.5 Level 3.0
    Ability Skill

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: search multiple items and insert a cell from that row

    Maybe if you construct a sample dataset of 10-20 rows of data, then manually mockup your desired results from the data, we can see what you're talking about.

    Click GO ADVANCED and use the paperclip icon to post up your workbook.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: search multiple items and insert a cell from that row

    Hi KarenM, welcome to the forum.

    Please take a moment to read the forum rules before posting again. Your thread has been moved to a relevant forum for you this time. In the future, please choose the appropriate forum, and post your question in only one forum.

    Thank you.

+ 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