Convert data to vertical format and insert rows

stylencia18

New Member
Joined
Aug 14, 2017
Messages
31
Good morning:

I have thousands of rows of datain the following format:

Date 1 Proc 1 Date 2 Proc 2 Date 3 Proc 3 Date 4 Proc 4 Date 5 Proc 5

2/1/2018

<tbody>
[TD="width: 62, bgcolor: transparent"] 22120
[/TD]
[TD="width: 70, bgcolor: transparent"] 2/2/2018
[/TD]
[TD="width: 62, bgcolor: transparent"] 22121
[/TD]
[TD="width: 70, bgcolor: transparent"] 2/3/2018
[/TD]
[TD="width: 62, bgcolor: transparent"] 22222
[/TD]
[TD="width: 70, bgcolor: transparent"] 2/4/2018
[/TD]
[TD="width: 62, bgcolor: transparent"] 22221
[/TD]
[TD="width: 70, bgcolor: transparent"] 2/5/2018
[/TD]
[TD="width: 62, bgcolor: transparent"] 22220
[/TD]

</tbody>



I need the data to appearthis way:

Date Proc
2/1/2018

<tbody>
[TD="width: 138, bgcolor: transparent"] 22120
[/TD]

[TD="width: 149, bgcolor: transparent"] 2/2/2018
[/TD]
[TD="width: 138, bgcolor: transparent"] 22121
[/TD]

[TD="width: 149, bgcolor: transparent"] 2/3/2018
[/TD]
[TD="width: 138, bgcolor: transparent"] 22222
[/TD]

[TD="width: 149, bgcolor: transparent"] 2/4/2018
[/TD]
[TD="width: 138, bgcolor: transparent"] 22221
[/TD]

</tbody>



Can someone please help me?!I’ve tried the Transpose option but it doesn’t work.

Thank you!!
 
Ah, I see. Sorry - data was in sheet 1. It worked but messed up the rest of the data in my original sheet. I have 20 columns of data.
 
Upvote 0

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
I think that it would be easier to help and test possible solutions if I could work with your actual file which includes any macros you are currently using. Perhaps you could upload a copy of your file to a free site such as www.box.com or www.dropbox.com. Once you do that, mark it for 'Sharing' and you will be given a link to the file that you can post here. If the workbook contains confidential information, you could replace it with generic data.
 
Upvote 0

Forum statistics

Threads
1,223,912
Messages
6,175,340
Members
452,637
Latest member
Ezio2866

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