How can I transform data in excel in this form (see image here: https://i.stack.imgur.com/m5EDj.jpg) into something suitable for using in a pivot chart. I need three columns eventually, Date, Country and Score. The amount of data points for each country is not constant.
How can I transform data in excel in this form (see image here: https://i.stack.imgur.com/m5EDj.jpg
Share
The easiest way i found without using VBA is to use an array formula :
Col A)A1:{=INDEX(B:B,MAX(IF(ISEMPTY($C$1:C1),ROW($C$1:C1),ROW($C$1))))}Your data are almost suitable for a Pivot Chart. What you can do next is to delete unneeded rows (with country names and headers) or use another formula on another sheet to “duplicate” the data except when unwanted rows (you can then filter the blank data in the pivot chart).