IF(G2<='2024-01-05'<=G3 ,55,99)
比如当G3>=2024-01-05,并且G2<=2024-01-05 显示55,
反之显示99
if(and(G2<="2024-01-05",G3>="2024-01-05"),55,99)
逻辑有漏洞
等于2024-01-05 呢?
G3和G2是不同单位格,这两个值至少 有4种组合,你在一个单元格中写公式是不是要考虑4种情况?要么就分开写公式G3>=2024-01-05 和G2<=2024-01-05 是或的关系还是且的关系?
if(DATESUBDATE(G3,"2024-01-05","D")>0&&DATESUBDATE(G2,"2024-01-05","D")<0,55,99)