我正在尝试在6 月 21 日至 6 月 21 日之间的日期之间制作单元格G5
SUM
或COUNTIF
(不确定哪个更好)表格列中的OPEN
's 和's 的数量。CLOSED
A
SPREADS LOG
但是,如果没有OPEN
或CLOSED
在此日期范围之间,我想G5
返回一个空白。
这是当前的公式G5
=IF(COUNTIFS('SPREADS LOG'!A:A,"OPEN",'SPREADS LOG'!R:R,">="&DATE(2021,2,1),'SPREADS LOG'!R:R,"<="&DATE(2021,2,28)),COUNTIFS('SPREADS LOG'!A:A,"CLOSED",'SPREADS LOG'!R:R,">="&DATE(2021,2,1),'SPREADS LOG'!R:R,"<="&DATE(2021,2,28)),"")
如果有人可以对此进行调整,那就太好了。