Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
XMLCimo
 
Posts: n/a
Default Opposite of Concatenate (Breaking apart a string)

Hi have a cell that has the folowing string "Martini Glass, Appletini" and I
need to turn this one cell into two cells by finding the comma and taking
everythign after that to place it into another cell. So the value would be
"Martini Glass" in one cell and "Appletini" in another.

HELP!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Opposite of Concatenate (Breaking apart a string)

The best way if you always want to split where the comma is would be to use
datatext to columns, select delimited, click next, select comma as
delimiter and click finish. Just make sure the column(s) to the right are
empty or they will be overwritten

Otherwise

=LEFT(A1,FIND(",",A1)-1)

and

=MID(A1,FIND(",",A1)+2,255)

or better

=TRIM(MID(A1,FIND(",",A1)+1,255))

just in case there might or not be spaces involved

--

Regards,

Peo Sjoblom

Northwest Excel Solutions

www.nwexcelsolutions.com

(remove ^^ from email address)

Portland, Oregon




"XMLCimo" wrote in message
...
Hi have a cell that has the folowing string "Martini Glass, Appletini" and
I
need to turn this one cell into two cells by finding the comma and taking
everythign after that to place it into another cell. So the value would be
"Martini Glass" in one cell and "Appletini" in another.

HELP!


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
Opposite of Concatenate shane24 Excel Worksheet Functions 6 December 2nd 05 12:14 PM
Breaking up a string into separate columns Loz Excel Worksheet Functions 5 November 22nd 05 03:08 AM
Opposite of Concatenate Steve Excel Worksheet Functions 2 September 1st 05 02:20 AM
superscript in part of a string when using concatenate Ged2 Excel Discussion (Misc queries) 1 August 23rd 05 02:47 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 01:48 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"