跳到主要内容

如何在Excel中查找值并返回单元格地址?

通常,使用公式在Excel中查找值时,将获得单元格值。 但是在这里,我将介绍一些公式来查找值并返回相对单元格地址。

查找值并使用公式返回单元格地址


箭头蓝色右气泡 查找值并使用公式返回单元格地址

若要在Excel中查找值并返回相应的单元格地址而不是单元格值,可以使用以下公式。

公式1返回单元格的绝对参考

例如,您有一系列数据,如下图所示,您想查找产品AA并返回相对像元绝对引用。
doc-vlookup-返回单元格地址-1

1.选择一个单元格并在其中键入AA,这里我在单元格A26中键入AA。 看截图:
doc-vlookup-返回单元格地址-2

2.然后键入此公式 =CELL("address",INDEX($A$18:$A$24,MATCH(A26,$A$18:$A$24,1))) 在与单元格A26(您键入AA的单元格)相邻的单元格中,然后按 Shift + Ctrl + 输入 键,您将获得相对单元格引用。 看截图:
doc-vlookup-返回单元格地址-3

提示:

1.在上面的公式中,A18:A24是您的查找值所在的列范围,A26是查找值。

2.此公式只能找到与查找值匹配的第一个相对单元地址。

公式2返回表中单元格值的行号

例如,您具有下面显示的屏幕截图所示的数据,您想要查找产品BB并返回表中其所有单元格地址。
doc-vlookup-返回单元格地址-4

1.在单元格中键入BB,在这里我在单元格A10中键入BB。 看截图:
doc-vlookup-返回单元格地址-5

2.在与单元格A10(您键入BB的单元格)相邻的单元格中,键入此公式 =SMALL(IF($A$10=$A$2:$A$8, ROW($A$2:$A$8)-ROW($A$2)+1), ROW(1:1)),然后按 Shift + Ctrl + 输入 键,然后向下拖动自动填充手柄以应用此公式,直到出现 #NUM!。 看截图:
doc-vlookup-返回单元格地址-6

3.然后,您可以删除#NUM!。 看截图:
doc-vlookup-返回单元格地址-7

提示:

1.在此公式中,A10表示查找值,而A2:A8是查找值所在的列范围。

2.使用此公式,您只能获取表中除表头之外的相关单元格的行号。

将公式引用批量转换为绝对,相对,列绝对或行绝对

有时,您可能希望将公式引用转换为绝对引用,但是在Excel中,快捷方式只能将引用一一转换,这可能会浪费时间,而有数百个公式。 的 转换参考 Kutools for Excel 可以根据需要将选定单元格中的引用批量转换为相对、绝对。   点击获取全功能 30 天免费试用!
doc kutools转换参考1
 
Kutools for Excel:拥有300多个便捷的Excel加载项,可以在30天内免费试用。

相关文章

最佳办公生产力工具

🤖 Kutools 人工智能助手:基于以下内容彻底改变数据分析: 智能执行   |  生成代码  |  创建自定义公式  |  分析数据并生成图表  |  调用 Kutools 函数...
热门特色: 查找、突出显示或识别重复项   |  删除空白行   |  合并列或单元格而不丢失数据   |   不使用公式进行四舍五入 ...
超级查询: 多条件VLookup    多值VLookup  |   跨多个工作表的 VLookup   |   模糊查询 ....
高级下拉列表: 快速创建下拉列表   |  依赖下拉列表   |  多选下拉列表 ....
列管理器: 添加特定数量的列  |  移动列  |  切换隐藏列的可见性状态  |  比较范围和列 ...
特色功能: 网格焦点   |  设计图   |   大方程式酒吧    工作簿和工作表管理器   |  资源库 (自动文本)   |  日期选择器   |  合并工作表   |  加密/解密单元格    按列表发送电子邮件   |  超级筛选   |   特殊过滤器 (过滤粗体/斜体/删除线...)...
前 15 个工具集12 文本 工具 (添加文本, 删除字符,...)   |   50+ 图表 类型 (甘特图,...)   |   40+ 实用 公式 (根据生日计算年龄,...)   |   19 插入 工具 (插入二维码, 从路径插入图片,...)   |   12 转化 工具 (小写金额转大写, 货币兑换,...)   |   7 合并与拆分 工具 (高级组合行, 分裂细胞,...)   |   ... 和更多

使用 Kutools for Excel 增强您的 Excel 技能,体验前所未有的效率。 Kutools for Excel 提供了 300 多种高级功能来提高生产力并节省时间。  单击此处获取您最需要的功能...

