Check whether a cell contains a substring

前端 未结 9 1669
闹比i
闹比i 2020-11-30 17:41

Is there an in-built function to check if a cell contains a given character/substring?

It would mean you can apply textual functions like Left/R

9条回答
  •  情歌与酒
    2020-11-30 18:04

    The following formula determines if the text "CHECK" appears in cell C10. If it does not, the result is blank. If it does, the result is the work "CHECK".

    =IF(ISERROR(FIND("CHECK",C10,1)),"","CHECK")
    

提交回复
热议问题