Computing.Net > Forums > Programming > Excel string split

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Excel string split

Reply to Message Icon

Name: AlwaysWillingToLearn
Date: September 29, 2005 at 11:54:41 Pacific
OS: winxp
CPU/Ram: p4 3.2
Comment:

Hi everyone,

i dont know much EXCEL code but im doing ok for now learning on the fly, i know VB so it makes it easier. so far i have been able to work everything out that i need to do kinda impressed with myself, but there in one this that is buggin my brain.

I have a string below in cell A1

TLL-PROJ-PWAY-NONE-D13-000-oooo1

what i want to do is, slip the string so that A1 remains as it is, but the TLL will be in A2 (without the "-") the PROJ will go into A3 and so on.

so far i have read a few books and googled a few pages to find

=Left(a1,Find("-",a1))

but it doesnt quite do what i want it to

any ideas please

Thanks,

bunty



Sponsored Link
Ads by Google

Response Number 1
Name: SN
Date: September 29, 2005 at 12:06:09 Pacific
Reply:

The 'text to columns' feature is probably what you are looking for...Just use '-' as the delimiter.

Good luck,
-SN


0

Response Number 2
Name: AlwaysWillingToLearn
Date: September 29, 2005 at 13:35:11 Pacific
Reply:

Hi that doesnt seem to do what i want.

u see i need it to do this dynamically because the values will be added to subsequent rows, for exaple if a1 through to a10 are ocupied, and i enter a new value in a11, i want b11, c11, d11 and so on to automatically slip the string and take their share of it.

Please guys im trying over here but i cant seem to get the thing to work properly.

Thanks,

Bunty


0

Response Number 3
Name: AlwaysWillingToLearn
Date: September 30, 2005 at 06:39:07 Pacific
Reply:

well i gave up after the first two and gave it to my brother who dont it within 10 mins, well atleast i learnt something..

Cheers all


:)


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Excel string split

String split for C++? www.computing.net/answers/programming/string-split-for-c/13456.html

Java string question www.computing.net/answers/programming/java-string-question/9674.html

C# spliting a String from Readline www.computing.net/answers/programming/c-spliting-a-string-from-readline/16053.html