conditional formulas in Excel

G

greg

Hello,
I am looking to do some formulas in excel.
I have some check boxes. With named cells.
and these check boxes have true/false values.
but I would like to use conditional formulas with these.
such as true and false. true or false
so if my named cells are
Box1 = true
Box2 = false

I would like to build Box1 and Box2. Or, Box1 or Box2
But if I do that - =Box1 and Box2. I get an error
If I do
=Box1 & Box2 I get TRUETRUE

Is there a way to do this?

thanks
 
B

Barb Reinhardt

Fry something like this

=if(and(Box1,Box2),True,False)
alternatively
=if(or(Box1,Box2),True,False)
 
G

greg

Hi Grovier,
Thanks for the help.
However now I get,
=Box1&" and "&Box2
TRUE and TRUE
is there a way to evaluate this formula?
to get only a TRUE value?

thanks
 
P

Peo Sjoblom

Try

=AND(Box1,Box2)

will return TRUE if both are checked and FALSE otherwise
If you want TRUE if any of them are checked change AND to OR
 

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