Delete String If Found Matching String

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,077
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi...

in the same line/row....

COL. E /ROWCOL.F / ADDRESSCOL. G / REGIONCOL. H / AFTER FORMULA
2JL. HANG LEKIU NO 29 SUKAMULIA SAILSAILJL. HANG LEKIU NO 29 SUKAMULIA
3JL. SAOMATI RT 03/07, SAIL/TENAYAN RAYATENAYAN RAYAJL. SAOMATI RT 03/07, SAIL/
4JL. BELANAK IV/452 LIMBUNGAN RUMBAI PESISIRRUMBAI PESISIRJL. BELANAK IV/452 LIMBUNGAN
5JL. LANGSAT NO.11SUKAJADIJL. LANGSAT NO.11
6JL. KIJANG NO 24 HARJOSARI/SUKAJADISUKAJADIETC…
7JL. HANG TUAH KP. KELAPA NO 38 SAILSAIL
8JL. KEMUNING GG MESJID NO 30A SENAPELANSENAPELAN
9JL. GRIYA TIKA UTAMA SAI MINTAN BLOK N. NO.15 BKT.RAYABUKIT RAYA
10JL. BUNGA HARUM 7 HARJOSARI/SUKAJADISUKAJADI
11JL. JEND.SUDIRMAN. ATAS SIMP.TIGA/B. RAYABUKIT RAYA
12JL. PESISIR NO 127 MERANTI PANDAK RUMBAI PESISIRRUMBAI PESISIR
13JL. MUSLIMIN TANAH DATAR/PKB KOTAPEKANBARU KOTA
14JL. PINUS GG.SUNGKAI NO 1 TANGKERANG UTARABUKIT RAYA
15JL. LEMBAH MULIA NO.01 SUKAMAJU/SAILSAIL
16JL. SINGKAWANG NO 12 CSAIL
17JL. DURIAN NO 93 PEKANBARUSUKAJADI
18JL. KARTIKA UJUNG UMBAN SARI RUMBAIRUMBAI
19JL. TASKURUN NO.34 WONOREJO/MARPOYAN DAMAIMARPOYAN DAMAI
20JL. RAWAWIRI NO.9 TKG.LABUAIBUKIT RAYA
21JL. KAPAS NO 4 BUKIT RAYABUKIT RAYA
22JL. KEMBANG SARI NO 18 SAILSAIL

<tbody>
</tbody>

if the string match, delete duplicate string and display not duplicate...
how to figure it out?

note : red font i hope the clue can explain..

thanks in advance..

m.susanto
 
Last edited:

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
This works

=TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(F2,"BUKIT RAYA",""),"MARPOYAN DAMAI",""),"PEKANBARU KOTA",""),"RUMBAI",""),"PESISIR",""),"SAIL",""),"SENAPELAN",""),"SUKAJADI",""),"TENAYAN RAYA",""))
 
Upvote 0

Forum statistics

Threads
1,217,364
Messages
6,136,112
Members
449,993
Latest member
Sphere2215

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top