如何基於Excel中的特定行值獲取或返回列標題?
在本教程中,我們將在數據范圍的行中搜索特定值,然後返回匹配行單元格的相應列標題。
使用公式獲取基於特定行值的列標題
為了基於Excel中的特定行值獲取列標題,以下公式可以為您提供幫助。
1.選擇一個空白單元格以輸出標題,將以下公式複製到其中,然後按 Enter 鍵以獲取相應的標頭。
=INDEX($C$2:$G$2,SUMPRODUCT(MAX(($C$3:$G$6=I3)*(COLUMN($C$3:$G$6))))-COLUMN($C$2)+1)
注意: 在公式, $ C $ 2:$ G $ 2 是標題範圍, $ C $ 3:$ G $ 6 是范圍包含您要搜索的特定值, I3 是包含要在$ C $ 3:$ G $ 6範圍內匹配的條件值的單元格,而$ C $ 2是$ C $ 3:$ G $ 6範圍的第一列。 請根據您的需要進行更改。
相關文章
Vlookup值並在Excel中返回true或false / yes或no
若要在列表中vlookup值,並為結果顯示True / False或Yes / No,本文中的方法將幫您一個忙。
如果一個單元格包含Excel中的某些文本,則在另一個單元格中返回值
假設單元格E6包含值“是”,則單元格F6將自動填充值“批准”。 如果在E6中將“是”更改為“否”或“中立”,則F6中的值將立即更改為“拒絕”或“重新考慮”。 您如何才能做到這一點? 本文收集了一些有用的方法來幫助您輕鬆解決它。
- 超級公式欄 (輕鬆編輯多行文本和公式); 閱讀版式 (輕鬆讀取和編輯大量單元格); 粘貼到過濾範圍...
- 合併單元格/行/列 和保存數據; 拆分單元格內容; 合併重複的行和總和/平均值...防止細胞重複; 比較範圍...
- 選擇重複或唯一 行; 選擇空白行 (所有單元格都是空的); 超級查找和模糊查找 在許多工作簿中; 隨機選擇...
- 確切的副本 多個單元格,無需更改公式參考; 自動創建參考 到多張紙; 插入項目符號,複選框等...
- 收藏并快速插入公式,範圍,圖表和圖片; 加密單元 帶密碼 創建郵件列表 並發送電子郵件...
- 提取文字,添加文本,按位置刪除, 刪除空間; 創建和打印分頁小計; 在單元格內容和註釋之間轉換...
- 超級濾鏡 (將過濾方案保存並應用於其他工作表); 高級排序 按月/週/日,頻率及更多; 特殊過濾器 用粗體,斜體...
- 結合工作簿和工作表; 根據關鍵列合併表; 將數據分割成多個工作表; 批量轉換xls,xlsx和PDF...
- 數據透視表分組依據 週號,週幾等 顯示未鎖定的單元格 用不同的顏色 突出顯示具有公式/名稱的單元格...
- 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
- 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
- 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
Sort comments by
#42813
This comment was minimized by the moderator on the site
0
0
#41529
This comment was minimized by the moderator on the site
0
0
#41343
This comment was minimized by the moderator on the site
0
0
#41501
This comment was minimized by the moderator on the site
Report
0
0
#40469
This comment was minimized by the moderator on the site
0
0
#40574
This comment was minimized by the moderator on the site
Report
0
0
#39610
This comment was minimized by the moderator on the site
0
0
#39709
This comment was minimized by the moderator on the site
Report
0
0
#38762
This comment was minimized by the moderator on the site
0
0
#38818
This comment was minimized by the moderator on the site
Report
0
0
#37267
This comment was minimized by the moderator on the site
0
0
#34841
This comment was minimized by the moderator on the site
0
0
#42766
This comment was minimized by the moderator on the site
0
0
#34407
This comment was minimized by the moderator on the site
0
0
#34408
This comment was minimized by the moderator on the site
0
0
#34409
This comment was minimized by the moderator on the site
0
0
#33412
This comment was minimized by the moderator on the site
0
0
#33413
This comment was minimized by the moderator on the site
0
0
There are no comments posted here yet