Dataset organisation

antsrik

New Member
Joined
Feb 24, 2010
Messages
21
Hi All,

I have a dataset in the following format

-------WholesaleKP RepairsKP
1999Q1 29,935,196 2,753,918
1999Q2 28,822,636 2,661,801
1999Q3 27,588,453 2,668,333
1999Q4 30,280,338 2,774,898
2000Q1 30,803,697 2,903,654
2000Q2 29,384,567 2,986,720
2000Q3 27,896,545 3,030,622
2000Q4 30,642,902 3,034,591



I would like to organise as

WholesaleKP
---------------Q1______ Q2
1999
2000

RepairsKP
---------------Q1______ Q2
1999
2000
I am using office 2007

Thanks
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
antsrik354,

Welcome to the MrExcel forum.

What version of Excel and Windows are you using?

We can not tell what worksheets, cells, rows, columns, your raw data, and/or results should be in.


So that we can get it right the first time:

Can you post a screenshot of the actual raw data worksheet?

And, can you post a screenshot of the worksheet results (manually formatted by you) that you are looking for?

To post your data, you can download and install one of the following two programs:
Excel Jeanie
MrExcel HTML Maker

Or, when using Internet Explorer, just put borders around your data in Excel and copy those cells into your post.
See reply #2 the BLUE text in the following link:
http://www.mrexcel.com/forum/about-board/444901-how-create-table-like-aladin.html#post2198045


If you are not able to give us screenshots:
You can upload your workbook to Box Net,
sensitive data changed
mark the workbook for sharing
and provide us with a link to your workbook.
 
Upvote 0
antsrik354,

Thanks for the workbook.

Instead of showing the raw data and results like this:


Excel 2007
ABCDE
1WholesaleKPRepairsKP
21999Q11,496,760137,696
31999Q21,441,132133,090
41999Q31,379,423133,417
51999Q41,514,017138,745
62000Q11,540,185145,183
72000Q21,469,228149,336
82000Q31,394,827151,531
92000Q41,532,145151,730
102001Q11,544,047151,236
112001Q21,459,776151,539
122001Q31,389,803152,542
132001Q41,389,803152,542
14
15
16WholesaleKPQ1Q2Q3Q4
1719991,496,7601,441,1321,379,4231,514,017
1820001,540,1851,469,2281,394,8271,532,145
1920011,544,0471,459,7761,389,8031,389,803
20
21
22RepairsKPQ1Q2Q3Q4
231999137,696133,090133,417138,745
242000145,183149,336151,531151,730
252001151,236151,539152,542152,542
26
Sheet1


How about this?


Excel 2007
ABCDEFGHIJKLMNO
1WholesaleKPRepairsKPWholesaleKPQ1Q2Q3Q4RepairsKPQ1Q2Q3Q4
21999Q11,496,760137,69619991,496,7601,441,1321,379,4231,514,0171999137,696133,090133,417138,745
31999Q21,441,132133,09020001,540,1851,469,2281,394,8271,532,1452000145,183149,336151,531151,730
41999Q31,379,423133,41720011,544,0471,459,7761,389,8031,389,8032001151,236151,539152,542152,542
51999Q41,514,017138,745
62000Q11,540,185145,183
72000Q21,469,228149,336
82000Q31,394,827151,531
92000Q41,532,145151,730
102001Q11,544,047151,236
112001Q21,459,776151,539
122001Q31,389,803152,542
132001Q41,389,803152,542
14
Sheet1
 
Upvote 0
Thanks hiker95 but can you assist me with a function to get the data from table 1 in a format like table 2 & 3, this is just an extract from a large data set
 
Upvote 0
antsrik354,

1. Table1 is in range A1:C13?

Probably because of the length of Table1:

2. You could have Table2 in range E1:I4?

3. And, Table3 in range K1:O4?
 
Upvote 0
Table 2 &3 does not exist I just created that as an example, I want to pull the data from table 1
 
Upvote 0
antsrik354,

Table 2 &3 does not exist I just created that as an example, I want to pull the data from table 1

1. I assume that Table2 and Table3 should look like your screenshot?

2. Do you want Table 2 & 3 to be in the same worksheet as Table 1?

3. Do you want Table2 to be in its own worksheet? And, what should the worksheet name be?

4. Do you want Table3 to be in its own worksheet? And, what should the worksheet name be?

5. Do you want both Table2 & 3 in the same worksheet? And, what should the worksheet name be?
 
Upvote 0
yeah, table 2 and 3 is what I want from 1 I built it manually as an example.

both table 2 and 3 on the same worksheet and the name of the worksheet does not matter
 
Upvote 0
antsrik354,

Just to clarify some points before I start.

1. Approximately how many rows are there in the raw data worksheet?

2. This is what your raw data looks like, just more rows? And, each year contains Q1, Q2, Q3, and, Q4?


Excel 2007
ABC
1WholesaleKPRepairsKP
21999Q11,496,760137,696
31999Q21,441,132133,090
41999Q31,379,423133,417
51999Q41,514,017138,745
62000Q11,540,185145,183
72000Q21,469,228149,336
82000Q31,394,827151,531
92000Q41,532,145151,730
102001Q11,544,047151,236
112001Q21,459,776151,539
122001Q31,389,803152,542
132001Q41,389,803152,542
14
Sheet1


3. And, this is what your results should look like, in a new worksheet?


Excel 2007
ABCDEFGHIJK
1WholesaleKPQ1Q2Q3Q4RepairsKPQ1Q2Q3Q4
219991,496,7601,441,1321,379,4231,514,0171999137,696133,090133,417138,745
320001,540,1851,469,2281,394,8271,532,1452000145,183149,336151,531151,730
420011,544,0471,459,7761,389,8031,389,8032001151,236151,539152,542152,542
5
Results
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,647
Messages
6,120,722
Members
448,987
Latest member
marion_davis

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