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

Break out data from one row to multiple rows on Google Sheets

$
0
0

I am currently building a sheet to collect data from an online form and need to have individual records for each division a person is in.The data comes in like this:

ID NumberFirst NameLast NameDiv 1T-Class 1Class1Div 2T-Class 2Class 2
99JohnDoeBBMasterPhysiqueopen
98MarySmithBikiniOpen
97MarkLawsonTrans>100Fit PhysiqueTeen

I would like the records returned as:

ID NumberFirst NameLast NameDivisionT-ClassClass
99JohnDoeBBMaster
99JohnDoePhysiqueOpen
98MarySmithBikiniOpen
97MarkLawsonTrans>100
97MarkLawsonFit PhysiqueTeen

I have used this to get the results:=FILTER({A2:A,B2:B,C2:C,D2:D,E2:E,F2:F;A2:A,B2:B,C2:C,G2:G,H2:H,I2:I},LEN({A2:A;A2:A}))

The issue I have is this will be expanded to 6 divisions and this will return 6 records even if they have only entered one division.

I only want the record if the "Division *" has data.

Sample Sheet:

https://docs.google.com/spreadsheets/d/1X96cMz-b6RVhgJ5-k130QQq-vpwYLG_Tbr0EII805bQ/edit?usp=sharing


Viewing all articles
Browse latest Browse all 9782

Trending Articles



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