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

Formula to look for a word within a sentence

$
0
0

Here is the Sample Google sheet file https://docs.google.com/spreadsheets/d/1B0CQyFeqxg2wgYHJpFxLIzw_8Pv067p0cwacWk0Nc4o/edit?usp=sharing

I have an Excel Sheet where I need to find Arabic Words and separate them.

For example, I have data like this:

//olyservice/GIS-TANSIQ01/Storage/46-أمانة منطقة عسير -بلدية بللحمر/حدود القري المطلوب اعتمادهاالمعتمد مسمايتها بالوزارة.rar

I'm looking for:

  • 1st column: أمانة منطقة عسير
  • 2nd column: بلدية بللحمر
  • 3rd column: RAR

If there is no أمانة and بلدية words, the columns should be blank.

I tried these methods, without success:

=RIGHT(MID(A2,FIND("-",A2,20)+1,255),25)

and

=TRIM(MID(SUBSTITUTE(A2,"",REPT("",99)),MAX(1,FIND("-",SUBSTITUTE(A2,"",REPT("",99)))+21),99))

Viewing all articles
Browse latest Browse all 89212

Trending Articles



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