![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| 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: * 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 |
|
|||||||
| Microsoft Office support MS Office support forum |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#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 |
|
|
|
| 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 |
|
|
#2 (permalink) |
|
Superhuman Computer
Join Date: Mar 2005
Location: 6th Circle, The City of Dis, Hell
Posts: 1,610
OS: WinXP Pro SP2
|
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) Hope this makes sense! If not, post back and I'll try to explain it a little better.
__________________
"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.... |
|
|
|
![]() |
| Thread Tools | |
|
|