Get a line with a certain string from Excell Cell

Issue

This Content is from Stack Overflow. Question asked by Shahid Nagra

I want to extract line with the string “product” from this cell text. I don’t know how to start this (rookie here).

Text –

——-Insights——- <> INSIGHTS <>-I am just an insight<><><> OPPORTUNITIES<>-I am a product insight<>I am not an insight <><>

I tried writting
=MID(D2,FIND("Cross Border Payments",D2,1),(LEN(D2)-LEN(?)))

Please help. Thanks in advance.



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?