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

Indicating whether a value is in a specified set

$
0
0

Is there a Google Sheets formula that indicates whether a value (e.g., the contents of A1) is in a specified set (e.g., 1, 5, 9)?

Yes, I could do a SWITCH(A1, 1, 1, 5, 1, 9, 1, 0), but that is overly verbose.

I want something terse like ISINSET(A1, 1, 5, 9).


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>