SimonLock94
New Member
- Joined
- Feb 11, 2022
- Messages
- 1
- Office Version
- 365
- Platform
- Windows
Hello,
I'm very much new to the world of VBA but I have a transposing problem I need help on!
I'm working with a large excel file - columns A through to I give details on a company, these are all consistent throughout the 9,000 or so rows. Columns J onwards (up to a maximum of column EF) given the names of officers of those companies. Each company has a varying number of officers so the number of columns used per row is different.
I want to give each officer a row of their own and match it up with the company information. So essentially I want to transpose columns J onwards from horizontal to vertical, and create the same number of new rows to match the number of officers. As yet I can't figure out a way to do this other than manually.
This is a sample of the sheet I have:
And this is how I ultimately want it to look:
Any advice would be greatly appreciated here!
S
I'm very much new to the world of VBA but I have a transposing problem I need help on!
I'm working with a large excel file - columns A through to I give details on a company, these are all consistent throughout the 9,000 or so rows. Columns J onwards (up to a maximum of column EF) given the names of officers of those companies. Each company has a varying number of officers so the number of columns used per row is different.
I want to give each officer a row of their own and match it up with the company information. So essentially I want to transpose columns J onwards from horizontal to vertical, and create the same number of new rows to match the number of officers. As yet I can't figure out a way to do this other than manually.
This is a sample of the sheet I have:
And this is how I ultimately want it to look:
Any advice would be greatly appreciated here!
S