简体   繁体   English

EXCEL:如何在列中查找一个单元格值并在另一个单元格中复制找到的值

[英]EXCEL: How to find a cell value in column and copy the found value in another cell

I need to know how can i find a value of A1 in C:C and copy the value of found cell into B1. 我需要知道如何在C:C中找到A1的值并将找到的单元格的值复制到B1中。

For example: 例如:

在此处输入图片说明

Set this in B1: 在B1中设置:

=INDEX(C:C,MATCH(A2,MID(C:C,4,LEN(A2)),0))

Enter this formula with Ctrl + Shift + Enter , since this is an array formula. 使用Ctrl + Shift + Enter输入此公式,因为这是一个数组公式。 and drag down. 然后向下拖动。

Try setting B1 to: 尝试将B1设置为:

=INDEX(C:C, MATCH("File=" & A1, C:C, 0))

You could also use the VLOOKUP() function. 您也可以使用VLOOKUP()函数。

使用VLookup

=VLOOKUP("File="&A1,C$1:C$4,1,FALSE)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 搜索列中的每个单元格以查找特定值,并从该值所在的行中的另一个单元格复制值 - Search each cell in a column to find a certain value and copy value from another cell in the row the value is found in 将单元格的最后一个值复制到另一列的单元格中 - copy last value of a cell into a cell of another column Excel:如何在包含字符串的列中查找单元格并在另一列行中返回单元格的值? - Excel: How to find cell in a column that contains a string and return value of a cell in another column of row? 如何使用 python 在已找到的另一个单元格旁边的 excel 单元格中查找值? - How to use python to find value in excel cell next to another cell already found? 如何在另一个工作表上查找单元格值,并将值放在找到第一个值的行的另一列上 - How to find a cell value on another worksheet and place a value on another column for the row where the first value was found Excel,要根据其值查找一个单元格,然后从先前找到的单元格位置开始查找另一个单元格 - Excel, To find a cell based on its value then find another cell starting the search from the previously found cell position Excel宏,要基于另一个单元格值复制和粘贴单元格值? - Excel macro, to copy and paste a cell value based on another cell value? excel 找到值并替换另一个单元格的值 - excel find the value and replace the value of another cell Excel Function 在另一个单元格中找到任何给定的列值作为 substring - Excel Function to find any given column value as substring in another cell 将单元格值复制到另一个单元格,如果 - Copy the cell value to another cell if
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM