r/ExcelPowerQuery • u/ClifMcIrvin • Nov 14 '24
Organizing random data
I would like to retrieve free-form orders from a remote source and present the data as an ordered array (or table).
This picture is supposed to show the critical pieces of my problem.
I have limited experience with power query, and am looking for suggestions how to approach the transform

My background would lean towards a VBA solution, simply because I am familiar with that tool.
I'm working in Excel 365.
2
Upvotes
View all comments
Show parent comment
1
u/ClifMcIrvin Nov 15 '24
My picture shows step 2 and step 3 output.
The data originates as a free-form .csv file that looks like this:
Order Listing
Print Date: 11/11/2024
Page: 1 of 91
--------------------------------------------------------------------------
Order
--------------------------------------------------------------------------
Name: CH5.650AFF yd Last Updated: 4/14/2023 1:03 PM
Description: Mat. Cost: 0
Mix Yield: 26.968 cf
Ingredient Amount
------------ -----------
RMBAYERROCK 1499 lb \
RMALSOPSAND 1499 lb \
RMCEMENT 1446 lb \
RMFLYASH 79 lb Number of items varies
RMAE90 3.5 oz /
RM7500 0 /C /
RMWATER 1 31.561 gl /
--------------------------------------------------------------------------
Name: CH5.750FF yd Last Updated: 3/31/2021 2:37 PM
I have VBA that parses the source data and turns it into a flat file spreadsheet (Source Array).