Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88087

Excel: Remove from a cell every content except some specific words and sentences [closed]

$
0
0

Let's say that in the column M I have a long text with lots of sentences. What I need to do is to extract, in the adjacent column, specific sentences from that content.
I can have more sentences in the same cell, so I guess that creating an index would help in someway, but don't know how to proceed.

Looking around I've found a way to play with wildcard

=IF(COUNTIF(M2;"*Ut inimicus*");"Ut inimicus";IF(COUNTIF(M2;"*Vita, mortis, aliud*");"Vita, mortis, aliud";IF(COUNTIF(M2;"*Predictum Utium*");"Predictum Utium";"")))

like this, but it only works with one of the sentence, if there are two I get just one of these, and I understand that this function has no place for this task.

How do I do this for more than one sentence?


Viewing all articles
Browse latest Browse all 88087

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>