+ Reply to Thread
Results 1 to 6 of 6

Matching multiple cell values on a table

  1. #1
    Registered User
    Join Date
    07-21-2015
    Location
    Hungary
    MS-Off Ver
    2003
    Posts
    3

    Matching multiple cell values on a table

    Hello,

    I would like to know how this can be done with excel (if it can be done)? As you can see in the image, I have a group of values (three cells in this case) to find and match in a list of data table, and if the values are present (should be present in the same row), 1 for yes and 0 for no output in the following column. So basically instead of one value in a single cell, I want to search and match three values in three cells on a table. Thanks.


    Note: * the values may not be present in adjacent cells on the table every time.


    ** Groups of values should be on the same row to give a positive output of 1.

    http://imgur.com/JL17xci

    Example.xls
    Last edited by nautilus38; 07-21-2015 at 11:48 AM.

  2. #2
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Matching multiple cell values on a table

    Could you post a sample spreadsheet with the results you hope to see? You can click on "Go Advanced" and then use the paperclip icon to attach a file.
    Some people volunteer in soup kitchens or hospitals. I choose to make the world better by trying to help you with Excel. We're all learning.

    <---Click * Add Reputation for all helpful comments. It's like giving a smile.
    Forum Rules: How to mark your post [Solved] and have a happier, Excel enriched life.

  3. #3
    Registered User
    Join Date
    07-21-2015
    Location
    Hungary
    MS-Off Ver
    2003
    Posts
    3

    Re: Matching multiple cell values on a table

    yes, I did it. thanks.

  4. #4
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Matching multiple cell values on a table

    Does this work?
    Please Login or Register  to view this content.
    The only difference is that your last line should show as present because 3, 10, and b are all in the list of data.

    Oh wait. I didn't remember that they all needed to be in the same row in the list of data.
    Last edited by nigelbloomy; 07-21-2015 at 11:57 AM.

  5. #5
    Registered User
    Join Date
    07-21-2015
    Location
    Hungary
    MS-Off Ver
    2003
    Posts
    3

    Re: Matching multiple cell values on a table

    Hi, thanks for your answer. I found a VBA code to do the job. Here it is:
    Add a VBA module, and paste the following function in ...
    Please Login or Register  to view this content.
    And then in Column D (row 2) add a formula thus
    Please Login or Register  to view this content.

  6. #6
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Matching multiple cell values on a table

    I couldn't figure out a formula to do wat you want, but this code worked for me.

    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. [SOLVED] Vlookup table array matching with multiple value in single cell separated by comma.
    By kannoy in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 03-04-2015, 04:03 AM
  2. Sum Values in a Table Matching Specific Row and Column Values
    By dubasteins in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-15-2014, 09:06 AM
  3. Concatenate multiple cell values based on matching adjacent cells
    By mkrzy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-10-2013, 02:40 AM
  4. [SOLVED] Return cell values for non-matching & matching criteria
    By jenz_skallemose in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 11-13-2012, 11:52 AM
  5. Replies: 8
    Last Post: 07-28-2012, 03:22 PM
  6. Matching the cell values in a column to multiple columns
    By shrimic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-14-2012, 01:58 PM
  7. Replies: 7
    Last Post: 12-03-2011, 03:42 PM

Tags for this Thread

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