I have an excel sheet with three columns: Country, Year and Fuel consumption per capita.
Dataset:
The country column has data for all worldwide countries. The year range for each country is from 1965 to 2021. I'm trying to transpose the data in such a way that there's just one row for each country and a separate column for every year and its associated fuel consumption. Could anyone please help me with that?
Expected result: