Covert some rows to header but some others as data below relative header

Yuppiedad

New member
Joined
Oct 19, 2017
Messages
7
Reaction score
0
Points
0
Location
Hong Kong
Excel Version(s)
O365
Hi,

I receive monthly statement from vendor after providing services. However it comes in as en email message. Each transaction is separated by dotted lines. The content likes below:


Repairs completed from 05/04/2018 - 08/02/2018
Repairs receiving labor reimbursement:
---------------------------------------------------------------------------------------
Repair # PO# Dispatch # Serial #
030320016811 W180508060(N) G319337548 G6TVK340JCL7
Repair Date SN Type Warranty
05/09/2018 AASP/Carrier Facilit EXPENSED LIMITED WARRANTY
Material # Description Amount Score Total
011-0636 FACILITATION,WARRANTY REIMBURSEMENT/REP 20.50 1.65 33.83
---------------------------------------------------------------------------------------
Repair # PO# Dispatch # Serial #
030322374722 W180524019(B) G321609416 FM5V2065GWL8
Repair Date SN Type Warranty
05/28/2018 AASP/Carrier Facilit APPLE LIMITED WARRANTY
Material # Description Amount Score Total
011-00008 REIMBURSEMENT,MAIL-IN FACILITATION,BEATS 15.00 N/A 15.00
---------------------------------------------------------------------------------------
Repair # PO# Dispatch # Serial #
030322644170 W180529086(XN) G321874117 FYNV110DHG6W
Repair Date SN Type Warranty
05/30/2018 AASP/Carrier Facilit APPLECARE PROTECTION PLAN
Material # Description Amount Score Total
011-0636 FACILITATION,WARRANTY REIMBURSEMENT/REP 20.50 1.65 33.83
---------------------------------------------------------------------------------------

I copied all of them to Excel worksheet as attached. However all fields are in single column. The actual information should be read as below if I can split them into different columns.

REPAIR#PO#DISPATCH#SERIAL#
030320016811W180508060(N)G319337548G6TVK340JCL7
REPAIRDATESNTYPEWARRANTY
05/09/2018AASP/CARRIER FACILITEXPENSED LIMITED WARRANTY
MATERIAL#DESCRIPTIONAMOUNTSCORETOTAL
011-0636FACILITATION,WARRANTY REIMBURSEMENT/REP20.501.6533.83















Information spread not only in columns but rows as well. The final result I want to be like this:

REPAIR#PO#DISPATCH#SERIAL#REPAIRDATESNTYPEWARRANTYMATERIAL#DESCRIPTIONAMOUNTSCORETOTAL
030320016811W180508060(N)G319337548G6TVK340JCL705/09/2018AASP/CARRIER FACILITEXPENSED LIMITED WARRANTY011-0636FACILITATION,WARRANTY REIMBURSEMENT/REP20.501.6533.83
030322374722W180524019(B)G321609416FM5V2065GWL805/28/2018AASP/CARRIER FACILITLIMITED WARRANTY011-00008REIMBURSEMENT,MAIL-IN FACILITATION,BEATS 15.00N/A15.00
030322644170W180529086(XN)G321874117FYNV110DHG6W05/30/2018AASP/CARRIER FACILITPROTECTION PLAN011-0636FACILITATION,WARRANTY REIMBURSEMENT/REP20.501.6533.83











I really do not know where to start. Please advise.

Thanks a lot,

Waichung
 

Attachments

  • Book1.xlsx
    20.2 KB · Views: 10
Hi Bill,

Thanks for your help. It works for most records until there are more than one entry under one field. Some records have 2-3 entries of Material# under same Repair#. It generates errors instead. Is it possible to cater multiple entries?

Repair # PO# Dispatch # Serial #
030328933059 W180721004(M) G328251488 G6TWG6CXJCLF

Repair Date SN Type Warranty
07/21/2018 AASP/Carrier Facilit EXPENSED LIMITED WARRANTY

Material # Description Amount Score Total
011-00016 SVC, LABOR TIER RMB4 (LOANER) 15.00 N/A 15.00
011-0636 FACILITATION,WARRANTY REIMBURSEMENT/REP 20.50 1.65 33.83

Thanks,
 
Back
Top