Hi,
I have text in a cell in the following format:
"Country 1: Text"
The number of the country may be 1, 2, 3 or 4.
Can someone please suggest a formula to extract the text after the colon and following space. i.e. "Text" in my example?
Thanks!
Hi,
I have text in a cell in the following format:
"Country 1: Text"
The number of the country may be 1, 2, 3 or 4.
Can someone please suggest a formula to extract the text after the colon and following space. i.e. "Text" in my example?
Thanks!
Last edited by andrewc; 07-15-2020 at 10:55 AM.
Yes.
=MID(A1,FIND(":",A1)+2,99)
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
If your string is in A1, you could use this formula:
=IFERROR(RIGHT(A1,LEN(A1)-FIND(": ",A1)-1),"")
It will return a blank if A1 does not contain a colon-blank.
Hope this helps.
Pete
Another option
=REPLACE(A2,1,FIND(":",A2)+1,"")
Thanks very much!
Glad we could help & thanks for the feedback.
Thanks for the rep.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks