Fungsi vlookup merupakan sebuah fungsi yang telah disediakan oelh microsoft excel 2007 untuk menghitung /mengambil nilai dari sebuah tabel referensi kemudian dimasukkan ke tabel kerja. Fungsi vlookup akan menghitung nilai referensi secara vertikal.
Atuan penulisannya seperti di bawah ini:
Syntax
VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)
Lookup_value The value to search in the first column of the table array (array: Used to build single formulas that produce multiple results or that operate on a group of arguments that are arranged in rows and columns. An array range shares a common formula; an array constant is a group of constants used as an argument.). Lookup_value can be a value or a reference. If lookup_value is smaller than the smallest value in the first column of table_array, VLOOKUP returns the #N/A error value.
Table_array Two or more columns of data. Use a reference to a range or a range name. The values in the first column of table_array are the values searched by lookup_value. These values can be text, numbers, or logical values. Uppercase and lowercase text are equivalent.
Col_index_num The column number in table_array from which the matching value must be returned. A col_index_num of 1 returns the value in the first column in table_array; a col_index_num of 2 returns the value in the second column in table_array, and so on. If col_index_num is:
Less than 1, VLOOKUP returns the #VALUE! error value.
Greater than the number of columns in table_array, VLOOKUP returns the #REF! error value.
Lookup_value adalah nilai yang pertama dicari pada tabel array (tabel referensi)
Table_array adalah range tabel referensi
Col_index_num adalah nomor /ururan kolom tabel referensi
Contoh:
1. Buat tabel seperti di bawah ini:
2. Di sel E3 ketik formula berikut:
=VLOOKUP(D3,$G$3:H7,2)
0 komentar:
Posting Komentar