vinmam123VBA
New Member
- Joined
- Dec 18, 2020
- Messages
- 33
- Office Version
- 365
- Platform
- Windows
Hi All,
Can you please help me on how to unpivot columns in excel? I am aware of power query method however I need VBA code to do the things for me
Below is the requirements:
In raw data we get leave details like below:
We need to change it to below:
Regards,
Vinayak
Can you please help me on how to unpivot columns in excel? I am aware of power query method however I need VBA code to do the things for me
Below is the requirements:
In raw data we get leave details like below:
Employee Name | Leave Date |
Colleague 1 | 29/10/2020,30/10/2020 |
Colleague 2 | 21/12/2020,22/12/2020,23/12/2020,24/12/2020 |
We need to change it to below:
Employee Name | Leave Date |
Colleague 1 | 29/10/2020 |
Colleague 1 | 30/10/2020 |
Colleague 2 | 21/12/2020 |
Colleague 2 | 22/12/2020 |
Colleague 2 | 23/12/2020 |
Colleague 2 | 24/12/2020 |
Regards,
Vinayak