Forum Discussion
kirupab390
Mar 16, 2019Copper Contributor
Split a Sentence at a specific point using excel formula
I need an help to split a sentence using excel formula:
For example see the below sentance
692 RUTLAND LLC 1,569.41 34 E 01820 182-183
I need only "692 RUTLAND LLC" alone from the above sentance. How can I achieve this using excel formula. Can anybody help me?
- A formula cannot be used unless there is a specific pattern for each string of your data.
8 Replies
- TwifooSilver ContributorIf you want to extract the first 3 words in A1, the formula in B1 is:
=LEFT(A1,
FIND("|",
SUBSTITUTE(A1," ","|",3))-1)- kirupab390Copper Contributor
ThanksTwifoo for your immediate response. If I have any number at the end, then how can I extract the string? Like I asked in the question. Your help is much appreciated.
- TwifooSilver ContributorWhat do you mean by "any number at the end"?
- Detlef_LewinSilver Contributor
Go to the cell and select this specific text, press CTRL-C, press ESC, go to the destination cell and press CTRL-V.