Help reworking data

zour1el

New Member
Joined
Apr 12, 2019
Messages
1
Hey all. I have a program that outputs the data in a fashion that makes it hard to use without the graphics, this in turn makes it hard to convert to a usable CSV. The fun thing is the headers for the data also does not always line up. I was wondering if you guys could help think of a way to reformat the data that can easily be used as a CSV.


Example Data of 2 transactions
Transaction
Name of the StoreTransaction Number:Transaction#Address of Location
State City,ZipDate:8/8/2018Phone:123-123-1234Transaction Total:$21.68
TenderAccountAmount
CHARGE CARDS$21.68
Total Tender:$21.68
SKUDCCDescriptionQtyPriceDiscountTaxExt Price
1000199860-03-01ItemA1$20.00$0.00$1.68$21.68
Subtotal:$20.00
Transaction Discount:$0.00Total Tax:$1.68Transaction Total:$21.68
Transaction
Name of the StoreTransaction Number:Transaction#Address of Location
State City,ZipDate:8/8/2018Phone:123-123-1234Transaction Total:$55.76
TenderAccountAmount
CHARGE CARDS$55.76
Total Tender:$55.76
SKUDCCDescriptionQtyPriceDiscountTaxExt Price
1000007630-10-01Item11$14.95$0.00$1.25$16.20
1000364010-01-01Item21$23.50$0.00$1.97$25.47
1000441810-01-01Item31$13.00$0.00$1.09$14.09
Subtotal:$51.45
Transaction Discount:$0.00Total Tax:$4.31Transaction Total:$55.76

<tbody>
</tbody>


I would prefer something like this

Transaction Number:Date:Transaction Total:TenderAccountAmountSKUDCCDescriptionQtyPriceDiscountTaxExt PriceSubtotal:Transaction Discount:Total Tender:
RC1-000000148/3/2018($1)($1)1000132580-03-01Old Spice Swagger 16oz-1($1.11)$0.11$0($1)($1.11)$0.11($1)

<tbody>
</tbody>
 
Last edited by a moderator:

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top