Forum Discussion

ThisIsProbablyForWork's avatar
ThisIsProbablyForWork
Copper Contributor
Apr 11, 2024

How do I populate a worksheet/book from a master list that has thousands of duplicate values?

I need to create a parent/master sheet that populates other sheets, 90 to be exact, based on their 23-24 location. One sheet/book per distinct location. I'd prefer to populate separate workbooks, but can settle for separate sheets. 

 

The original file has almost 70k rows. 23-24 (A) and 24-25 (C) contain 90 distinct locations. 23-24 Status (B) indicates whether the 23-24 location is their Primary or Secondary. ID# (D) will contain some duplicates because the people listed can belong to more than one location. Names (E/F) and 23-24 Room # (G) have numerous duplicate values.

 

In the example below, I want 'Master' to auto-populate '23-24 Location 1' using criteria from column A. If 23-24 (A) says 'Location 1' then I want that entire row to populate in the '23-24 Location 1' sheet.

 

XLOOKUPs don't like the duplicate values and will only populate the first row. I tried using INDEX(....(MATCH(....)) but ended up with the same result.

 

How do I get around the duplicate value component?

 

MASTER

23-2423-24 Status24-25ID #Last NameFirst Name23-24 Room #
Location 1PLocation 211111111BurtBurt4
Location 2PLocation 111111112BobBob3
Location 1SLocation 211111113BobBurt5
Location 2PLocation 111111114BurtBob1
Location 1PLocation 211111115AllyAlly6
Location 2PLocation 111111116CurlyAlly4
Location 1SLocation 211111117BobCurly3
Location 2SLocation 111111111BurtBurt4

 

23-24 Location 1

23-2423-24 Status24-25ID #Last NameFirst Name23-24 Room #
Location 1       
       
       
       
       

Resources