Excel: 12 columns => 2 columns (SQL command or Unpivot?)

Hello!!! I have a table connected to SQL that outputs a column for each month. For working it better in Excel, I need to transforme that 12 columns to only 2... a first one for the values and the second for the respective month (that at this moment are the column titles). In your opinion, which will be the better option (or if it dependes, advantages and desavantages): a) a SQL command (not familiar to me); b) use unpivot in Query Edit

This question generated 10 answers. To proceed to the answers, click here.

This thread is current as of March 13, 2017.

For more resources for Microsoft Excel