VBA - Copy Each Columns Data in Row

unknownymous

Board Regular
Joined
Sep 19, 2017
Messages
249
Office Version
  1. 2016
Platform
  1. Windows
Hi Guys,

I have this data below but what i need is to produce the data in list form


Before:

IDRANKNAMENOTE1NOTE21/30/20188/30/20175/30/20174/30/20171/30/2017
011Ben500450300250200
022Sam450425275225175
033Max42540025000

<tbody>
</tbody>


Result: Will be exported in another sheet named "Results"

DateScore
1/30/2018500
1/30/2018450
1/30/2018425
8/30/2017450
8/30/2017425
8/30/2017400
5/30/2017300
5/30/2017275
5/30/2017250
4/30/2017250
4/30/2017225
4/30/2017200
1/30/2017200
1/30/2017175
1/30/2017150

<tbody>
</tbody>


Note that the data might be have additional dates and numbers might be more (set as until row 10K for each column). Lastly, all zero will be deleted.


Any help will be much appreciated.
 
Last edited:

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
something along the lines of

Dim c As Range, rng
Dim lr As Long

Set rng = Range("f2:j4")
For Each c In rng
lr = Range("o" & Rows.Count).End(xlUp).Row + 1
Range("o" & lr) = c.Value
Range("n" & lr) = Cells(1, c.Column).Value
Next c
 
Upvote 0

Forum statistics

Threads
1,215,582
Messages
6,125,659
Members
449,247
Latest member
wingedshoes

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