+ Reply to Thread
Results 1 to 6 of 6

Extract and return a distinct and duplicate items list separately from a two list items

  1. #1
    Forum Contributor
    Join Date
    08-19-2020
    Location
    Dubai
    MS-Off Ver
    Office365
    Posts
    131

    Extract and return a distinct and duplicate items list separately from a two list items

    Hi,

    Required a formula help to return and extract a distinct and duplicate items list separately from a two different lists as per data list-1 contains column A & B, List-2 data contains in Column D & E.

    Sample sheet attached with desired results.


    Thanks,
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Extract and return a distinct and duplicate items list separately from a two list item

    Please try at
    G5
    =UNIQUE(FILTERXML("<x><m>"&TEXTJOIN("</m><m>",,$A$5:$A$19,$D$5:$D$19)&"</m></x>","//m"),,1)

    H5
    =SUMIFS(B5:E18,A5:D18,G5#)

    J5
    =FILTER(UNIQUE(FILTERXML("<x><m>"&TEXTJOIN("</m><m>",,$A$5:$A$19,$D$5:$D$19)&"</m></x>","//m")),ISNA(MATCH(UNIQUE(FILTERXML("<x><m>"&TEXTJOIN("</m><m>",,$A$5:$A$19,$D$5:$D$19)&"</m></x>","//m")),G5#,)))

    K5
    =AVERAGEIFS(B5:E19,A5:D19,J5#)
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    08-19-2020
    Location
    Dubai
    MS-Off Ver
    Office365
    Posts
    131

    Re: Extract and return a distinct and duplicate items list separately from a two list item

    Thanks a lot Bo_ry for being supportive always,

    Further to more I need a solution with condition of excluding some values of items in both lists (unique, duplicate list) the excluding item values I have mentioned in revised sample work sheet (cells G14:K14)



    Thanks again for your support.
    Attached Files Attached Files

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Extract and return a distinct and duplicate items list separately from a two list item

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


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

  5. #5
    Forum Contributor
    Join Date
    08-19-2020
    Location
    Dubai
    MS-Off Ver
    Office365
    Posts
    131

    Re: Extract and return a distinct and duplicate items list separately from a two list item

    Many many Thanks Bo_ry for your remarkable formula solutions.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,777

    Re: Extract and return a distinct and duplicate items list separately from a two list item

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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 to compare to a list and return missing list items in summary. (if/and)
    By bigtunelover in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-07-2020, 02:06 AM
  2. [SOLVED] Extract a unique distinct list by matching items that meet a criterion
    By PeterDavids in forum Excel General
    Replies: 10
    Last Post: 10-10-2015, 09:15 AM
  3. How to hyperlink distinct items in a list in fell swoop
    By rcamfs84 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-28-2014, 12:48 PM
  4. Extract Items From List
    By MGBush in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-02-2012, 04:45 AM
  5. [SOLVED] Extract only items not on previous list
    By Domenic in forum Excel Formulas & Functions
    Replies: 28
    Last Post: 09-06-2005, 07:05 AM
  6. [SOLVED] Extract only items not on previous list
    By Leslie Coover in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  7. Extract only items not on previous list
    By Leslie Coover in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM

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