On the left I have the following data from a client, and need to turn into the table on the right. The date columns are dynamic - they vary weekly and the resulting pivot table should react when date columns get added/removed.

If a customer/product has more than one date column with value, the new table should have more than one row to accommodate only one value per row.

enter image description here

link|improve this question

80% accept rate
feedback

2 Answers

up vote 1 down vote accepted

Actually, it appears that you want to "de-pivot" your data. Here's a situation very similar to yours, with a detailed step-by-step solution:
de-pivoting

link|improve this answer
feedback

Yes, this is what pivot tables are for, and see here for a tutorial on how to use them. They wrote instructions better than I can.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.