AGGREGATE was built to handle messy data from the start.
Excel isn't hard, just learn the right tricks early enough.