+ Reply to Thread
Results 1 to 6 of 6

Create Unique List when column locations change

  1. #1
    Registered User
    Join Date
    10-25-2017
    Location
    United States
    MS-Off Ver
    2019
    Posts
    63

    Create Unique List when column locations change

    I have a spreadsheet that has alot of information within it regarding company and employee demographics. INDEX MATCH has been effective, however the columns within the spreadsheet have been changing locations and thus, making INDEX MATCH with specified ranges ineffective.

    I am looking for a formula that will create a unique list of employee ID's based on a match of "employee" in a column labeled Relationship. The challenging part is the employee ID column and the relationship column can be anywhere on the spreadsheet from column A:DA. The formula will search the range A1:DA1 to identify the column "Relationship", and use that columns range to match "employee" to create a list of employee ID's.

    If possible, 365 formulas will not work in this instance.

    Here is a copy of the workbook:
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,915

    Re: Create Unique List when column locations change

    I was going to suggest a double FILTER, then realised you only have Excel 2019 (this works in Excel 2021 and newer).

    Here it is for anyone interested (but I'm afraid it won't work for you - sorry):

    =UNIQUE(FILTER(FILTER(A2:G10,(A1:G1="EID")),G2:G10="Employee"))
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Create Unique List when column locations change

    PL see file. In C15 copied down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  4. #4
    Registered User
    Join Date
    10-25-2017
    Location
    United States
    MS-Off Ver
    2019
    Posts
    63

    Re: Create Unique List when column locations change

    Thank you - one day, I will be able to do 365 formulas.

  5. #5
    Registered User
    Join Date
    10-25-2017
    Location
    United States
    MS-Off Ver
    2019
    Posts
    63

    Re: Create Unique List when column locations change

    This works given the current ranges provided, but what if the columns EID and Relationship shift to a different column?

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Create Unique List when column locations change

    Pl see file
    In R2 copy down.
    Please Login or Register  to view this content.
    Range I have used (as an example) is A:N. Change it as required. EID and Relationship can be in any column from A to N Row1.
    Attached Files Attached Files

+ 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] create unique list from multiple column
    By mazan2010 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-20-2022, 07:03 AM
  2. [SOLVED] Create List of Unique values based on data from another column
    By yettie10ff in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-09-2017, 12:18 PM
  3. [SOLVED] Create Unique list using adjacent column as criteria
    By Seve in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-05-2017, 08:19 AM
  4. [SOLVED] Create Unique List based on matching value in adjacent column
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-06-2016, 01:29 PM
  5. Create unique # of worksheets based on list count with unique names
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-24-2016, 09:51 AM
  6. Create Unique (in order) List from Column
    By KingPatel in forum Excel General
    Replies: 5
    Last Post: 07-25-2014, 10:21 AM
  7. Create a unique list from column of data in excel using vba
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-02-2012, 09:03 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