Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Help with macro to transpose data

$
0
0

I am in need of a macro to transpose rows into columns. I have been trying to figure it out with no success.

My data is in the format


1ABCxyz
2DEFpqr
3GHImno

and i need it to repeat the first few columns of each row but transpose the last few, so that,

1ABCx
1ABCy
1ABCz
2DEFp
2DEFq
2DEFr
3GHIm
3GHIn
3GHIo

This needs to repeat over 400 times. There are more columns then what i showed but I should be able to modify the code to make it work. If any one can help me I would be very thankful.

-Carl


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>