min max and if command issue

scolty1985

Board Regular
Joined
Sep 16, 2009
Messages
88
im currently stuck on the following

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:

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Not sure exactly what your trying to achieve

Could you post some sample data along with your expected results.
 
Upvote 0

Forum statistics

Threads
1,214,908
Messages
6,122,187
Members
449,072
Latest member
DW Draft

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top