简体   繁体   English

excel将从单元格1找到的字符串复制到新单元格

[英]excel copying string found from cell one to a new cell

I have a formulas that is currently only returning true/false, I wanted to improvise it instead of returning true/false, can I get the string that is found and copy it to another cell? 我有一个目前只返回true / false的公式,我想改进它而不是返回true / false,我可以获取找到的字符串并将其复制到另一个单元格吗?

here is the formula that I use : 这是我使用的公式:

=NOT(NOT(SUM(--NOT(ISERR(SEARCH($D$2:$D$21;$B2))))))

thank you 谢谢

Try, 尝试,

=INDEX(D:D, AGGREGATE(15, 6, ROW(D2:D21)/SIGN(SEARCH(D2:D21, B2)), 1))

在此输入图像描述

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

相关问题 从一个Excel到另一个Excel逐个单元复制值 - Copying value cell by cell from one excel to another excel 使用vba将单元格从一个工作簿复制到excel中的另一个工作簿 - Copying the cell from One workbook to another workbook in excel using vba Excel VBA - 将单元格内容从一张纸复制到另一张纸 - Excel VBA - copying cell contents from one sheet to another 根据单元格值将行从一个 Excel 工作表复制到另一个 - Copying rows from one Excel sheet to another based on cell value Excel:使用一个单元格中的数字在另一个单元格中写一个字符串 - Excel: Use number from one cell to write a string in another cell Excel / Google表格:在“ ISTEXT”条件下将数据从一个单元格复制到另一选项卡和单元格 - Excel/Google Sheets: Copying data from one cell upon “ISTEXT” condition to another tab and cell 使用VBA将单元格值保留在Excel中保留格式从一个单元格到另一个单元格 - Copying the cell value preserving the formatting from one cell to another in excel using VBA 从Excel单元格中搜索/复制特定内容 - Searching / Copying specific content from an Excel cell Excel - 将内容从一个单元格复制到另一个单元格(有条件) - Excel - Copying content from a cell to another ( with condition ) 将多行文本单元格从字表复制到 Excel 单元格 - Copying multiple line text Cell from Word Table to Excel Cell
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM