Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Breaking up long column array into different columns

$
0
0

I want to be able to copy and paste an order of draw (starts with the draw number and school name, then each proceeding row is the athletes names) which is just a long array in a single column and break it up into multiple columns.

For example, the draw I'm pasting into column G might look like:

1 SCH - SCHOOL NAMEJane DoeAnne JohnsonSarah PetersonHaley JonesElizabeth Taylor2 SSCH - SECOND SCHOOL NAME* more names * 

I want to break it up so in the first column, it's the school name, then in the next the first athlete of the first team (1 SCH), then in the next column, the second name, fourth column has the third name, etc. up to 8 names (may have anywhere between 4-8 names per team). Then the next row is the next team. So in the end it would look like:

row 1: SCHOOL NAME Jane Doe Anne Johnson Sarah Peterson Haley Jones Elizabeth Taylor

row 2: SECOND SCHOOL NAME * more names *


Viewing all articles
Browse latest Browse all 9782

Trending Articles



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