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

วิธีค้นหาค่าทั่วไปใน 3 คอลัมน์ใน Excel

ในกรณีทั่วไปคุณอาจต้องค้นหาและเลือกค่าเดียวกันระหว่างสองคอลัมน์ใน Excel แต่คุณเคยพยายามค้นหาค่าทั่วไปจากสามคอลัมน์ซึ่งหมายความว่าค่าที่มีอยู่ใน 3 คอลัมน์ในเวลาเดียวกันตามภาพหน้าจอต่อไปนี้ . บทความนี้จะแนะนำวิธีการบางอย่างในการทำงานนี้ให้เสร็จใน Excel

ค่าทั่วไปของ doc ใน 3 คอลัมน์ 1

ค้นหาค่าทั่วไปใน 3 คอลัมน์ด้วยสูตรอาร์เรย์


ลูกศรสีฟ้าฟองขวา ค้นหาค่าทั่วไปใน 3 คอลัมน์ด้วยสูตรอาร์เรย์

ในการค้นหาและแยกค่าทั่วไปจาก 3 คอลัมน์สูตรอาร์เรย์ต่อไปนี้อาจช่วยคุณได้โปรดดำเนินการดังนี้:

ป้อนสูตรอาร์เรย์นี้ลงในเซลล์ว่างที่คุณต้องการแยกค่าเดียวกันจาก 3 คอลัมน์:

=LOOKUP("zzz",CHOOSE({1,2},"",INDEX(A$2:A$10,MATCH(0,COUNTIF(E$1:E1,A$2:A$10)+IF(IF(COUNTIF(B$2:B$8,A$2:A$10)>0,1,0)+IF(COUNTIF(C$2:C$9,A$2:A$10)>0,1,0)=2,0,1),0))))จากนั้นกด Shift + Ctrl + Enter คีย์เข้าด้วยกันเพื่อรับค่าทั่วไปแรกจากนั้นลากสูตรนี้ลงมาจนกระทั่งช่องว่างปรากฏขึ้นค่าเดียวกันทั้งหมดใน 3 คอลัมน์จะถูกดึงออกมาดังภาพด้านล่าง

ค่าทั่วไปของ doc ใน 3 คอลัมน์ 2

หมายเหตุ:

1. นี่คือสูตรอาร์เรย์อื่นที่สามารถทำงานนี้ให้เสร็จได้:

=INDEX($A$2:$A$10, MATCH(0, COUNTIF($E$1:E1, $A$2:$A$10)+IF(IF(COUNTIF($B$2:$B$8, $A$2:$A$10)>0, 1, 0)+IF(COUNTIF($C$2:$C$9, $A$2:$A$10)>0, 1, 0)=2, 0, 1), 0))โปรดอย่าลืมกด Shift + Ctrl + Enter คีย์พร้อมกัน

2. ในสูตรข้างต้น: A2: A10, B2: B8, C2: C9 คือเซลล์ในสามคอลัมน์ที่คุณต้องการเปรียบเทียบ E1 คือเซลล์ด้านบนที่สูตรของคุณตั้งอยู่คุณสามารถเปลี่ยนได้ตามความต้องการของคุณ

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

🤖 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 (12)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
ONLY ONE NAME IS FOUND COMMON... REST ARE IGNORED
This comment was minimized by the moderator on the site
Hello, Prtsxr,
The formula works well in my worksheet, could you insert the screenshot of your problem data here? or insert an attachment of your data, so that we can chek where the problem is.
Thank you!
This comment was minimized by the moderator on the site
i would like to know the match function, how do you use it. It is different from the traditional usage.
This comment was minimized by the moderator on the site
could you tell me why the match function, lookup value is 0?
This comment was minimized by the moderator on the site
HI, I am coping and pasting the above formula and i can't get it to work. I have many blank cells appearing but no common data showing. Please what am I doing wrong? I keep the "zzz" in the lookup formula is that correct?
This comment was minimized by the moderator on the site
hi any body can help me ?how to find common values if i have 10 column or above please solve that formula or mail my address
This comment was minimized by the moderator on the site
Hello. I tried using this formula and it works perfectly but there is one slight problem. It takes a lot of time for the calculation. It is taking around 20 seconds everytime I change some entries in the columns. Can you help regarding it?
This comment was minimized by the moderator on the site
I have tried the formula and it seems it works. Could I apply the same to find a macth between 5 columns?
This comment was minimized by the moderator on the site
yes, I did that.

This comment was minimized by the moderator on the site
I HAD TRIED THE FORMULA, BUT DO NOT GET THE RESULT. WHY??
This comment was minimized by the moderator on the site
Same here. I get "#N/A" instead of any results. I even recreated the spreadsheet shown in the example and got the same results.
This comment was minimized by the moderator on the site
Hello, Richard,
The formula works well in my workbook, could you give a screesnhot here to show your problem?
You can take a screenshot and click Upload files icon to insert your screenshot here.
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