Something like this should do the trick: =IF(O9<-0.02,1,IF(O9<-0.01,2,IF(O9<2,3,IF(O9<0.06,4,5))))
Andy.
> How I can write this function for one cell > =IF(O9<-2%;1); IF(-1%<O9<-2%;2); IF(-1%<O9<2%;3); IF(2%<O9<6%;4); [quoted text clipped - 4 lines] > > Thank you