Terima kasih Pak Zainul_Ulum
On Wednesday, November 26, 2014 12:11 PM, "'zainul_ulum[at]yahoo[dot]com' zainul_u...@yahoo.com [belajar-excel]" <belajar-excel@yahoogroups.com> wrote: coba:=TRIM(RIGHT(SUBSTITUTE(A1, " ",REPT(" ",99)),99)) Langkah-1 : SUBSTITUTE(A1, " ",REPT(" ",99)mengganti semua spasi (“ “) menjadi spasi sebanyak 99 kali Langkah-2: RIGHT(SUBSTITUTE(A1, " ",REPT(" ",99)),99)Mengambil kata dari kanan sebanyak 99 huruf Langlah-3: TRIM(RIGHT(SUBSTITUTE(A1, " ",REPT(" ",99)),99))TRIM akan menghilangkan spasi di kiri kata. selamat mencoba 2014-11-25 8:42 GMT+07:00 Emi emilestarik...@yahoo.com [belajar-excel] <belajar-excel@yahoogroups.com>: | NAMA CABANG | NAMA KOTA | | PT ABC JAKARTA | JAKARTA | | PT ABC BANDUNG | BANDUNG | | PT ABC BOGOR | BOGOR | | PT ABC SURABAYA | SURABAYA | | PT ABC BANDAR LAMPUNG | BANDAR LAMPUNG | Guru dan Teman BeExcel,Mohon bantuan bagaimana untuk menghilangkan nama PT ABC dan ambil cuma nama kotanya.Terima kasih-Emi Lestari #yiv1225605134 #yiv1225605134 -- #yiv1225605134ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv1225605134 #yiv1225605134ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv1225605134 #yiv1225605134ygrp-mkp #yiv1225605134hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv1225605134 #yiv1225605134ygrp-mkp #yiv1225605134ads {margin-bottom:10px;}#yiv1225605134 #yiv1225605134ygrp-mkp .yiv1225605134ad {padding:0 0;}#yiv1225605134 #yiv1225605134ygrp-mkp .yiv1225605134ad p {margin:0;}#yiv1225605134 #yiv1225605134ygrp-mkp .yiv1225605134ad a {color:#0000ff;text-decoration:none;}#yiv1225605134 #yiv1225605134ygrp-sponsor #yiv1225605134ygrp-lc {font-family:Arial;}#yiv1225605134 #yiv1225605134ygrp-sponsor #yiv1225605134ygrp-lc #yiv1225605134hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv1225605134 #yiv1225605134ygrp-sponsor #yiv1225605134ygrp-lc .yiv1225605134ad {margin-bottom:10px;padding:0 0;}#yiv1225605134 #yiv1225605134actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv1225605134 #yiv1225605134activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv1225605134 #yiv1225605134activity span {font-weight:700;}#yiv1225605134 #yiv1225605134activity span:first-child {text-transform:uppercase;}#yiv1225605134 #yiv1225605134activity span a {color:#5085b6;text-decoration:none;}#yiv1225605134 #yiv1225605134activity span span {color:#ff7900;}#yiv1225605134 #yiv1225605134activity span .yiv1225605134underline {text-decoration:underline;}#yiv1225605134 .yiv1225605134attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv1225605134 .yiv1225605134attach div a {text-decoration:none;}#yiv1225605134 .yiv1225605134attach img {border:none;padding-right:5px;}#yiv1225605134 .yiv1225605134attach label {display:block;margin-bottom:5px;}#yiv1225605134 .yiv1225605134attach label a {text-decoration:none;}#yiv1225605134 blockquote {margin:0 0 0 4px;}#yiv1225605134 .yiv1225605134bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv1225605134 .yiv1225605134bold a {text-decoration:none;}#yiv1225605134 dd.yiv1225605134last p a {font-family:Verdana;font-weight:700;}#yiv1225605134 dd.yiv1225605134last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv1225605134 dd.yiv1225605134last p span.yiv1225605134yshortcuts {margin-right:0;}#yiv1225605134 div.yiv1225605134attach-table div div a {text-decoration:none;}#yiv1225605134 div.yiv1225605134attach-table {width:400px;}#yiv1225605134 div.yiv1225605134file-title a, #yiv1225605134 div.yiv1225605134file-title a:active, #yiv1225605134 div.yiv1225605134file-title a:hover, #yiv1225605134 div.yiv1225605134file-title a:visited {text-decoration:none;}#yiv1225605134 div.yiv1225605134photo-title a, #yiv1225605134 div.yiv1225605134photo-title a:active, #yiv1225605134 div.yiv1225605134photo-title a:hover, #yiv1225605134 div.yiv1225605134photo-title a:visited {text-decoration:none;}#yiv1225605134 div#yiv1225605134ygrp-mlmsg #yiv1225605134ygrp-msg p a span.yiv1225605134yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv1225605134 .yiv1225605134green {color:#628c2a;}#yiv1225605134 .yiv1225605134MsoNormal {margin:0 0 0 0;}#yiv1225605134 o {font-size:0;}#yiv1225605134 #yiv1225605134photos div {float:left;width:72px;}#yiv1225605134 #yiv1225605134photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv1225605134 #yiv1225605134photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv1225605134 #yiv1225605134reco-category {font-size:77%;}#yiv1225605134 #yiv1225605134reco-desc {font-size:77%;}#yiv1225605134 .yiv1225605134replbq {margin:4px;}#yiv1225605134 #yiv1225605134ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv1225605134 #yiv1225605134ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv1225605134 #yiv1225605134ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv1225605134 #yiv1225605134ygrp-mlmsg select, #yiv1225605134 input, #yiv1225605134 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv1225605134 #yiv1225605134ygrp-mlmsg pre, #yiv1225605134 code {font:115% monospace;}#yiv1225605134 #yiv1225605134ygrp-mlmsg * {line-height:1.22em;}#yiv1225605134 #yiv1225605134ygrp-mlmsg #yiv1225605134logo {padding-bottom:10px;}#yiv1225605134 #yiv1225605134ygrp-msg p a {font-family:Verdana;}#yiv1225605134 #yiv1225605134ygrp-msg p#yiv1225605134attach-count span {color:#1E66AE;font-weight:700;}#yiv1225605134 #yiv1225605134ygrp-reco #yiv1225605134reco-head {color:#ff7900;font-weight:700;}#yiv1225605134 #yiv1225605134ygrp-reco {margin-bottom:20px;padding:0px;}#yiv1225605134 #yiv1225605134ygrp-sponsor #yiv1225605134ov li a {font-size:130%;text-decoration:none;}#yiv1225605134 #yiv1225605134ygrp-sponsor #yiv1225605134ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv1225605134 #yiv1225605134ygrp-sponsor #yiv1225605134ov ul {margin:0;padding:0 0 0 8px;}#yiv1225605134 #yiv1225605134ygrp-text {font-family:Georgia;}#yiv1225605134 #yiv1225605134ygrp-text p {margin:0 0 1em 0;}#yiv1225605134 #yiv1225605134ygrp-text tt {font-size:120%;}#yiv1225605134 #yiv1225605134ygrp-vital ul li:last-child {border-right:none !important;}#yiv1225605134