Use dynamic arrays and tables for fast, scalable cascading drop-down lists in modern Excel.
AGGREGATE was built to handle messy data from the start.