Changing Multiple Lines to Single Lines

Status
Not open for further replies.

SeamusBo

New Member
Joined
Sep 12, 2019
Messages
6
Hi Guys,
I need to change a multiple line excel sheet to the a single line sheet.

I have the below sheet
ABCJ
Exported On: 16/08/2019 15:40:57
UseroneBasic Pay
UseroneOvertime
UsertwoBasic Pay
UserthreeBasic Pay
UserthreeOvertime
UserFourARTIC RATE
UserFourARTIC OVERTIME
UserFiveBasic Pay
UsersixBasic Pay
UserSevenBasic Pay
UserSevenOvertime
UserEightARTIC RATE
UserNineBasic Pay
UserTenBasic Pay
UserTenOvertime
UserElevenBasic Pay
UserTwelveBasic Pay
UserFourteenBasic Pay
UserFifteenBasic Pay
UserFifteenOvertime
UserSixteenBasic Pay
UserSixteenOvertime
UserSixteenTime and a half

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]

[TD="align: right"][/TD]
[TD="align: center"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]2[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=00DC00]#00DC00[/URL] "]Employees.Forename[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=00DC00]#00DC00[/URL] "]Employees.Surname[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=00DC00]#00DC00[/URL] , align: center"]PaymentHistory.PaymentHrsNoCur[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=00DC00]#00DC00[/URL] "]PaymentHistory.PaymentDescription[/TD]

[TD="align: center"]3[/TD]

[TD="align: center"]45[/TD]

[TD="align: center"]4[/TD]

[TD="align: center"]10.03[/TD]

[TD="align: center"]5[/TD]

[TD="align: center"]38.5[/TD]

[TD="align: center"]6[/TD]

[TD="align: center"]45[/TD]

[TD="align: center"]7[/TD]

[TD="align: center"]10.25[/TD]

[TD="align: center"]8[/TD]

[TD="align: center"]45[/TD]

[TD="align: center"]9[/TD]

[TD="align: center"]9.03[/TD]

[TD="align: center"]10[/TD]

[TD="align: center"]24[/TD]

[TD="align: center"]11[/TD]

[TD="align: center"]24[/TD]

[TD="align: center"]12[/TD]

[TD="align: center"]45[/TD]

[TD="align: center"]13[/TD]

[TD="align: center"]4[/TD]

[TD="align: center"]14[/TD]

[TD="align: center"]45[/TD]

[TD="align: center"]15[/TD]

[TD="align: center"]43[/TD]

[TD="align: center"]16[/TD]

[TD="align: center"]45[/TD]

[TD="align: center"]17[/TD]

[TD="align: center"]2.12[/TD]

[TD="align: center"]18[/TD]

[TD="align: center"]44[/TD]

[TD="align: center"]19[/TD]

[TD="align: center"]44[/TD]

[TD="align: center"]20[/TD]

[TD="align: center"]44[/TD]

[TD="align: center"]21[/TD]

[TD="align: center"]45[/TD]

[TD="align: center"]22[/TD]

[TD="align: center"]11.12[/TD]

[TD="align: center"]23[/TD]

[TD="align: center"]45[/TD]

[TD="align: center"]24[/TD]

[TD="align: center"]5.24[/TD]

[TD="align: center"]25[/TD]

[TD="align: center"]5.53[/TD]

</tbody>
Raw Data



and want it to be in this format
ABCDEFGHIJ
Userone
Usertwo
Userthree
UserFour
UserFive
Usersix
UserSeven
UserEight
UserNine
UserTen
UserEleven
UserTwelve
UserFourteen
UserFifteen
UserSixteen

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="bgcolor: #FFFF00"]Employees.Forename[/TD]
[TD="bgcolor: #FFFF00"]Employees.Surname[/TD]
[TD="bgcolor: #FFFF00"]Basic Pay[/TD]
[TD="bgcolor: #FFFF00"]Overtime[/TD]
[TD="bgcolor: #FFFF00"]ARTIC RATE[/TD]
[TD="bgcolor: #FFFF00"]ARTIC OVERTIME[/TD]
[TD="bgcolor: #FFFF00"]Time and a half[/TD]
[TD="bgcolor: #FFFF00"]CHARGEHAND[/TD]
[TD="bgcolor: #FFFF00"]Salary[/TD]
[TD="bgcolor: #FFFF00"]Total[/TD]

[TD="align: center"]2[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]3[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]4[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]5[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]6[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]7[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]8[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]9[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]10[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]11[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]12[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]13[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]14[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]15[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]16[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

</tbody>
Single Line
How do i achieve this?
There will be over 100 lines in the multi line one
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Please do not post the same question multiple times. All clarifications, follow-ups, and bumps should be posted back to the original thread.
Per forum rules, posts of a duplicate nature will be locked or deleted (rule 12 here: Forum Rules).

If you ask for a thread to be deleted please wait for that to happen before starting a new thread.
Thanks
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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