ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   separate a Capital starting word from a sentence (https://www.excelbanter.com/excel-worksheet-functions/115201-separate-capital-starting-word-sentence.html)

Rasoul Khoshravan

separate a Capital starting word from a sentence
 
I have a sentence in cells of column A.
Sentence starts with a capital word and the next word starts with capital
but the rest is small.
I want to separate the first total capital word from the rest.
How can I do this.


Bernie Deitrick

separate a Capital starting word from a sentence
 
Rasoul,

For a string in cell A1:

=LEFT(A1,FIND(" ",A1)-1)
=MID(A1,FIND(" ",A1)+1,LEN(A1))

HTH,
Bernie
MS Excel MVP


"Rasoul Khoshravan" wrote in message
...
I have a sentence in cells of column A.
Sentence starts with a capital word and the next word starts with capital but the rest is small.
I want to separate the first total capital word from the rest.
How can I do this.




romelsb

separate a Capital starting word from a sentence
 
Mr. Rasoul - try to place a space " " between the first and the second word
of the sentence. Or u can give me what sentence is it ?

"Bernie Deitrick" wrote:

Rasoul,

For a string in cell A1:

=LEFT(A1,FIND(" ",A1)-1)
=MID(A1,FIND(" ",A1)+1,LEN(A1))

HTH,
Bernie
MS Excel MVP


"Rasoul Khoshravan" wrote in message
...
I have a sentence in cells of column A.
Sentence starts with a capital word and the next word starts with capital but the rest is small.
I want to separate the first total capital word from the rest.
How can I do this.





Rasoul Khoshravan

separate a Capital starting word from a sentence
 
They have space between two words.
Bernie Deitrick solution, solved my problem.
"romelsb" wrote in message
...
Mr. Rasoul - try to place a space " " between the first and the second
word
of the sentence. Or u can give me what sentence is it ?

"Bernie Deitrick" wrote:

Rasoul,

For a string in cell A1:

=LEFT(A1,FIND(" ",A1)-1)
=MID(A1,FIND(" ",A1)+1,LEN(A1))

HTH,
Bernie
MS Excel MVP


"Rasoul Khoshravan" wrote in message
...
I have a sentence in cells of column A.
Sentence starts with a capital word and the next word starts with
capital but the rest is small.
I want to separate the first total capital word from the rest.
How can I do this.







All times are GMT +1. The time now is 05:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com