Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Converting from Row to Columns

Hello All....any help you can provide would be greatly appreciated. I a
trying to copy a data that is just in one column to several columns
Below is the example on what I am looking for.

Data Currently stored in just one column

XYZ Company
124 Anywhere, US
555
$7890
ABC Company
123 Maine, US
455
$888
AA Auto Parts
222 Illionois, US
768
$999

This is the way I would like the data to be

XYZ Company 124 Anywhere, US 555 $7890
ABC Company 123 Maine, US 455 $888
AA Auto Parts 222 Illionois, US 768 $999


I hope this helps. Again, thanks a lot for all your help.

Yes, I can do this manually; however, I have 50,000 records to go thru

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Converting from Row to Columns

insert a second sheet. In A1 put in the formula

=INDIRECT("sheet1!A" & (ROW()-1)*4+COLUMN())

Change Sheet1 to reflect the sheetname of the sheet that contains the data

Drag the cell to the right to column 4

Now Select A1:D1

now drag fill down the column until you run out of data


Select all the cells and do Edit=Copy and then Edit=Paste special , then
values.

That will replace the formulas with the data they produce.

--
Regards,
Tom Ogilvy

"miket2799 " wrote in message
...
Hello All....any help you can provide would be greatly appreciated. I am
trying to copy a data that is just in one column to several columns.
Below is the example on what I am looking for.

Data Currently stored in just one column

XYZ Company
124 Anywhere, US
555
$7890
ABC Company
123 Maine, US
455
$888
AA Auto Parts
222 Illionois, US
768
$999

This is the way I would like the data to be

XYZ Company 124 Anywhere, US 555 $7890
ABC Company 123 Maine, US 455 $888
AA Auto Parts 222 Illionois, US 768 $999


I hope this helps. Again, thanks a lot for all your help.

Yes, I can do this manually; however, I have 50,000 records to go thru.


---
Message posted from http://www.ExcelForum.com/



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
Converting Values to Columns?? JBeaucaire[_90_] Excel Worksheet Functions 0 May 6th 09 05:28 AM
converting text to columns Linda (Irwin) New Users to Excel 1 February 24th 09 04:24 PM
Converting columns to rows [email protected] Excel Worksheet Functions 4 February 15th 07 11:13 PM
Converting 3 columns to 1 B. R.Ramachandran Excel Discussion (Misc queries) 1 December 2nd 05 12:56 AM


All times are GMT +1. The time now is 01:51 PM.

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

About Us

"It's about Microsoft Excel"