Extract From Text After Comma Mark

muhammad susanto

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

i want to extract text from left after second mark "comma" :
the clue is red font comma mark..

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]data[/TD]
[TD]expected result/after formula[/TD]
[/TR]
[TR]
[TD]Jl. Teratai No. 242, Pekanbaru,Pekanbaru,PEKAN BARU KOTA,PEKAN BARU,R I A U[/TD]
[TD]Jl. Teratai No. 242, Pekanbaru[/TD]
[/TR]
[TR]
[TD]Jalan Yos Sudarso Nomor 588 Rumbai Pekanbaru,Pekanbaru,PEKAN BARU KOTA,PEKAN BARU,R I A U[/TD]
[TD]Jalan Yos Sudarso Nomor 588 Rumbai Pekanbaru,Pekanbaru[/TD]
[/TR]
[TR]
[TD]Jl. Tg. Batu No. 107, Pekanbaru,Pekanbaru,PEKAN BARU KOTA,PEKAN BARU,R I A U[/TD]
[TD]Jl. Tg. Batu No. 107, Pekanbaru[/TD]
[/TR]
[TR]
[TD]Jalan Budi Luhur RT.01/10, Kulim,Tenayan Raya,,,[/TD]
[TD]Jalan Budi Luhur RT.01/10, Kulim[/TD]
[/TR]
</tbody>[/TABLE]

any assistance much appreciated,,

m.susanto
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Here's one way:


Excel 2010
AB
1data
2Jl. Teratai No. 242, Pekanbaru,Pekanbaru,PEKAN BARU KOTA,PEKAN BARU,R I A UJl. Teratai No. 242, Pekanbaru
3Jalan Yos Sudarso Nomor 588 Rumbai Pekanbaru,Pekanbaru,PEKAN BARU KOTA,PEKAN BARU,R I A UJalan Yos Sudarso Nomor 588 Rumbai Pekanbaru,Pekanbaru
4Jl. Tg. Batu No. 107, Pekanbaru,Pekanbaru,PEKAN BARU KOTA,PEKAN BARU,R I A UJl. Tg. Batu No. 107, Pekanbaru
5Jalan Budi Luhur RT.01/10, Kulim,Tenayan Raya,,,Jalan Budi Luhur RT.01/10, Kulim
Sheet1
Cell Formulas
RangeFormula
B2=TRIM(LEFT(SUBSTITUTE(A2,",",REPT(" ",255),2),255))
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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