Hi sir ,
=IF(L8>O8,"BUY",IF(B8>O8,"BUY-F",""))
in the above formula the data in cell no L8 & B8 are Real time data and in O8 Predefined data ,
if when L8 B8 & O8 cells are Real time data then above function is correctly working but when we want to use O8 CELL as predefined value then above...