Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Microsoft Support > Microsoft Office support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Microsoft Office support MS Office support forum

Reply
 
LinkBack Thread Tools
Old 06-04-2005, 03:01 PM   #1 (permalink)
Registered User
 
Join Date: Jun 2005
Posts: 1
OS: window xp


Excel2000

I have a column of numbers 12 16 20
50 33 80

I want to spred the numbers to 3 separate column
12 16 20
50 33 80
How do I do that
Tanks
wilm106
wilm106 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 06-06-2005, 04:21 AM   #2 (permalink)
Superhuman Computer
 
ReeKorl's Avatar
 
Join Date: Mar 2005
Location: 6th Circle, The City of Dis, Hell
Posts: 1,610
OS: WinXP Pro SP2

My System

Just so happens I have a little code lying around here which does exactly that.

What you'll need to do is go into Excel, open your workbook, and click Tools->Macro->Visual Basic Editor. When this opens, right click on your project in the upper left pane (it will probably be called VBAProject (book1) or whatever your workbook is called instead of book 1) and select Insert->Module.

When you have done this, copy the text in the attached file and paste it into the new module (it should be called Module1 - double click on this and a pane will open on the right, this is where you paste the text) then close the VBA editor.

Back in excel, use the following formula:

Code:
In cell B1:
=splitfn(A1," ",1)

In cell C1:
=splitfn(A1," ",2)

In cell D1:
=splitfn(A1," ",3)
This is assuming the combined text is in cell A1 and you want it split out into B1, C1 and D1.

Hope this makes sense! If not, post back and I'll try to explain it a little better.
Attached Files
File Type: txt module1.txt (1.7 KB, 3 views)
__________________
"Sorry, the number you have dialled is imaginary. Please rotate dial by 90 degrees and try again."

Last edited by ReeKorl; 06-06-2005 at 04:22 AM. Reason: Would help if I attached the file....
ReeKorl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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




All times are GMT -7. The time now is 07:22 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85