Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Aug 21, 11:45�am, RAYCV wrote:
Hi, I am trying to extract and remerge data with an additional character (comma). �For example, I have the following list in a column with many variables Jones Bob Mr Campbell Jock Mr & Mrs Smith Bob Banking Trust and want it to be displayed as Jones, Bob Mr Campbell, Jock Mr & Mrs Smith, Bob / Banking Trust I have used =LEFT(G9,FIND(" ",G9)-1) to find the text and then =H9&","&RIGHT(G9,FIND(" ",G9)*1) to concatenate the text, but it doesn't return all the data for the 3rd record?? �What am I doing wrong As you're just inserting a comma, why not find the space and use that position to extract both the pre-comma & post-comma text. =MID(G9,1,FIND(" ",G9)-1)&","&MID(G9,FIND(" ",G9),50) Similar technique for the stroke insertion. Alan Lloyd |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Replacing numeric X-axis labels with corresponding text string | Excel Discussion (Misc queries) | |||
Extracting text from a string | Excel Worksheet Functions | |||
Extracting text from string | Excel Worksheet Functions | |||
Extracting a word from a text string | Excel Discussion (Misc queries) | |||
Extracting from a text string | Excel Worksheet Functions |