+ Reply to Thread
Results 1 to 6 of 6

Return search item/s from array or list in a cell (exact match)

  1. #1
    Registered User
    Join Date
    09-20-2016
    Location
    bhopal
    MS-Off Ver
    2003
    Posts
    17

    Return search item/s from array or list in a cell (exact match)

    Hello,

    I like to get desired result if data match with list in a cell. See image

    test.png


    Thanks in advance
    Attached Images Attached Images
    Last edited by adm.patrikbpl; 03-16-2017 at 08:40 AM. Reason: correction

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,998

    Re: Return search item/s from array or list in a cell (exact match)

    I don't really understand how you are getting your desired result... Please explain again. Also...

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    09-20-2016
    Location
    bhopal
    MS-Off Ver
    2003
    Posts
    17

    Re: Return search item/s from array or list in a cell (exact match)

    Thanks for prompt reply.

    I like to get desired result thru new formula .

    formula used is for count occurrence of listed strings in a cell but unable to get listed strings whom match with data.

    thanks if you get my point.....

    See attached sample file
    Attached Files Attached Files
    Last edited by adm.patrikbpl; 03-16-2017 at 08:51 AM. Reason: for attachment

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,998

    Re: Return search item/s from array or list in a cell (exact match)

    Paste this code into a module:

    Please Login or Register  to view this content.
    use this array-entered formula:

    =ConcatAll(IF(ISNUMBER(SEARCH($C$9:$C$13,C2)),$C$9:$C$13,""),", ")

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-20-2016
    Location
    bhopal
    MS-Off Ver
    2003
    Posts
    17

    Re: Return search item/s from array or list in a cell (exact match)

    Thanks for support.

    I am looking for formula based solution...

    Is this possible without VBA / macro.....????
    Last edited by adm.patrikbpl; 03-16-2017 at 09:23 AM.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,998

    Re: Return search item/s from array or list in a cell (exact match)

    No. I don't think so. Concatenating results like that makes it pretty much obligatory.

+ 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. How do index match exact value in each item
    By Vandini.S in forum Excel General
    Replies: 9
    Last Post: 07-11-2015, 11:18 AM
  2. [SOLVED] Match Exact formula and Search list with results
    By newbie4 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-29-2015, 08:20 PM
  3. Replies: 8
    Last Post: 06-25-2014, 05:43 AM
  4. UserForm: Search Item in List > Call Table associated with Item > Execute Command
    By TexasAggie12 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-25-2014, 12:58 PM
  5. Replies: 6
    Last Post: 01-28-2012, 06:59 PM
  6. Replies: 2
    Last Post: 01-28-2012, 05:26 PM
  7. SEARCH and MATCH with array list
    By kolokor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-13-2011, 03:41 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