简体   繁体   中英

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?

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))

在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM