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

In google sheets, how do I make an ARRAYFORMULA be the boolean combination of two other columns?

$
0
0

ie, if I have:

AB
TRUETRUE
TRUEFALSE
FALSETRUE
FALSEFALSE

...say I want to create a column C that is A OR B:

ABC
TRUETRUETRUE
TRUEFALSETRUE
FALSETRUETRUE
FALSEFALSEFALSE

Is this possible with ARRAYFORMULA or some other method which automatically creates a RANGE of values, without having to rely on auto-filling to increment a single column?

ie, I'd like to do:

=ARRAYFORMULA(OR(A:A, B:B))

...but since OR can take array inputs, the result of OR(A:A, B:B) is the single value TRUE, and the ARRAYFORMULA is also TRUE.


Viewing all articles
Browse latest Browse all 9782

Trending Articles



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