Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default from one column into multiple columns

I have a large data file in Excel like the following:

column 1
r231
r236
r239
r240
r231
r236
r239
r240
r231
r236
r239
r240
.
.
.
r231
r236
r239
r240

with upto 1 million rows.

column 2 has
item1
item1
item1
item1
item2
item2
item2
item2
item3
item3
item3
item3
.
.
.
itemX
itemX
itemX
itemX

Column 3 has
aa
bb
ab
ac
ab
bb
cc
aa
.
.
.
bb
aa
ac
cc

I would like to convert this data into the following table:

column 1, starting from the second row, has the following:
r231
r236
r239
r240

row 1, starting from second column, has item1, item2, item3, item4 in columns 2 through 5.

column 2, starting from the second row, has the original column 3 data that correspond to item1.

column 3, starting from the second row, has the original column 3 data that correspond to item2.

column 4, starting from the second row, has the original column 3 data that correspond to item3.

column 5, starting from the second row, has the original column 3 data that correspond to item3.

Would appreciate your help on how to do this in Excel 2010 for Windows.

This large data file is in txt format as well. A tip on how to convert the file in Linux/Unix is also appreciated.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
XML Column to Multiple Columns Dkline Excel Worksheet Functions 1 February 18th 09 12:05 PM
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 2 July 31st 06 09:45 PM
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 0 July 31st 06 05:07 PM
How do I create multiple columns within one column? Jeanne Excel Discussion (Misc queries) 3 February 27th 06 09:45 PM
text from one column into multiple columns Jeff Brown Excel Discussion (Misc queries) 6 December 22nd 04 10:07 PM


All times are GMT +1. The time now is 03:25 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"