sorting data

Dundee Lad

Active Member
Joined
Sep 6, 2003
Messages
311
I have a list of names and unique numbers down columns a and b. From columns c onward I have a week eending date as the header and numbers of hours worked. What I need to do is have only 4 columns, name, weekending, unique number and hours. can anyone help?
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Dufus

Board Regular
Joined
Aug 19, 2006
Messages
176
Dundee Lad,

Are you asking for help converting the layout of your existing data?

Dufus
 

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,300
Office Version
  1. 365
Platform
  1. Windows
You have 47000 rows already?:eek:

If that's the case then I can't see this being possible in Excel due to the current 65536 row limit.

I've done this sort of thing before using Excel VBA, but that involved smaller data sets.

I've also done it using Access VBA.

Both methods are pretty straightforward, but really depend on exactly how the data is set up.

So a sample of data, and the expected result would help.:)
 

Dundee Lad

Active Member
Joined
Sep 6, 2003
Messages
311

ADVERTISEMENT

I have copied the table below for you. I will post what I would like next
R/C
A​
B​
C​
D​
E​
F​
G​
H​
I​
J​
K​
1Name Unique Reference 22/03/2006 29/03/2006 05/04/2006 12/04/2006 19/04/2006 26/04/2006 03/05/2006 10/05/2006 17/05/2006
2jelly baby 4321234 3 4 2 1 2 5 3
3mr mallow 5423123 2 1 3 1 2 12
 

Dundee Lad

Active Member
Joined
Sep 6, 2003
Messages
311
sorry downloaded the wrong tool I think
sample.xls
ABCDEFGHIJK
1NameUniqueReference22/03/200629/03/200605/04/200612/04/200619/04/200626/04/200603/05/200610/05/200617/05/2006
2jellybaby43212343421253
3mrmallow54231232131212
Sheet1
 

Dundee Lad

Active Member
Joined
Sep 6, 2003
Messages
311

ADVERTISEMENT

and this is what I would like
sample.xls
ABCD
1NameUniqueReferenceWeekEndingHours
2jellybaby432123422/03/20063
3mrmallow542312322/03/20061
4jellybaby432123429/03/20068
Sheet1
 

GorD

Well-known Member
Joined
Jan 17, 2004
Messages
1,446
Are you trying to go from a tabular format to a list format?

I can't follow your results from the data in the first table?

It would be possible to use a reverse pivot table to create the list but i must agree with Norie, that if you already have 47000 multi week entries (rows) then you won't have anywhere near enough space
 

Dundee Lad

Active Member
Joined
Sep 6, 2003
Messages
311
Gord, you have got it right. It sounds as if i will need access to do this, I know this is not the place but Norrie if you see this post you said it was pretty easy?
 

Forum statistics

Threads
1,136,345
Messages
5,675,223
Members
419,553
Latest member
hanahass

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
Top