简体   繁体   中英

excel get in one cell all the cells containing specific text

In excel, i would like to see in only one cell a list of all the cells location which contains specific text, is that feasible?

For example: I want to see in only one cell, A7, the location of all cells containing "FALSE" value: A2, B3

在此处输入图像描述

To get the location, i think i can use the formula IF(ISERROR(A1:B4),ROW()) but i get a table as a result instead of all the values in one cell.

Final formula:

(Replace semicolon with comma for your Excel version)

=SUBSTITUTE(SUBSTITUTE(CONCAT(IF($A$1:$B$5=FALSE;ADDRESS(ROW($A$1:$B$5);COLUMN($A$1:$B$5));"")&", ");"$";"");", , ";"")

在此处输入图像描述

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