=if(Abs(A1)<=15,"合格“,"不合格")
假设两个数据分别在单元格A1、B1,则在C1单元格中输入=IF(OR(A1="",B1=""),"",IF(ABS(A1-B1)<=15,"合格","超限"))