PC Review


Reply
Thread Tools Rate Thread

conditional formulas in Excel

 
 
greg
Guest
Posts: n/a
 
      17th Apr 2007
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


 
Reply With Quote
 
 
 
 
Roger Govier
Guest
Posts: n/a
 
      17th Apr 2007
Hi Greg

Try
=Box1&" and "&Box2

=Box1&" or " Box2

--
Regards

Roger Govier


"greg" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
=?Utf-8?B?QmFyYiBSZWluaGFyZHQ=?=
Guest
Posts: n/a
 
      17th Apr 2007
Fry something like this

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

"greg" wrote:

> 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
>
>
>

 
Reply With Quote
 
greg
Guest
Posts: n/a
 
      17th Apr 2007
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


"Roger Govier" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Greg
>
> Try
> =Box1&" and "&Box2
>
> =Box1&" or " Box2
>
> --
> Regards
>
> Roger Govier
>
>
> "greg" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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
> >
> >

>
>



 
Reply With Quote
 
greg
Guest
Posts: n/a
 
      17th Apr 2007
thanks barb,
looks good!

"Barb Reinhardt" <(E-Mail Removed)> wrote in message
news:5E869CA5-7367-4C2F-9C29-(E-Mail Removed)...
> Fry something like this
>
> =if(and(Box1,Box2),True,False)
> alternatively
> =if(or(Box1,Box2),True,False)
>
> "greg" wrote:
>
> > 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
> >
> >
> >



 
Reply With Quote
 
Peo Sjoblom
Guest
Posts: n/a
 
      17th Apr 2007
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

--
Regards,

Peo Sjoblom



"greg" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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
>
>
> "Roger Govier" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hi Greg
>>
>> Try
>> =Box1&" and "&Box2
>>
>> =Box1&" or " Box2
>>
>> --
>> Regards
>>
>> Roger Govier
>>
>>
>> "greg" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > 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
>> >
>> >

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i set up multiple conditional formulas in excel? dillj@rentone.com Microsoft Excel Worksheet Functions 15 2nd Mar 2009 10:19 AM
conditional formulas in Excel greg Microsoft Excel Discussion 5 17th Apr 2007 05:21 PM
How do I create conditional excel formulas? =?Utf-8?B?VG9kZDUz?= Microsoft Excel Worksheet Functions 3 15th Nov 2006 07:23 PM
Conditional Formulas in Excel =?Utf-8?B?SkZlbmxleQ==?= Microsoft Excel Misc 3 6th May 2005 12:33 AM
conditional formulas in excel =?Utf-8?B?Um9jZW1waXJl?= Microsoft Excel Worksheet Functions 2 6th Nov 2004 05:44 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:56 PM.