![](/img/trans.png)
[英]How to get unique values from a specific column from multiple sheets in a separate sheet using Excel or Google sheets?
[英]matching multiple values from separate sheets in excel
我需要兩張數據來匹配和傳輸值。
前兩列1A和1B
第1A列包含所有唯一編號(這些是我們向客戶開票的發票編號)。第1B列包含當我們收到這些工作的付款時的收入。
后兩列2A和2B
我已經開始掃描我們的檢查報告,並將數據傳輸到一個簡單的兩列excel工作表(2A&2B)中,其中A列包含的發票編號也包含在1A列中,而2B列包含的是我要轉移到1B列中的數據1A和2A列之間的每個對應匹配項。
我做了一些挖掘工作,似乎找不到解決我問題的簡單方法。
VLOOKUP是解決方案,執行此操作的公式將進入工作表1,Col B,第2行(假設第1行中有標題)。
=VLOOKUP(A2, sheet2!A:B,2,false)
該公式如下所示
VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)
-lookup_value = a cell you want to lookup
-table_array = a range of columns with the lookup column in col1
-index_num = the column you want to return as an int ( in this case column 2)
-range_lookup = should be false to ensure an EXACT match
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.