简体   繁体   中英

If text match in range conditonal formula Google Sheets error

I'm trying to get a match in a range of text in Google Sheets basically I'm using this formula:

=IF(REGEXMATCH(H2:M2, "Hi"), "Yes", "No")

But I'm getting an error that is:

在此处输入图像描述

You are referencing an array in a function that is not designed to take arrays as input so you need to enable them.

Try:

=ArrayFormula(IF(REGEXMATCH(H2:M2, "Hi"), "Yes", "No"))

I'm trying to do this: =IF(("Hi"=H2:L2),"Approve","No qualify") =IF(("Here"= H2:L2),"Approve","No qualify")

Assuming E1:E2 is the list of values to check against A1:C1, you can try:

=ArrayFormula(if(countif(E1:E2,A1:C1),"Approved","Not qualified"))

在此处输入图像描述

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