if(b1-364>a1+364,"answer1","answer2")
remove the "" if your answers are numerical
Dates typed in most of the formats ie dd/mm/yy, dd-mm-yyyy etc will be interpreted automatically as a number even if the cell is in text format. Need to be a bit more carefule if your pc is american format and the date is eu format.