"OR" functions logical values

N

NIMN

if cell A1 is 4 OR 5
is

IF(OR(a1=4;a1=5);...)

But I wonder if there is something which allows to write:

a1=OR(4;5)

?

thanks
 
R

Ron Rosenfeld

if cell A1 is 4 OR 5
is

IF(OR(a1=4;a1=5);...)

But I wonder if there is something which allows to write:

a1=OR(4;5)

?

thanks

You can use an array constant:

=OR(A1={4,5})
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top