Pak Harry, 1. Ambil data dikiri kolom kunci lookup >> gunakan formula lookup ke segala arah seperti Index Match =INDEX($K$3:$K$8, MATCH(B3,$L$3:$L$8,0) ) Fungsi Match bisa menghasilkan error value ketika B3 tidak ada di L3:L8. Gunakan error trap seperti nomor 2 di bawah ini.
2. Antisipasi error >> formula VLOOKUP(B3,$L$3:$M$8,2,FALSE) bisa menghasilkan error value ketika B3 tidak ada di area data L3:L8 >> xl2007 ke atas bisa memanfaatkan fungsi IFError untuk trap error menjadi : =*IFError(* VLOOKUP(B3,$L$3:$M$8,2,FALSE) *, "" )* >> semua versi bisa memanfaatkan IsError menjadi : =*IF( IsError( *VLOOKUP(B3,$L$3:$M$8,2,FALSE) *) , * VLOOKUP(B3,$L$3:$M$8,2,FALSE) * , "" )* >> Untuk kasus vlookup di atas, bisa juga dengan cek keberadaan nilai B3 di L3:L8 memanfaatkan fungsi CountIF =*IF( CountIF( $L$3:$L$8 , b3 ) ,* VLOOKUP(B3,$L$3:$M$8,2,FALSE) *, "" )* File terlampir. Wassalam, Kid. 2013/1/9 harry siswanto <[email protected]> > ** > > > Dear Senior/all, > > saya mau tanya nih untuk penggunakan fungsi Vlookup pada contoh Data > Validation saya. > terlampir > > Terimakasih atas perhatian dan kerjasamanya > > Regards > > > Harry > > >
re-DataValidation.xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

