问题
I am trying to substitute '!!!!!!' for a formula to count the number of W
in column P
on sheet TRADE LOG
between the dates of 01 Feb 2021 and 28 Feb 2021 in hardcoded format.
This is the current formula :
=IF(COUNTIFS('TRADE LOG'!P:P,"W",'TRADE LOG'!B:B,">="&DATE(2021,2,1),'TRADE LOG'!B:B,"<="&DATE(2021,2,28)),"!!!!!!","")
Could anyone suggest what needs to be added in order to achieve this?
To make this clearer, I want F16
in STATISTICS
to count the number of W
's in sheet TRADE LOG
column P
between the dates of 01 Feb 2021 and 28 Feb 2021. However, if there is none I would like F16
to return a blank.
来源:https://stackoverflow.com/questions/66060716/how-to-count-between-a-date-range-if-nested-within-another-formula