+ Reply to Thread
Results 1 to 6 of 6

index match multiple unique values based on one criteria

  1. #1
    Registered User
    Join Date
    01-15-2013
    Location
    Indianapolis
    MS-Off Ver
    Office 365
    Posts
    78

    index match multiple unique values based on one criteria

    This one has me confused because I cant put these in a list, they have to go to the right up to 3 columns.

    In column A I have a list of customers
    In column B I have a list of appointments

    In column E I have a list of Unique Appointment numbers
    In column F,G, and H I basically want to transpose the unique customers next to their respective Appointment numbers

    I can do this easily if i make a list but trying to work from left to right in multiple columns has me perplexed.

    I need a formula to copy down in columns F,G, and H

    I have provided examples in the upload of what the data should look like.

    Many thanks.
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,859

    Re: index match multiple unique values based on one criteria

    Your explanation in the post does not match what you are showing in your example. Suggest you show a before and after scenario and the data match the explanation. I really can't tell from your worksheet if this is the before, the after or something else.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    01-15-2013
    Location
    Indianapolis
    MS-Off Ver
    Office 365
    Posts
    78

    Re: index match multiple unique values based on one criteria

    Sorry about that,

    In cell F2 I need a formula that uses cell E2 as the criteria and finds the FIRST unique customer from column A
    In cell G2 I need a formula that uses cell E2 as the criteria and finds the SECOND unique customer from column A(provided there is one)
    In cell H2 I need a formula that uses cell E2 as the criteria and finds the THIRD unique customer from column A(provided there is one)

    Not all appointments will have 3 customers, some can have 2 or just 1.

  4. #4
    Forum Contributor
    Join Date
    08-30-2007
    Location
    Vancouver, B.C.
    Posts
    149

    Re: index match multiple unique values based on one criteria

    Formula in cell E2 (Customer 1 of Appt No 1):
    Please Login or Register  to view this content.
    Drag and fill to other cells

  5. #5
    Registered User
    Join Date
    01-15-2013
    Location
    Indianapolis
    MS-Off Ver
    Office 365
    Posts
    78

    Re: index match multiple unique values based on one criteria

    Quote Originally Posted by lazyme View Post
    Formula in cell E2 (Customer 1 of Appt No 1):
    Please Login or Register  to view this content.
    Drag and fill to other cells
    Column E is my criteria, the formula should start in cell F2. Not sure if the formula can be dragged down because I feel it also need to be dragged to the right to fill columns G and H

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,532

    Re: index match multiple unique values based on one criteria

    This proposal employs a helper column (C) which may be moved and/or hidden for aesthetic purposes.
    The helper column is populated using: =COUNTIFS(B$2:B2,B2,A$2:A2,A2)
    The formula that displays the customers for each appointment is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Replies: 6
    Last Post: 08-21-2018, 05:45 PM
  2. [SOLVED] Index & Match Formula for Unique Values On Multiple Criteria
    By JenMasters84 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-10-2018, 03:01 PM
  3. [SOLVED] Looking for help on unique value pull with multiple criteria using Index Match
    By shinobi2u in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-09-2017, 05:07 PM
  4. [SOLVED] Index & Match Formula for Unique Values On Multiple Criteria
    By Neilesh Kumar in forum Excel General
    Replies: 2
    Last Post: 03-24-2017, 10:13 AM
  5. [SOLVED] Index & Match Formula with Unique Values bases on a criteria
    By Neilesh Kumar in forum Excel General
    Replies: 5
    Last Post: 03-24-2017, 06:22 AM
  6. Listing Unique values based on partial match criteria
    By mamachrissy1028 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-17-2016, 05:23 PM
  7. [SOLVED] Listing Unique values based on partial match criteria
    By mamachrissy1028 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-11-2016, 11:38 AM

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