4
我試圖從sheet1列A(代碼)中的值匹配Sheet1列A(代碼)中的值的列E(成本)中複製數據。Excel VLOOKUP之間兩張失敗
1
+--------+--------+---------------+---------+--------+
| A | B | C | D | E |
+--------+--------+---------------+---------+--------+
| Code | Name | Description | Price | Cost |
+--------+--------+---------------+---------+--------+
| AC33 | Prod 1 | Prod Desc 1 | 3.99 | 2.00 |
+--------+--------+---------------+---------+--------+
| AC34 | Prod 2 | Prod Desc 2 | 4.99 | 3.00 |
+--------+--------+---------------+---------+--------+
| AC35 | Prod 3 | Prod Desc 3 | 5.99 | 4.00 |
+--------+--------+---------------+---------+--------+
2
+--------+--------+---------------+---------+
| A | B | C | D |
+--------+--------+---------------+---------+
| Code | Name |Updated Price | Cost |
+--------+--------+---------------+---------+
| AC33 | Prod 1 | 16.99 | |
+--------+--------+---------------+---------+
| AC37 | Prod 2 | 18.99 | |
+--------+--------+---------------+---------+
| AC38 | Prod 3 | 21.99 | |
+--------+--------+---------------+---------+
我已經使用了一個VLOOKUP,但它不工作,任何人都可以幫忙嗎?我是否正確使用Vlookup?
這是我拖累Sheet 2中
= VLOOKUP的柱d式(A2, '1' $ A $ 2:$ A $ 811,5)
+1爲了說明,表範圍使用了'VLOOKUP'上應包含查找值列和包含要提取結果的列。 – Jerry
Thankyou @simoco我知道我一定錯過了一些東西!也許在公式中仍然存在錯誤?我仍然在# – matthew
的每個單元格中檢查#N/A,可能在A列中有一些額外的空格(在表格1或表格2中,ig'「AC38」'而不是'「AC38」'),並嘗試'= VLOOKUP(TRIM(A2),'1'!$ A $ 2:$ E $ 811,5,0)' –