+ Reply to Thread
Results 1 to 6 of 6

Search for more items based on a criteria

  1. #1
    Registered User
    Join Date
    01-08-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    3

    Search for more items based on a criteria

    Hi,

    I have a very big file for displays, these displays contains 5 or 6 different codes and I need these in an overview.

    So in my example i have display code AKS, which contains of AJP;AJQ;AJR;AJS. which i want to have displayed (imagine this is a list with 800 displays with different codes) and i need to sort out 50 tables with about 5 display. So copying and pasting manually will take a lot of time.

    When i use a vlookup i just get the first code and not the second or third.

    Do you guys now a quick formula which will sort my issue and save me from 3 days work

    Thanks in advance!
    Attached Files Attached Files
    Last edited by basvankrimpen; 04-05-2017 at 09:43 AM.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Search for more items based on a criteria

    in H5
    =IFERROR(INDEX($C$1:$C$1000,SMALL(IF(($B$1:$B$1000=H$3),ROW($B$1:$B$1000)),ROW(A1)),1),"")
    Array formula, use Ctrl-Shift-Enter

    and copy down the column as far as the list in column B.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    01-08-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Search for more items based on a criteria

    Thanks, or i do something wrong, but i get the wrong code. please see attached what i did
    Attached Files Attached Files

  4. #4
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Search for more items based on a criteria

    Like this... Enter into cell H5 and pull down

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    IMPORTANT
    This is an array formula
    Enter the formula >> CTRL + SHIFT + ENTER
    If entered correctly, the formula will be enclosed in {brackets}
    Do not enter the {brackets} manually
    Last edited by mike7952; 04-05-2017 at 08:33 AM.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  5. #5
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Search for more items based on a criteria

    Quote Originally Posted by basvankrimpen View Post
    Thanks, or i do something wrong, but i get the wrong code. please see attached what i did
    You didn't read my instructoons properly.

    Array formula, use Ctrl-Shift-Enter

  6. #6
    Registered User
    Join Date
    01-08-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Search for more items based on a criteria

    Thanks i see it now! Problem solved. sorry for the inconvenience and the help!

+ 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] Extract unique items based on criteria
    By YasserKhalil in forum Excel General
    Replies: 4
    Last Post: 09-03-2015, 03:29 AM
  2. Extract unique items based on criteria
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-08-2015, 03:10 PM
  3. Index items based on criteria
    By royalB in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-09-2014, 08:39 AM
  4. Replies: 4
    Last Post: 07-17-2013, 07:20 PM
  5. Replies: 4
    Last Post: 01-08-2013, 12:37 PM
  6. formula to get list of items from 1 col based on a criteria in another col
    By aravindhan_31 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-31-2009, 08:25 AM
  7. Top Five selections based on sum of items meeting criteria
    By Joe D in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-20-2005, 07:50 PM

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