Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Fix spreadsheet structure (title, headers, items, blank - repeat)

Hello to everyone,

 

I'm trying to work with an exported excel spreadsheet which has the following (bad) structure. Unfortunately is system export, so I can't change it automatically. Manual fix would be too much.

 

Part Number1 (10 digits: 9 numbers, 1 text, e.g. 123456789A)nullnullnullnull
Pos.titlequantity......
1    
2    
..    
N (variable!)    
nullnullnullnullnull
Part Number2    
Pos.titlequantity......
1    
2    
..    
N (different from the table before)    
nullnullnullnullnull
Part Number3    
....    

 

 

What I tried so far:

I can't split by fixed number of rows, as it isn't fixed.

 

By importing with suggested tables I can split properly, but can't get the Part Number out of it and this is a problem as I lose the most important info.

 

A perfect solution would be to recreate the pivot, with part number as 1st column. I tried adding new column from example, but it doesn't find correlations as I expect and I'm stuck.

 

Thanks in advance for support!

1 REPLY 1
lbendlin
Super User
Super User

Please provide sanitized sample data that fully covers your issue.

Please show the expected outcome based on the sample data you provided.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors