A1中输入实际尺寸923×770×268(φ270).
则B1中输入公式=IF(AND(--LEFT(A1,3)>=920,--LEFT(A1,3)<=925),"","长不符合要求")&IF(AND(--MID(A1,5,3)>=770,--MID(A1,5,3)<=775),"","宽不符合要求")&IF(AND(--MID(A1,9,3)>=265,--MID(A1,9,3)<=270),"","高不符合要求")&IF(AND(--MID(A1,14,3)>=270,--MID(A1,14,3)<=272),"","直径不符合要求")
条件格式里,按值的范围设条件