To clean up the messy data, it needs to be loaded into the Power Query Editor.
In September 2023, Microsoft revealed it was launching a Python Editor add-in program for its Excel spreadsheet app in Windows. The optional and experimental add-in came from its Excel Labs division.