[英]Complicated countifs statement using date
I am working on a spreadsheet at work and I can't seem to get a formula to work. 我正在使用电子表格,但似乎无法使用公式。
I am trying to do a countifs using these Criteria: 我正在尝试使用这些条件进行评估:
If column A has "Not Received" If column B has a date that is 60 days past today's date 如果列A具有“未收到”,则列B具有比今天的日期晚60天的日期
I have tried using the following formula: 我尝试使用以下公式:
=COUNTIFS(Reports!A:A,"Not Received",Reports!B:B,(TODAY()-Reports!B:B)>60)
Am I doing something wrong? 难道我做错了什么?
The second condition should be reworded, as if you're already having Reports!B:B
in the equation: 第二个条件应该改写,就像方程中已经有
Reports!B:B
:
=COUNTIFS(Reports!A:A,"Not Received",Reports!B:B,"<"&TODAY()-60)
If you want some math... 如果你想数学...
Today - Date > 60
Today - 60 > Date
So, 所以,
Date < Today - 60
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.