Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default if any of 3 conditions is true, then answer is true

I have three seperate conditions comparing 3 different columns of data that
return a true or false answer. I would like to reduce the three formulas
into 1. If any of the 3 conditions are true, I want my answer to be true.
My feeble attempt is:
=(AND(1<G5,G5<2),OR(IF(E5=0,TRUE,FALSE)),OR(AND(K5 -0.1,K5<.1)),true,false,true))
--
inthestands
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 329
Default if any of 3 conditions is true, then answer is true

Hi inthestands,

Try:
=((1<G5)*(G5<2)+(E5=0)+(K5-0.1)*(K5<.1)0)
This will return 'TRUE' if any one or more conditions is true, and 'FALSE'
only if all three conditions are false.

Cheers
--
macropod
[MVP - Microsoft Word]


"inthestands" wrote in message
...
I have three seperate conditions comparing 3 different columns of data

that
return a true or false answer. I would like to reduce the three formulas
into 1. If any of the 3 conditions are true, I want my answer to be true.
My feeble attempt is:

=(AND(1<G5,G5<2),OR(IF(E5=0,TRUE,FALSE)),OR(AND(K5 -0.1,K5<.1)),true,false,t
rue))
--
inthestands



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default if any of 3 conditions is true, then answer is true

Try:
=OR(AND(1<G5,G5<2),E5=0,AND(K5-0.1,K5<.1))


"inthestands" wrote:

I have three seperate conditions comparing 3 different columns of data that
return a true or false answer. I would like to reduce the three formulas
into 1. If any of the 3 conditions are true, I want my answer to be true.
My feeble attempt is:
=(AND(1<G5,G5<2),OR(IF(E5=0,TRUE,FALSE)),OR(AND(K5 -0.1,K5<.1)),true,false,true))
--
inthestands

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default if any of 3 conditions is true, then answer is true

Try this:

=OR(AND(G51,G5<2),E5=0,AND(ABS(K5)<0.1))

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"inthestands" wrote:

I have three seperate conditions comparing 3 different columns of data that
return a true or false answer. I would like to reduce the three formulas
into 1. If any of the 3 conditions are true, I want my answer to be true.
My feeble attempt is:
=(AND(1<G5,G5<2),OR(IF(E5=0,TRUE,FALSE)),OR(AND(K5 -0.1,K5<.1)),true,false,true))
--
inthestands

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 55
Default if any of 3 conditions is true, then answer is true

"3 different columns of data "
I assume that a blank cell means there is no data....E5 must have data
encoded to have a so-so true OR expected result.
Result will always be true even E5,G5 and K5 are blanks if u will not do it
like this one....
=IF(E5="",FALSE,OR(AND(1<G5,G5<2),E5=0,AND(K5-0.1,K5<0.1)))

"inthestands" wrote:

I have three seperate conditions comparing 3 different columns of data that
return a true or false answer. I would like to reduce the three formulas
into 1. If any of the 3 conditions are true, I want my answer to be true.
My feeble attempt is:
=(AND(1<G5,G5<2),OR(IF(E5=0,TRUE,FALSE)),OR(AND(K5 -0.1,K5<.1)),true,false,true))
--
inthestands



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default if any of 3 conditions is true, then answer is true

?

"inthestands" wrote:

I have three seperate conditions comparing 3 different columns of data that
return a true or false answer. I would like to reduce the three formulas
into 1. If any of the 3 conditions are true, I want my answer to be true.
My feeble attempt is:
=(AND(1<G5,G5<2),OR(IF(E5=0,TRUE,FALSE)),OR(AND(K5 -0.1,K5<.1)),true,false,true))
--
inthestands

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
Using COUNTIF to search for existence Epinn Excel Worksheet Functions 31 October 27th 06 04:57 AM
Returning a Value if 3 Conditions are True brownie224 Excel Worksheet Functions 5 May 11th 06 11:54 PM
Disable CUT via toolbars or shortcut keys sparx Excel Discussion (Misc queries) 0 April 30th 06 08:34 PM
Disable "Cut" only sparx Excel Discussion (Misc queries) 2 April 29th 06 05:08 PM
Macros and Toolbars Bec Excel Discussion (Misc queries) 7 January 23rd 06 02:54 PM


All times are GMT +1. The time now is 08:33 PM.

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

About Us

"It's about Microsoft Excel"