Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 88
Default This may be real simple, but...

I am trying to do an IF equation but I have two values that I want to be
true, how would I go about this? Basically I want 2 or 3 to equal €œgo€ and
everything else equal €œno go€. I have tried to use something like this

IF((B3+B4)=2<3,€no go€,€go€

but that did not work.
Thank you all for your help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,071
Default This may be real simple, but...

Not sure what you want but I think you want "no go" if B3+B4 equals 2 or 3,
and "go" if not.
If that's what you want:
=IF(OR(B3+B4=2,B3+B4=3),"go","no go")

HTH Otto

"Cerberus" wrote in message
...
I am trying to do an IF equation but I have two values that I want to be
true, how would I go about this? Basically I want 2 or 3 to equal "go"
and
everything else equal "no go". I have tried to use something like this

IF((B3+B4)=2<3,"no go","go"

but that did not work.
Thank you all for your help.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,069
Default This may be real simple, but...

=IF(OR(B3+B4=2,B3+B4=3),"go","no go")

Hope this helps,

Hutch

"Cerberus" wrote:

I am trying to do an IF equation but I have two values that I want to be
true, how would I go about this? Basically I want 2 or 3 to equal €œgo€ and
everything else equal €œno go€. I have tried to use something like this

IF((B3+B4)=2<3,€no go€,€go€

but that did not work.
Thank you all for your help.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default This may be real simple, but...

hi
your request is a bit confusing but i think this may help...
=IF(OR(B3+B4=2,B3+B4=3),"no go", "go")

post back if i'm off from your meaning.

Regards
FSt1

"Cerberus" wrote:

I am trying to do an IF equation but I have two values that I want to be
true, how would I go about this? Basically I want 2 or 3 to equal €œgo€ and
everything else equal €œno go€. I have tried to use something like this

IF((B3+B4)=2<3,€no go€,€go€

but that did not work.
Thank you all for your help.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 947
Default This may be real simple, but...

Here, B3+B4 is calculated once:

=IF(OR(B3+B4={2,3}),"Go", "No Go")

--
HTH
Dana DeLouis

"Cerberus" wrote in message
...
I am trying to do an IF equation but I have two values that I want to be
true, how would I go about this? Basically I want 2 or 3 to equal €œgo€
and
everything else equal €œno go€. I have tried to use something like this

IF((B3+B4)=2<3,€no go€,€go€

but that did not work.
Thank you all for your help.




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default This may be real simple, but...

,How about this.

if(and((B3+b4)2,(B3+B4)<3)),"no go","go)

in english.
if sum is greater than 2 and sum is less than 3 then true ("no go") else
false ("go")

"Dana DeLouis" wrote:

Here, B3+B4 is calculated once:

=IF(OR(B3+B4={2,3}),"Go", "No Go")

--
HTH
Dana DeLouis

"Cerberus" wrote in message
...
I am trying to do an IF equation but I have two values that I want to be
true, how would I go about this? Basically I want 2 or 3 to equal €œgo€
and
everything else equal €œno go€. I have tried to use something like this

IF((B3+B4)=2<3,€no go€,€go€

but that did not work.
Thank you all for your help.



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default This may be real simple, but...

=IF(OR(B3+B4=2,(B3+B4=3)),"go","no go")


Gord Dibben MS Excel MVP

On Tue, 18 Mar 2008 10:05:12 -0700, Cerberus
wrote:

I am trying to do an IF equation but I have two values that I want to be
true, how would I go about this? Basically I want 2 or 3 to equal “go” and
everything else equal “no go”. I have tried to use something like this

IF((B3+B4)=2<3,”no go”,”go”

but that did not work.
Thank you all for your help.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Real Protection Learning Excel Excel Discussion (Misc queries) 4 February 10th 08 09:38 PM
IF formula-simple question; simple operator Rich D Excel Discussion (Misc queries) 4 December 6th 07 03:36 PM
Simple problem, simple formula, no FUNCTION ! Ron@Buy Excel Worksheet Functions 6 September 28th 07 04:51 PM
Simple Simple Excel usage question BookerW Excel Discussion (Misc queries) 1 June 23rd 05 10:06 PM
Make it more simple or intuitive to do simple things Vernie Charts and Charting in Excel 1 March 16th 05 04:01 AM


All times are GMT +1. The time now is 02:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"