ไปยังเนื้อหาหลัก

จะย้อนกลับฟังก์ชัน vlookup ใน Google ชีตได้อย่างไร?

ใน Google ชีตเราสามารถใช้ฟังก์ชัน Vlookup เพื่อค้นหาและส่งคืนค่าการจับคู่แรกและด้านซ้ายตามเกณฑ์ที่กำหนด แต่บางครั้งคุณต้องย้อนกลับฟังก์ชัน Vlookup เพื่อรับค่าที่ตรงกันล่าสุดหรือค่าจากคอลัมน์ด้านซ้าย คุณจะจัดการกับงานนี้ใน Google ชีตได้อย่างไร

ฟังก์ชัน Reverse Vlookup เพื่อค้นหาค่าที่ตรงกันล่าสุดด้วยสูตร

ฟังก์ชัน Reverse Vlookup เพื่อค้นหาค่าจากคอลัมน์ขวาไปซ้ายด้วยสูตร


ฟังก์ชัน Reverse Vlookup เพื่อค้นหาค่าที่ตรงกันล่าสุดด้วยสูตร

หากต้องการ vlookup และส่งคืนค่าที่ตรงกันล่าสุดตามเกณฑ์โปรดใช้สูตรต่อไปนี้:

ใส่สูตรนี้: = INDEX (A: B, MAX (ตัวกรอง (ROW (A: A), A: A = D2)), 2) ลงในเซลล์ว่างที่คุณต้องการส่งคืนผลลัพธ์จากนั้นกด เข้าสู่ คีย์ค่าที่ตรงกันล่าสุดจะแสดงพร้อมกันดูภาพหน้าจอ:

หมายเหตุ: ในสูตรข้างต้น ตอบ: ข คือช่วงข้อมูลที่คุณต้องการ vlookup A: A คือข้อมูลคอลัมน์ที่มีเกณฑ์ที่คุณต้องการ vlookup และ D2 คือเกณฑ์ที่คุณต้องการส่งคืนค่าที่ตรงกันโดยยึดตาม 2 คือหมายเลขคอลัมน์ที่คุณต้องการส่งคืนค่า


ฟังก์ชัน Reverse Vlookup เพื่อค้นหาค่าจากคอลัมน์ขวาไปซ้ายด้วยสูตร

บางครั้งคุณต้อง vlookup จากขวาไปซ้ายฟังก์ชั่น vlookup ปกติจะไม่ทำงานนี่คือสูตรง่ายๆที่สามารถช่วยคุณได้โปรดทำตามนี้:

โปรดป้อนสูตรนี้: =index(A1:A16,match(D2,B1:B16,0)) ลงในเซลล์ว่างที่คุณต้องการใส่ผลลัพธ์จากนั้นกด เข้าสู่ คีย์ค่าที่ตรงกันจากคอลัมน์ด้านซ้ายจะถูกส่งกลับตามภาพหน้าจอต่อไปนี้:

หมายเหตุ: ในสูตรข้างต้น: A1: A16 คือช่วงคอลัมน์มีค่าที่ตรงกันที่คุณต้องการส่งคืน D2 คือเซลล์ที่มีเงื่อนไขและ B1: B16 คือช่วงที่มีเกณฑ์ที่คุณต้องการใช้ vlookup

สุดยอดเครื่องมือเพิ่มผลผลิตในสำนักงาน

