I am dealing with some messy data and I was wondering how I would be able to clean it up. The data comes in a format such as the one below with headers and sub-headers starting in different columns but the numeric figures all starting in the same column.
| Sales | | | | 500 |
| | Product sales | | | 100 |
| | | Non-product sales | | 400 |
I was hoping to be able to pull the headers and sub-headers to the first column, the numeric figures to the second column, and remove null columns so the format would look as it does below.
| Sales | 500 |
| Product Sales | 100 |
| Non-Product Sales | 400 |