Bỏ qua nội dung chính

 Làm cách nào để đối sánh giá trị vlookup từ một trang tính khác của google?

Giả sử, bạn có hai tệp google sheet sau đây, bây giờ, bạn cần vlookup giá trị khớp trong một tệp từ tệp khác, bạn có giải pháp nào tốt để hoàn thành nó không?

Giá trị đối sánh Vlookup từ một trang tính khác của google có công thức


Giá trị đối sánh Vlookup từ một trang tính khác của google có công thức

Công thức sau có thể giúp bạn trích xuất các giá trị phù hợp dựa trên một cột chính, vui lòng thực hiện như sau:

1. Nhập công thức này: =IFERROR(vlookup(A2,IMPORTRANGE("https://docs.google.com/spreadsheets/d/1Plv5B3v3VfPtdWSJ4zFM6DKPY0MhcCxiYS0vYrxORHE/edit#gid=543140280","my data!A2:B12"),2,false),) vào một ô trống mà bạn muốn xem giá trị phù hợp.

Chú thích: Trong công thức trên:

  • A2 là ô mà bạn muốn vlookup giá trị phù hợp của nó;
  • https://docs.google.com/spreadsheets/d/1Plv5B3v3VfPtdWSJ4zFM6DKPY0MhcCxiYS0vYrxORHE/edit#gid=543140280 là địa chỉ tệp mà bạn muốn vlookup từ đó;
  • dữ liệu của tôi! A2: B12: là tên trang tính và phạm vi ô bạn muốn tìm kiếm;
  • 2: cho biết số cột mà giá trị phù hợp của bạn được trả về.

2. Sau đó nhấn đăng ký hạng mục thi phím để nhận kết quả đầu tiên, xem ảnh chụp màn hình:

3. Và sau đó chọn ô công thức và kéo chốt điền xuống các ô bạn muốn trích xuất giá trị phù hợp khi bạn cần, xem ảnh chụp màn hình:

Công cụ năng suất văn phòng tốt nhất

🤖 Trợ lý AI của Kutools: Cách mạng hóa việc phân tích dữ liệu dựa trên: Thực thi thông minh   |  Tạo mã  |  Tạo công thức tùy chỉnh  |  Phân tích dữ liệu và tạo biểu đồ  |  Gọi các hàm Kutools...
Các tính năng phổ biến: Tìm, đánh dấu hoặc xác định các bản sao   |  Xóa hàng trống   |  Kết hợp các cột hoặc ô mà không làm mất dữ liệu   |   Vòng không có công thức hữu ích. Cảm ơn !
Siêu tra cứu: Nhiều tiêu chí VLookup    VLookup Nhiều Giá Trị  |   VLookup trên nhiều trang tính   |   Tra cứu mờ ....
Danh sách thả xuống nâng cao: Tạo nhanh danh sách thả xuống   |  Danh sách thả xuống phụ thuộc   |  Danh sách thả xuống nhiều lựa chọn ....
Trình quản lý cột: Thêm một số cột cụ thể  |  Di chuyển cột  |  Chuyển đổi trạng thái hiển thị của các cột ẩn  |  So sánh dãy và cột hữu ích. Cảm ơn !
Các tính năng nổi bật: Tiêu điểm lưới   |  Chế độ xem thiết kế   |   Thanh công thức lớn    Trình quản lý sổ làm việc & trang tính   |  Thư viện tài nguyên (Văn bản tự động)   |  Bảng chọn ngày   |  Kết hợp các bảng tính   |  Mã hóa/Giải mã ô    Gửi email theo danh sách   |  Siêu lọc   |   Bộ lọc đặc biệt (lọc in đậm/nghiêng/gạch ngang...) ...
15 bộ công cụ hàng đầu12 bản văn CÔNG CỤ (thêm văn bản, Xóa ký tự,...)   |   50 + Biểu đồ Các loại (Biểu đồ Gantt,...)   |   40+ Thực tế Công thức (Tính tuổi dựa trên ngày sinh,...)   |   19 chèn CÔNG CỤ (Chèn mã QR, Chèn ảnh từ đường dẫn,...)   |   12 Chuyển đổi CÔNG CỤ (Số thành từ, Chuyển đổi tiền tệ,...)   |   7 Hợp nhất & Tách CÔNG CỤ (Các hàng kết hợp nâng cao, Chia ô,...)   |   ... và nhiều hơn nữa

Nâng cao kỹ năng Excel của bạn với Kutools for Excel và trải nghiệm hiệu quả hơn bao giờ hết. Kutools for Excel cung cấp hơn 300 tính năng nâng cao để tăng năng suất và tiết kiệm thời gian.  Bấm vào đây để có được tính năng bạn cần nhất...

Mô tả


Tab Office mang lại giao diện Tab cho Office và giúp công việc của bạn trở nên dễ dàng hơn nhiều

  • Cho phép chỉnh sửa và đọc theo thẻ trong Word, Excel, PowerPoint, Publisher, Access, Visio và Project.
  • Mở và tạo nhiều tài liệu trong các tab mới của cùng một cửa sổ, thay vì trong các cửa sổ mới.
  • Tăng 50% năng suất của bạn và giảm hàng trăm cú nhấp chuột cho bạn mỗi ngày!
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