OOps,
I needed a Dynamically expanding formula. When I add items to the list in the column, I need the headers to grow with the list. Is anybody still there?, so far it works great, but it isn't expanding with added data.
Davis
This means we're going to have to start from scratch since you're trying to extract from another file!
One thing that can make a big difference in the readability of the formulas is using SHORT file names and sheet names! To get around the very long file/sheet names that you have I'm going to use defined named ranges.
In the file Import A Clean Master Parts File QG.xlsm, create a named range that refers to:
='A Master Clean Master Parts Fil'!$F$4:$F$100
I use down to row 100. Adjust that to suit your needs that will allow for future data addition.
I'm naming this range Rng1.
In the file where you want the unique data to appear create another named range that refers to:
='Import A Clean Master Parts File QG.xlsx'!Rng1
I'm naming this range Rng2.
Then, in the file where you want the unique data to appear, on some sheet in cell A1 enter this array formula**:
=IFERROR(INDEX(Rng2,SMALL(IF(Rng2<>"",IF(ROW(Rng2)-MIN(ROW(Rng2))+1=MATCH(Rng2,Rng2,0),ROW(Rng2)-MIN(ROW(Rng2))+1)),COLUMNS($A1:A1))),"")
** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
Copy across until you get blanks.