+ Reply to Thread
Results 1 to 5 of 5

Two issues: building a list from an array of data and looking up in an array against list

  1. #1
    Registered User
    Join Date
    01-12-2021
    Location
    New York, New York
    MS-Off Ver
    Office 365
    Posts
    6

    Two issues: building a list from an array of data and looking up in an array against list

    I am building a list of customers looking to buy widgets with unique piece #'s. For each customer they are asked to rank the widgets from their top pick to their bottom pick.
    I ranked each customer based on his/her importance to the company. I need to reverse this table and have a list of the piece #'s and each customer associated with that piece but in order of how I ranked them and how they ranked the piece. Please see attached.
    Avoiding VBA would be ideal here.
    Attached Files Attached Files

  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 2406
    Posts
    44,662

    Re: Two issues: building a list from an array of data and looking up in an array against l

    You did not show us HOW tyou wanted the results laid out and did not provide any manually calculated expected results. So... a guess.

    Sheet1, a3, copied down:
    =UNIQUE(FILTERXML("<A><B>"&TEXTJOIN("</B><B>",TRUE,test!$C$2:$L$6)&"</B></A>","//B"))

    B3 copied across and down:
    IFERROR(INDEX(test!$B:$B,AGGREGATE(15,6,ROW(test!B$2:B$10)/(test!$C$2:$L$10=Sheet1!$A3),COLUMNS($B3:B3))),"")
    Attached Files Attached Files
    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

  3. #3
    Registered User
    Join Date
    01-12-2021
    Location
    New York, New York
    MS-Off Ver
    Office 365
    Posts
    6

    Re: Two issues: building a list from an array of data and looking up in an array against l

    Thanks Glen! Sorry if I wasn't clear. It wasn't easy for me to explain but you got it! Thanks!

  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 2406
    Posts
    44,662

    Re: Two issues: building a list from an array of data and looking up in an array against l

    You're welcome. I know it can be difficult to find the words!! We've all been there...



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

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

  5. #5
    Registered User
    Join Date
    01-12-2021
    Location
    New York, New York
    MS-Off Ver
    Office 365
    Posts
    6

    Re: Two issues: building a list from an array of data and looking up in an array against l

    Hi! is there anyway to do this without using the "unique" formula? I have someone working on an earlier version of excel and the formula isn't working.

+ 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] Compare two string array and list what is not present in array 2
    By nigelog in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-27-2019, 01:31 PM
  2. Replies: 10
    Last Post: 03-27-2017, 05:10 PM
  3. Loop through list, add to Array, count number of occurrences, clear array
    By HalPlz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-11-2016, 09:42 PM
  4. Replies: 4
    Last Post: 12-23-2013, 08:43 AM
  5. Replies: 2
    Last Post: 03-02-2013, 04:36 PM
  6. Replies: 2
    Last Post: 10-08-2012, 12:49 PM
  7. search for a part of string within an array of strings from another array list
    By jdonohue in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-12-2011, 01:32 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