ฟังก์ชัน VLOOKUP ใน Excel
เรียนรู้วิธีใช้ฟังก์ชัน VLOOKUP ใน Excel เข้าใจไวยากรณ์และการใช้งานที่พบบ่อย แล้วให้ ExcelGPT ปรับสูตรให้เข้ากับโครงสร้างเวิร์กบุ๊กจริงของคุณ
VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])lookup_valueจำเป็นอาร์กิวเมนต์ lookup_value ของ VLOOKUP คำอธิบาย (ต้นฉบับ): The value to search for in the first column of the table.
table_arrayจำเป็นอาร์กิวเมนต์ table_array ของ VLOOKUP คำอธิบาย (ต้นฉบับ): The table or range that contains both lookup and return values.
col_index_numจำเป็นอาร์กิวเมนต์ col_index_num ของ VLOOKUP คำอธิบาย (ต้นฉบับ): The column number within the table to return.
range_lookupไม่บังคับอาร์กิวเมนต์ range_lookup ของ VLOOKUP คำอธิบาย (ต้นฉบับ): Optional TRUE or FALSE for approximate or exact match behavior.
ตัวอย่าง
=VLOOKUP(A2, $H$2:$K$100, 3, FALSE)แสดงการใช้ VLOOKUP ที่พบบ่อย คำอธิบาย (ต้นฉบับ): Searches for the product ID in the first column of the table and returns the third column value.
=VLOOKUP(B2, $M$2:$N$8, 2, TRUE)แสดงการใช้ VLOOKUP ที่พบบ่อย คำอธิบาย (ต้นฉบับ): Uses approximate matching to map a sales value to the correct commission percentage.
ข้อผิดพลาดที่พบบ่อย
ตรวจสอบลำดับอาร์กิวเมนต์ ชนิดข้อมูล และการอ้างอิงที่ใช้ใน VLOOKUP ให้ถูกต้อง
ดูว่าช่วงข้อมูล เซลล์ว่าง ค่า error หรือผลลัพธ์แบบ dynamic มีผลต่อสูตรหรือไม่
ทดสอบกับตัวอย่างไม่กี่แถวก่อน แล้วค่อยขยายไปทั้งเวิร์กบุ๊ก
ฟังก์ชันที่เกี่ยวข้อง
ต้องการสูตรเวอร์ชันที่ปรับให้เข้ากับงานของคุณหรือไม่
อธิบายโครงสร้างเวิร์กบุ๊กของคุณ แล้ว ExcelGPT จะสร้างเวอร์ชันที่เหมาะกับคอลัมน์ ช่วง และกรณีพิเศษจริง