Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Specific cell taking different values

$
0
0

My query works as follows

=IF(OR(A1="value1",A1="value2",...,A1="valuen"),1,0)

But I'd like to not type A1= each time. Is there a way of typing less? That is, something like A1 IN ("value1","value2",..."valuen")

I've tried typing IN (like in SQL) and FROM but these don't seem to be Google Sheets expressions. I've found results online for a cell's entry in a range (e.g. 37<A1<73) but not taking a set of text values.


Viewing all articles
Browse latest Browse all 9782

Trending Articles