View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
macropod macropod is offline
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