Hi Everyone,
I have column A in excel where each cell contains "multiline text". Now I want to extract a specific line which contains the word "Phone". How can I do that?
Many Thanks in advance.
Best Regards,
Hi Everyone,
I have column A in excel where each cell contains "multiline text". Now I want to extract a specific line which contains the word "Phone". How can I do that?
Many Thanks in advance.
Best Regards,
Please provide some sample data in a workbook.
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.
Try this copied down:
=TRIM(LEFT(SUBSTITUTE(MID(A1,FIND("Phone:",A1),99),CHAR(10),REPT(" ",99)),99))
Thanks for the rep!
Sorry - I have just closed down my laptop for the evening.
No Problem.Take it easy. When you are online then please help me about this problem. Have great day
I imagine someone else will finish this off for you - someone on your side of the pond.
Tiny tweak needed - remove the colon from the search text:
=TRIM(LEFT(SUBSTITUTE(MID(A1,FIND("Phone",A1),99),CHAR(10),REPT(" ",99)),99))
This will not work on any text where the word 'Phone' does not exist as an identifier.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks