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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
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,224,835
Messages
6,181,247
Members
453,026
Latest member
cknader

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