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

 วิธีการจับคู่ค่า vlookup จากแผ่นงาน Google อื่น

สมมติว่าคุณมีไฟล์ google sheet สองไฟล์ตอนนี้คุณต้อง vlookup ค่าที่ตรงกันในไฟล์หนึ่งจากอีกไฟล์หนึ่งคุณมีวิธีแก้ปัญหาที่ดีในการทำให้เสร็จหรือไม่

Vlookup จับคู่ค่าจากแผ่นงาน Google อื่นพร้อมสูตร


Vlookup จับคู่ค่าจากแผ่นงาน Google อื่นพร้อมสูตร

สูตรต่อไปนี้สามารถช่วยคุณแยกค่าที่ตรงกันตามคอลัมน์หลักหนึ่งคอลัมน์ได้โปรดทำดังนี้

1. ใส่สูตรนี้: =IFERROR(vlookup(A2,IMPORTRANGE("https://docs.google.com/spreadsheets/d/1Plv5B3v3VfPtdWSJ4zFM6DKPY0MhcCxiYS0vYrxORHE/edit#gid=543140280","my data!A2:B12"),2,false),) ลงในเซลล์ว่างที่คุณต้องการ vlookup ค่าที่ตรงกัน

หมายเหตุ: ในสูตรข้างต้น:

  • A2 คือเซลล์ที่คุณต้องการ vlookup ค่าที่ตรงกัน
  • https://docs.google.com/spreadsheets/d/1Plv5B3v3VfPtdWSJ4zFM6DKPY0MhcCxiYS0vYrxORHE/edit#gid=543140280 คือที่อยู่ไฟล์ที่คุณต้องการใช้ vlookup
  • ข้อมูลของฉัน! A2: B12: คือชื่อแผ่นงานและช่วงเซลล์ที่คุณต้องการค้นหา
  • 2: ระบุหมายเลขคอลัมน์ที่ส่งคืนค่าที่ตรงกันของคุณ

2. จากนั้นกด เข้าสู่ กุญแจสำคัญในการรับผลลัพธ์แรกดูภาพหน้าจอ:

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

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

🤖 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 (19)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Importrange is working but there is an error "Did not find value " " in vlookup evaluation. I done everything but this error is being persist.
This comment was minimized by the moderator on the site
Hi,

As I look at the above examples in vlookup of two google sheets, I haven't seen the same as what I want my google sheet to be happen.

I have a "Form Responses", the most important for this sheet is the Mem_ID, Month and Amount.

In my other sheet "Sinking Fund 2023", in Members Contribution, I am creating the formula under "Jan1st, Jan2nd, etc." and to be looked up from Form Responses.

If MemID_2022-0001 has a response for Jan1st, the amount should be added in Jan1st column and if it is Jan2nd this should be automatic added in Sinking Fund 2023 google sheet.

Any one knows how to do the formula. This also needs the importrange function since we are using 2 google sheets.

Below are the links of my google sheet.

Deposit and Payments
https://docs.google.com/spreadsheets/d/124atlHALikF_sUt7JhV7WvpZwH7MokTDgdWckip_vPE/edit#gid=1642645643

Sinking Fund 2023
https://docs.google.com/spreadsheets/d/1L6XoVKF6VlwV6Ia7cDj4Ta5cz3nXDuhjoSi0Nwjhy5E/edit#gid=1548046258

Thanks in advance
This comment was minimized by the moderator on the site
Hello everyone,
Can anyone help me how pull date from another sheets using sheet name in cell reference ?

I have day wise data, sheet name are saved as dates from 1st - 31st Ex.01-05-2021

30 days sheets were there so if i want to lookup a value from any sheet am ending formula changing dates! to get values from sheets according to dates


Will that possible? can anyone help me please how to use sheet name in cell reference apply VLOOKUP IMPORTRANGE formula for another sheet


Thanks in advance
This comment was minimized by the moderator on the site
Hi, I tried using the formulae, but my values are returned blank. I do have access to the files as I created two mock sheets to test my formulae.
This comment was minimized by the moderator on the site
Hi, I fill in the same formulae, but my value is returned Blank?
This comment was minimized by the moderator on the site
Esto es lo que necesito, pero entre tabs de un mismo documento.
This comment was minimized by the moderator on the site
Thanks for this! However, this is only working on about half of my items. I have copied the text exactly as it appears and made sure the format type is the same as well. About half of my data is being found, while the other half is empty (due to the iferror formula). has anyone else found this or have a solution?
This comment was minimized by the moderator on the site
You'll need to protect the range from changing on drag on the importrange.

=IFERROR(vlookup(A2,IMPORTRANGE("https://docs.google.com/spreadsheets/d/1Plv5B3v3VfPtdWSJ4zFM6DKPY0MhcCxiYS0vYrxORHE/edit#gid=543140280","my data!$A$2:$B$12"),2,false),)

without that, as you drag down the formula it will automaticallyl adjust the range. The second-row cell will be A3:B13 next A4:B14 removing possible matching values from your range. You don't really need the $ in front of the column but I leave it in to freeze the exact column in case I move it around.
This comment was minimized by the moderator on the site
Update for this answer, in my case the syntax should use semicolon instead of comma for working
This comment was minimized by the moderator on the site
Can someone help please. I am getting #N/A as a result. I have even tried to put in the importrange formula in a blank cell but still no luck. I have also tried using the LINK SHARE url instead of the actual URL.


Thanks
This comment was minimized by the moderator on the site
Not working please help.
getting blank cell as result.
This comment was minimized by the moderator on the site
Have you granted access for "importrange" part? If not, you need to put formula "=importrange("link, range") in a blank cell first. Then you will have a pop-up window asking you to grant the access. Now, the full formula should work.
I had exactly the same problem before and found this solution on another website. Hope it works. Good luck.
This comment was minimized by the moderator on the site
Worked now, thanks
This comment was minimized by the moderator on the site
After putting above formula i am getting value as blank and later "You don't have permissions to access that sheet".
- how do i resolve this?
This comment was minimized by the moderator on the site
Thank you for the fix!
This comment was minimized by the moderator on the site
Had the same problem and this solution worked for me too - super, thanks!!
This comment was minimized by the moderator on the site
Thank you so much. It worked for me too!
This comment was minimized by the moderator on the site
Wow, very nice of you to share the solution here... Thanx a lot
This comment was minimized by the moderator on the site
This fixed it for me. Thank you so much! I was tinkering for hours.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations