the formulas are in the named ranges, basicaly i made it dynamicaly create the range based on what was selected in the Filter cell, i used a few formulas in combination
to populate that range i used 2 helper columns, one to find if the item was in the filter Col A:
=IF(LEFT(C2,LEN('Front End'!$B$3))='Front End'!$B$3,1,0)
and one to give it a unique value counting only filtered results Col B:
=IF(A2=1,COUNTIF(A$1:A2,1),"")
then in Col F i just listed the numbers from 1 to the highest possible number
in Col G i used a vlookup:
=IFERROR(VLOOKUP(F2,B:C,2,0),"")
then in H1 i put a count, just to know where the last used cell is:
=1048576-COUNTBLANK(G:G)
for the Named Range i used:
=INDIRECT("Names!$G$2:$G$"&Names!$H$1)
Bookmarks