scolty1985
Board Regular
- Joined
- Sep 16, 2009
- Messages
- 86
im currently stuck on the following
the above code is used to change a variable when the output signal stored in column H is less than the maximum recorded value witnessed in column H (Stored in column E).
What im now trying to do is once one of these lower triggers (O$2$, or O$3$) is triggered but the output signal then increases X percent from the lowest value (measured from the trigger of o$2$ or o$3$), i would like to change the variable back to 1.
ie something like this
if variable is now 0.5 or 0.25, begin recording min values
if current value is x% greater than min value, change variable to 1.
Is this possible?
Thanks
Code:
=IF((H2/E2)>=$O$2,1,IF(AND((H2/E2)<$O$2,(H2/E2)>=$O$3),0.5,0.25))
the above code is used to change a variable when the output signal stored in column H is less than the maximum recorded value witnessed in column H (Stored in column E).
What im now trying to do is once one of these lower triggers (O$2$, or O$3$) is triggered but the output signal then increases X percent from the lowest value (measured from the trigger of o$2$ or o$3$), i would like to change the variable back to 1.
ie something like this
if variable is now 0.5 or 0.25, begin recording min values
if current value is x% greater than min value, change variable to 1.
Is this possible?
Thanks
Last edited: