min max and if command issue

scolty1985

Board Regular
Joined
Sep 16, 2009
Messages
86
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

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

shemayisroel

Well-known Member
Joined
Sep 11, 2008
Messages
1,867
Not sure exactly what your trying to achieve

Could you post some sample data along with your expected results.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,294
Messages
5,836,464
Members
430,432
Latest member
Spike47

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
Top