=if(and(c1>=a1,c1<=b1),"yes","no")
If this does not work post a xls file