+ Reply to Thread
Results 1 to 7 of 7

Extract Items from a list with specifc criteria order

  1. #1
    Forum Contributor
    Join Date
    12-05-2015
    Location
    Albania
    MS-Off Ver
    2013
    Posts
    215

    Extract Items from a list with specifc criteria order

    Hello excel Guru
    I thank you in advance for any of your help

    1st column (A) I' have data
    2nd column (B)i have a unique list that is the "Criteria list"
    3rd column (C) is the result I try to Achive

    In cell C2 I need a formula that allows me to look up in Colulmn A, see the criteria in column B and than the result in Colum C including Duplicate


    Origin/ unique list /Result
    1 1 1
    9 9 1
    12 12 9
    3 3 9
    4 4 9
    6 6 12
    6 1 12
    9 7 3
    1 4
    7 6
    7 6
    7 7
    9 7
    12 7

    Thank You
    Last edited by XLalbania; 05-06-2016 at 12:44 PM.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Extract Items from a list with specifc criteria order

    I see no relation between column C and columns A and B. Can you explain why in row 1 there is 1, in second 1 but in third 9 etc.
    Best Regards,

    Kaper

  3. #3
    Forum Contributor
    Join Date
    12-05-2015
    Location
    Albania
    MS-Off Ver
    2013
    Posts
    215

    Re: Extract Items from a list with specifc criteria order

    Here is a a file
    easy to understand
    Attached Files Attached Files

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Extract Items from a list with specifc criteria order

    Maybe this
    Enter formula in B2 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    the in C2 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B C
    1 Original Unique Result
    2 1 1 1
    3 9 9 1
    4 12 12 9
    5 3 3 9
    6 4 4 12
    7 6 6 12
    8 6 7 3
    9 9
    10 1
    11 7
    12 7
    13 7
    14 9
    15 12
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Forum Contributor
    Join Date
    12-05-2015
    Location
    Albania
    MS-Off Ver
    2013
    Posts
    215

    Re: Extract Items from a list with specifc criteria order

    Hello Alkey
    Thank you for your answer
    I dident expalin very well, I'm from Albania my English is poor

    I Dont need a fromula in B2 because i've allready the unique list
    But i need the formula Only i C2, so I have to extract all the duplicates that are in Column A and the criteria is the list in colum B
    see the attachment in post number 3
    thank you

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Extract Items from a list with specifc criteria order

    Ok, this would require an additional column to count duplicates

    Enter in C2 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    then enter this array formula in D2 and coy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    ***Array formula must be entered by using key combination of CTRL+SHIFT+ENTER and not just ENTER
    v A B C D
    1 Original Unique Count Result
    2 1 1 2 1
    3 9 9 3 1
    4 12 12 2 9
    5 3 3 1 9
    6 4 4 1 9
    7 6 6 2 12
    8 6 7 3 12
    9 9 3
    10 1 4
    11 7 6
    12 7 6
    13 7 7
    14 9 7
    15 12 7
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    12-05-2015
    Location
    Albania
    MS-Off Ver
    2013
    Posts
    215

    Re: Extract Items from a list with specifc criteria order

    AlKey
    Apsolutly Excellent, very good Job, esactly what i needed
    thank you

+ 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] Formula to extract list of items in column that also meet 2 criteria in the same row
    By PeteABC123 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-11-2016, 07:00 PM
  2. [SOLVED] Extract unique items based on criteria
    By YasserKhalil in forum Excel General
    Replies: 4
    Last Post: 09-03-2015, 03:29 AM
  3. Replies: 0
    Last Post: 06-03-2015, 01:33 PM
  4. Extract unique items based on criteria
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-08-2015, 03:10 PM
  5. [SOLVED] change order of items on a list
    By rookie37 in forum Excel General
    Replies: 4
    Last Post: 11-08-2014, 06:17 AM
  6. How do you open multiple files in specifc order?
    By a_marie1028 in forum Excel General
    Replies: 0
    Last Post: 12-13-2005, 09:20 PM
  7. Numbering items from a list in order
    By Natalie in forum Excel General
    Replies: 8
    Last Post: 10-30-2005, 06:43 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