ฟังก์ชัน XLOOKUP ใน Excel
เรียนรู้วิธีใช้ฟังก์ชัน XLOOKUP ใน Excel เข้าใจไวยากรณ์และการใช้งานที่พบบ่อย แล้วให้ ExcelGPT ปรับสูตรให้เข้ากับโครงสร้างเวิร์กบุ๊กจริงของคุณ
XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])lookup_valueจำเป็นอาร์กิวเมนต์ lookup_value ของ XLOOKUP คำอธิบาย (ต้นฉบับ): The value you want to find.
lookup_arrayจำเป็นอาร์กิวเมนต์ lookup_array ของ XLOOKUP คำอธิบาย (ต้นฉบับ): The range or array to search.
return_arrayจำเป็นอาร์กิวเมนต์ return_array ของ XLOOKUP คำอธิบาย (ต้นฉบับ): The range or array to return a result from.
if_not_foundไม่บังคับอาร์กิวเมนต์ if_not_found ของ XLOOKUP คำอธิบาย (ต้นฉบับ): Optional text or value to return when there is no match.
match_modeไม่บังคับอาร์กิวเมนต์ match_mode ของ XLOOKUP คำอธิบาย (ต้นฉบับ): Optional match behavior such as exact match or next smaller item.
search_modeไม่บังคับอาร์กิวเมนต์ search_mode ของ XLOOKUP คำอธิบาย (ต้นฉบับ): Optional search order, including reverse search.
ตัวอย่าง
=XLOOKUP(A2, Sheet2!A:A, Sheet2!C:C, "Not found")แสดงการใช้ XLOOKUP ที่พบบ่อย คำอธิบาย (ต้นฉบับ): Looks up the customer ID in column A on Sheet2 and returns the owner from column C.
=XLOOKUP(E2, A:A, D:D, "", 0, -1)แสดงการใช้ XLOOKUP ที่พบบ่อย คำอธิบาย (ต้นฉบับ): Searches from bottom to top to return the latest status associated with the lookup value.
ข้อผิดพลาดที่พบบ่อย
ตรวจสอบลำดับอาร์กิวเมนต์ ชนิดข้อมูล และการอ้างอิงที่ใช้ใน XLOOKUP ให้ถูกต้อง
ดูว่าช่วงข้อมูล เซลล์ว่าง ค่า error หรือผลลัพธ์แบบ dynamic มีผลต่อสูตรหรือไม่
ทดสอบกับตัวอย่างไม่กี่แถวก่อน แล้วค่อยขยายไปทั้งเวิร์กบุ๊ก
ฟังก์ชันที่เกี่ยวข้อง
ต้องการสูตรเวอร์ชันที่ปรับให้เข้ากับงานของคุณหรือไม่
อธิบายโครงสร้างเวิร์กบุ๊กของคุณ แล้ว ExcelGPT จะสร้างเวอร์ชันที่เหมาะกับคอลัมน์ ช่วง และกรณีพิเศษจริง