Forum Discussion

Dr0idy's avatar
Dr0idy
Helper I
6 years ago
Solved

Transform 999+ column data into something sensible

I have an excel file (not created by me) that contains 999+ Columns in the repeating format as below.

AreaIndicator1 Year1Indicator1 Year2Indicator1 Year3Indicator2 Year1Indicator2Year2Indicator2 Year3

 

I want the data in the format

AreaIndicatorYearValue

 

I know how to do this manually with concatenations, delimiting and then splitting the columns. Is there a more automated way of me transforming this within Query Editor?

 

If anyone wants to see the actual data it is in the spreadsheet at http://www.improvementservice.org.uk/documents/benchmarking/1718rawdata.xlsx