1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Reshaping countries time series with multiple variables

Original Data

In the first image, I have the following 3 variables for 3 countries (2000-2010). I want to reshape the data like the second image: It's like "VariableA2000 VariableB2000 VariableC2000 VariableA2001 VariableB2001 VariableC2001 VariableA2002...." for each column

Data Format Needed

Which would be the easiest way to do it? The only solution I can think of is inserting columns

submitted by /u/ThroughDownload
[link] [comments]

Want to read more?

Check out the full article on the original site

View original article