🤖 Kutools AI ผู้ช่วย: ปฏิวัติการวิเคราะห์ข้อมูลโดยยึดตาม: การดำเนินการที่ชาญฉลาด   |  สร้างรหัส  |  สร้างสูตรที่กำหนดเอง  |  วิเคราะห์ข้อมูลและสร้างแผนภูมิ  |  เรียกใช้ฟังก์ชัน Kutools...
คุณสมบัติยอดนิยม: ค้นหา เน้น หรือระบุรายการที่ซ้ำกัน   |  ลบแถวว่าง   |  รวมคอลัมน์หรือเซลล์โดยไม่สูญเสียข้อมูล   |   รอบโดยไม่มีสูตร ...
การค้นหาขั้นสูง: VLookup หลายเกณฑ์    VLookup หลายค่า  |   VLookup ข้ามหลายแผ่น   |   การค้นหาที่ไม่ชัดเจน ....
รายการแบบเลื่อนลงขั้นสูง: สร้างรายการแบบหล่นลงอย่างรวดเร็ว   |  รายการแบบหล่นลงขึ้นอยู่กับ   |  เลือกหลายรายการแบบหล่นลง ....
ผู้จัดการคอลัมน์: เพิ่มจำนวนคอลัมน์เฉพาะ  |  ย้ายคอลัมน์  |  สลับสถานะการมองเห็นของคอลัมน์ที่ซ่อนอยู่  |  เปรียบเทียบช่วงและคอลัมน์ ...
คุณสมบัติเด่น: กริดโฟกัส   |  มุมมองการออกแบบ   |   บาร์สูตรใหญ่    สมุดงานและตัวจัดการชีต   |  ห้องสมุดทรัพยากร (ข้อความอัตโนมัติ)   |  เลือกวันที่   |  รวมแผ่นงาน   |  เข้ารหัส/ถอดรหัสเซลล์    ส่งอีเมลตามรายการ   |  ซุปเปอร์ฟิลเตอร์   |   ตัวกรองพิเศษ (กรองตัวหนา/ตัวเอียง/ขีดทับ...) ...
ชุดเครื่องมือ 15 อันดับแรก12 ข้อความ เครื่องมือ (เพิ่มข้อความ, ลบอักขระ, ... )   |   50 + แผนภูมิ ประเภท (แผนภูมิ Gantt, ... )   |   40+ ใช้งานได้จริง สูตร (คำนวณอายุตามวันเกิด, ... )   |   19 การแทรก เครื่องมือ (ใส่ QR Code, แทรกรูปภาพจากเส้นทาง, ... )   |   12 การแปลง เครื่องมือ (ตัวเลขเป็นคำ, การแปลงสกุลเงิน, ... )   |   7 ผสานและแยก เครื่องมือ (แถวรวมขั้นสูง, แยกเซลล์, ... )   |   ... และอื่น ๆ

เพิ่มพูนทักษะ Excel ของคุณด้วย Kutools สำหรับ Excel และสัมผัสประสิทธิภาพอย่างที่ไม่เคยมีมาก่อน Kutools สำหรับ Excel เสนอคุณสมบัติขั้นสูงมากกว่า 300 รายการเพื่อเพิ่มประสิทธิภาพและประหยัดเวลา  คลิกที่นี่เพื่อรับคุณสมบัติที่คุณต้องการมากที่สุด...

รายละเอียด


แท็บ Office นำอินเทอร์เฟซแบบแท็บมาที่ Office และทำให้งานของคุณง่ายขึ้นมาก

  • เปิดใช้งานการแก้ไขและอ่านแบบแท็บใน Word, Excel, PowerPoint, ผู้จัดพิมพ์, Access, Visio และโครงการ
  • เปิดและสร้างเอกสารหลายรายการในแท็บใหม่ของหน้าต่างเดียวกันแทนที่จะเป็นในหน้าต่างใหม่
  • เพิ่มประสิทธิภาพการทำงานของคุณ 50% และลดการคลิกเมาส์หลายร้อยครั้งให้คุณทุกวัน!
Comments (8)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How if we want to find the last non-empty matching value using this formula?
This comment was minimized by the moderator on the site
Hello, Ardi,To solve your problem, please apply the below formula:=ArrayFormula(MAX(IF($A$2:$A$13=D2,$B$2:$B$13,)))
Please try, hope it can help you!
This comment was minimized by the moderator on the site
For Reverse Vlookup function to find the last matching value with formula, is this possible between 2 sheets? Thank you
This comment was minimized by the moderator on the site
Hello, Rox,



To vlookup the last matching item between two sheets in Google sheets, please apply the following formula:

Note: Sheet3 is the sheet contains the original table data, and A2 is the cell in your current sheet that you want to get the result, please change them to your need.

=ArrayFormula(INDEX(Sheet3!A:B, MAX(filter(ROW(Sheet3!A:A), Sheet3!A:A=A2)),2))



Please try, hope it can help you!
This comment was minimized by the moderator on the site
bro it doesnt work...
This comment was minimized by the moderator on the site
Hello Georgius,Sorry to hear that. But I found an amazing formula which can really work. I noticed that only using Vlookup formula can't solve the problem. We need to combine the LOOKUP function with SORT function. 
Please see the two screenshots. In Sheet1, range B1:C8 is the original table data. In Sheet2, cell B2 (Apple) is the lookup value. Please copy the formula in a blank cell to get the result: =LOOKUP(B2, SORT(Sheet1!B1:B8), SORT(Sheet1!C1:C8,Sheet1!B1:B8,TRUE))It returns 88, the last matching value of B2 (Apple). Please have a try. Thanks!
Sincerely,Mandy
This comment was minimized by the moderator on the site
And is it possible to get the matching value before the last matching value? For ex., you have 200 matching values. Can you instantly get the 199th matching value? Thank you.
This comment was minimized by the moderator on the site
and is it possible to get the matching value before the last matching value? Ex. if you have 200 matching values. can you instantly get the 199th values? Thank you
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations