跳到主要內容

如何在Excel中從右到左vlookup值?

Vlookup是Excel中的一個有用函數,我們可以使用它來快速返回表中最左列的相應數據。 但是,如果要在任何其他列中查找特定值並將相對值返回到左側,則正常的vlookup函數將不起作用。 在這裡,我可以向您介紹其他公式來解決此問題。

使用VLOOKUP和IF函數從右到左的Vlookup值

使用INDEX和MATCH函數從右到左的Vlookup值

具有有用功能的從右到左的Vlookup值


使用VLOOKUP和IF函數從右到左的Vlookup值

要從正確的特定數據中獲取相應的左邊的值,以下vlookup函數可能會對您有所幫助。

假設您有一個數據范圍,現在您知道了人員的年齡,並且想要在左側的“名稱”列中獲得其相對名稱,如以下屏幕截圖所示:

1。 請在您需要的單元格中輸入以下公式:

=VLOOKUP(F2,IF({1,0},$D$2:$D$9,$B$2:$B$9),2,0)

2。 然後,將填充手柄拖到要應用此公式的單元格上,以獲取特定年齡的所有相應名稱。 看截圖:

筆記:

1.在上式中 F2 是您要返回其相對信息的值, D2:D9 是您要查找的列, B2:B9 是包含您要返回的值的列表。

2.如果您查找的特定值不存在,將顯示#N / A值。


Vlookup匹配Excel中右列中的記錄

Excel的Kutools's 從右到左查找 功能可幫助您基於Excel中的右列數據進行vlookup並返回左對應的值,而無需記住任何痛苦的公式。 點擊下載Kutools for Excel!

Excel的Kutools:擁有 300 多個方便的 Excel 插件,30 天內免費試用,無限制。 立即下載並免費試用!


使用INDEX和MATCH函數從右到左的Vlookup值

除上述公式外,這是另一個與INDEX和MATCH函數混合的公式,也可以幫您一個忙。

1。 將以下公式輸入或複製到空白單元格中以輸出結果:

=INDEX($B$2:$B$9,MATCH(F2,$D$2:$D$9,0))

2。 然後將填充手柄向下拖動到要包含此公式的單元格中。

筆記:

1.在這個公式中 F2 是您要返回其相對信息的值, B2:B9 是包含您要返回的值的列表,以及 D2:D9 是您要查找的列。

2.如果您查找的特定值不存在,將顯示#N / A值。


具有有用功能的從右到左的Vlookup值

如果你有 Excel的Kutools,其 從右到左查找 功能,您可以快速處理此任務而無需記住任何公式。

提示:要應用此 從右到左查找 功能,首先,您應該下載 Excel的Kutools,然後快速輕鬆地應用該功能。

安裝後 Excel的Kutools,請這樣做:

1。 點擊 庫工具 > 超級查詢 > 從右到左查找,請參見屏幕截圖:

2。 在 從右到左查找 對話框,請執行以下操作:

  • 從中選擇查找值單元格和輸出單元格 查找值和輸出範圍 部分;
  • 然後,從 數據范圍 部分。

備註:如果您想將#N / A錯誤值替換為另一個文本值,則只需檢查一下 將#N / A錯誤值替換為指定值 選項,然後鍵入所需的文本。

3。 然後,點擊 OK 按鈕,根據右列表中的查找值返回了匹配的記錄,請參見屏幕截圖:

點擊下載Kutools for Excel並立即免費試用!


更多相關文章:

  • 跨多個工作表的Vlookup值
  • 在excel中,我們可以輕鬆地應用vlookup函數在工作表的單個表中返回匹配值。 但是,您是否曾經考慮過如何在多個工作表中實現vlookup價值? 假設我有以下三個具有數據范圍的工作表,現在,我想根據這三個工作表中的條件來獲取相應值的一部分。
  • 在Excel中使用Vlookup精確匹配和近似匹配
  • 在Excel中,vlookup是最重要的功能之一,對我們而言,它是在表的最左列中搜索值並在範圍的同一行中返回該值。 但是,您是否在Excel中成功應用了vlookup函數? 本文,我將討論如何在Excel中使用vlookup函數。
  • Vlookup在Excel中從下到上的匹配值
  • 通常,Vlookup函數可以幫助您從上到下查找數據,以從列表中獲取第一個匹配值。 但是,有時候,您需要從下到上進行vlookup提取最後一個對應的值。 您有什麼好主意可以在Excel中處理此任務嗎?
  • Vlookup並串聯Excel中的多個對應值
  • 眾所周知,Excel中的Vlookup函數可以幫助我們查找值並在另一列中返回相應的數據,但是通常,只有在存在多個匹配數據時,它才能獲取第一個相對值。 在本文中,我將討論如何僅在一個單元格或垂直列表中進行vlookup並串聯多個對應的值。

最佳辦公生產力工具

🤖 Kutools 人工智慧助手:基於以下內容徹底改變數據分析: 智慧執行   |  生成代碼  |  建立自訂公式  |  分析數據並產生圖表  |  呼叫 Kutools 函數...
熱門特色: 尋找、突出顯示或識別重複項   |  刪除空白行   |  合併列或儲存格而不遺失數據   |   沒有公式的回合 ...
超級查詢: 多條件VLookup    多值VLookup  |   跨多個工作表的 VLookup   |   模糊查詢 ....
高級下拉列表: 快速建立下拉列表   |  依賴下拉列表   |  多選下拉列表 ....
欄目經理: 新增特定數量的列  |  移動列  |  切換隱藏列的可見性狀態  |  比較範圍和列 ...
特色功能: 網格焦點   |  設計圖   |   大方程式酒吧    工作簿和工作表管理器   |  資源庫 (自動文字)   |  日期選擇器   |  合併工作表   |  加密/解密單元格    按清單發送電子郵件   |  超級濾鏡   |   特殊過濾器 (過濾粗體/斜體/刪除線...)...
前 15 個工具集12 文本 工具 (添加文本, 刪除字符,...)   |   50+ 圖表 類型 (甘特圖,...)   |   40+ 實用 公式 (根據生日計算年齡,...)   |   19 插入 工具 (插入二維碼, 從路徑插入圖片,...)   |   12 轉化 工具 (數字到單詞, 貨幣兌換,...)   |   7 合併與拆分 工具 (高級合併行, 分裂細胞,...)   |   ... 和更多

使用 Kutools for Excel 增強您的 Excel 技能,體驗前所未有的效率。 Kutools for Excel 提供了 300 多種進階功能來提高生產力並節省時間。  點擊此處獲取您最需要的功能...

產品描述


Office選項卡為Office帶來了選項卡式界面,使您的工作更加輕鬆

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
  • 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
  • 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
Comments (16)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi, I am looking for a way for excel to pull the right most number in a table that gets update every day. Please advise.
This comment was minimized by the moderator on the site
Here’s a pretty great explanation:
https://youtu.be/ceBLc-tBj5g
This comment was minimized by the moderator on the site
please ans : if on sheet1 one a1=Salesman_ name and a2 to a5 city name where all sales man Sales report how much Sales done . and sheet2 2 all sales man Report like which salesMan done how much sales( useing Countifs formula) by city wise and Total Sales ,i need a formula where when i use hyperlink on city wise sales and total slaes when i click total any one slaes man then get filter data on sheet1 of particuler sales man.again go back sheet2 and click anohter sales man then again get another slaes mann filered data . pleaes Help me.
This comment was minimized by the moderator on the site
hay any body can ans me.
in A1 cell time is 23:59:00 and A2 cell 00:00:00 how can we get time between both date its always get show error .its meance 23:59:00 on date 18/11/2018 and 00:00:00 is next date 19/11/2018 so how can get betweeen time
This comment was minimized by the moderator on the site
Thanks.....its works
This comment was minimized by the moderator on the site
Hi!

I'm trying to show a cell adjacent to a referenced cell when the referenced cell could be in one of two columns.

The referenced cell, M9, uses this function to find the upcoming date closest to today (i.e. which bill is due next):

=INDEX($K$1:$K$160,MATCH(M9,$L$1:$L$160,0))


I want to cell M8 to show the AMOUNT due on that day, which is in the cell to the LEFT of the referenced cell in the list.

I figured out in O9 how to show it when M9 references a cell in a single column L:

=INDEX($K$1:$K$160,MATCH(M9,$L$1:$L$160,0))


But I can't figure out how to have that apply when the referenced cell is in column N.


A few things I've tried in O10-O12 that didn't work:
=INDEX($K$1:$K$160&$M$1:$M$160,MATCH(M9,$L$1:$L$160&$N$1:$N$160,0))
=INDEX(K1:K160,MATCH(M9,L1:L160,0))OR(M1:M160,MATCH(M9,N1:N160,0))
=INDEX(K1:M160,MATCH(M9,L1:N160,0))

Would love some help! Thanks!
This comment was minimized by the moderator on the site
Screenshot of my spreadsheet
This comment was minimized by the moderator on the site
Screenshot (not sure why it didn't attach above)
This comment was minimized by the moderator on the site
very confusing, is there any youtube video about this?
This comment was minimized by the moderator on the site
Thank you very much...
This comment was minimized by the moderator on the site
Thank u thank u so much
This comment was minimized by the moderator on the site
please make me understand "IF({1,0},$D$2: $D$10,$B$2:$B$1 0)", how does it works.
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations