To clean up the messy data, it needs to be loaded into the Power Query Editor.
Select all the relevant cells, and in the Data tab, click the main part of the split "Data Validation" button. Then, click ...