Forum Discussion
COUNTIF not working
- Dec 02, 2025
Dates in Excel are actually integer numbers starting from 1 which 01 Jan 1900. Applying format like "dd-mmm-yyyy" doesn't change cell values. For example cell formatted as 25-Nov-2025 still has as value integerr number 45986. Applying of any format doesn't change the value, only the way how we see it in the cell.
Thus COUNTIF() counts nothing on text "Nov". Altenatively you may use
=SUMPRODUCT(--(MONTH(D:D)=11))
Dates in Excel are actually integer numbers starting from 1 which 01 Jan 1900. Applying format like "dd-mmm-yyyy" doesn't change cell values. For example cell formatted as 25-Nov-2025 still has as value integerr number 45986. Applying of any format doesn't change the value, only the way how we see it in the cell.
Thus COUNTIF() counts nothing on text "Nov". Altenatively you may use
=SUMPRODUCT(--(MONTH(D:D)=11))
- FbxSteveDec 02, 2025Copper Contributor
Thank you!