M
Mika
Hi,
Say I have n points(values): P1,P2,.... Pn
I want to define a minimum relative if, for example a point (P3) has a
value lower than X points after and X points before. If X=2 then:
P1>P2>P3 and P3<P4<P5 then P3 is a minimum. or
=if(and(P1>P2>, P2>P3 , P3<P4,P4<P5 ),"P3 is Min","")
Now the questions is: how can I have similar formula with X a
variable? (X could be any value between 1 and 5, 1<=X<=5 )
Thanks for your time
Mika
Say I have n points(values): P1,P2,.... Pn
I want to define a minimum relative if, for example a point (P3) has a
value lower than X points after and X points before. If X=2 then:
P1>P2>P3 and P3<P4<P5 then P3 is a minimum. or
=if(and(P1>P2>, P2>P3 , P3<P4,P4<P5 ),"P3 is Min","")
Now the questions is: how can I have similar formula with X a
variable? (X could be any value between 1 and 5, 1<=X<=5 )
Thanks for your time
Mika