产品描述


Office Tab 为 Office 带来选项卡式界面,让您的工作更加轻松

  • 在Word,Excel,PowerPoint中启用选项卡式编辑和阅读,发布者,Access,Visio和Project。
  • 在同一窗口的新选项卡中而不是在新窗口中打开并创建多个文档。
  • 每天将您的工作效率提高50%,并减少数百次鼠标单击!
Comments (26)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
HI. In sheet 1, I need a certain value present in sheet 2 to be returned. Therefore, in column A of sheet 2, first of all I have to look for a cell containing a specific text (all the cells in column A contain a different text) . From this cell I have to go two rows down and 33 columns to the right of this specific text cell. This is the sheet 2 cell containing my value to import into sheet 1. How can I do this? Could you please help me ? Thank you very much
This comment was minimized by the moderator on the site
Die Formel =CELL("address",INDEX($A$18:$A$24,MATCH(A26,$A$18:$A$24,1))) ist genau das, was ich suche!!!

Tipp 2. "Diese Formel kann nur die erste relative Zellenadresse finden, die dem Suchwert entspricht." beschreibt genau mein Problem: ich benötige die letzte relative Zellenadresse, die dem Suchwert entspricht. Ist das machbar?

Danke und Gruß
Micha
This comment was minimized by the moderator on the site
Hi, Damich, below formula will lookup value from bottom, and return the relative cell address:
=CELL("address",INDEX($A$1:$A$7,MATCH(2,1/($A$1:$A$7=A10),1)))
This comment was minimized by the moderator on the site
If my data is in any sheet of the workbook whether in sheet 1, or sheet 2, or sheet 3, how can I find the cell address of this data with the help of formula.

pls advise.....
This comment was minimized by the moderator on the site
Hi, you can add the sheet name in the formula: =CELL("address",INDEX(Sheet1!$A$18:$A$24,MATCH(A26,Sheet1!$A$18:$A$24,1))), Sheet1 is the sheet name that contains your data.
This comment was minimized by the moderator on the site
감사합니다.

다만
=CELL("address",INDEX($A$18:$A$24,MATCH(A26,$A$18:$A$24,1)))
->
=CELL("address",INDEX($A$18:$A$24,MATCH(A26,$A$18:$A$24,0)))
MATCH함수 마지막에 1이 아닌 0을 기입해야
AA가 아닌 BB의 위치도 반환이 되는 것 같아요.

훌륭한 설명 감사합니다.

큰 도움이 됬어요.
This comment was minimized by the moderator on the site
Is there any formula for this case below to summarize following Alphabet of results? For example: which numbers belong to A/B/..
A=1; E=42; D=64; C=32; B=20; D=9; A=10; B=22; D=45; C=21; E=30; E=59; A=33; D=23; C=11; B=25; B=49; D=6; D=99; E=89; A=70; D=27; B=4; C=47; D=68; E=62; A=57; A=86; B=91; D=93; C=18; D=12; A=55; D=50; ect.
==> expect for result: A=1;10;33;70;57;86;55
My email: thanks so much
This comment was minimized by the moderator on the site
Can we modify the formula =CELL("address",INDEX($A$18:$A$24,MATCH(A26,$A$18:$A$24,1))) to get all the cell addresses which contains a specific text string like an array formula
This comment was minimized by the moderator on the site
Can we modify the formula =CELL("address",INDEX($A$18:$A$24,MATCH(A26,$A$18:$A$24,1))) to get all the cell addresses which contains a specific text string
This comment was minimized by the moderator on the site
Have no idea.
This comment was minimized by the moderator on the site
=CELL("address",INDEX($A$18:$A$24,MATCH(A26,$A$18:$A$24,1))) excellent this function for me but i want cell reference address across multiple sheets.
This comment was minimized by the moderator on the site
Try to add the sheet name in the formula like =CELL("address",INDEX(Sheet1!$A$18:$A$24,MATCH(Sheet2!A26,Sheet1!$A$18:$A$24,1))).
This comment was minimized by the moderator on the site
I would like to lookup the address of the max value in column.
This comment was minimized by the moderator on the site
Hi, sorry to repy so late, if you also need the answer, this tutorial will help you: How To Find Address Of Cell With Max Or Min Value In Excel?
This comment was minimized by the moderator on the site
Hi Master,

What formula for search "value" belong to which sheet , address in excel file with 100 worksheet tab
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