
Originally Posted by
Smasen91
Worksheet Formulas
Cell Formula
B3 =IF(OR(AND(B2>=30,B2<50,A3=1),B2<=30),1,IF(OR(AND(B2>=70,B2<100),AND(B2>=50,A3=-1)),-1,0))
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Problem
Can you maybe help med to change this formula? It's the same rules and structure. However, I want the signals (-1,1,0) to be given the day after and not the same day as above.
So with kind of a lag. (See excel sheet for example of how it should be. Here you also find the formula). I guess it should be possible to make a little change of the formula?
So at the day it gives over/under 70/30 it should just be 0, and the signal should come the day after. Thanks!!! :D :D
Bookmarks