I need to count the occurrence of a specified month in my data, I used the following formula

=SUMPRODUCT((MONTH(E$2:E$9999)=2)*(YEAR(E$2:E$9999)=2011)*1)

The formula works, but XCelsius do not recognize the SUMPRODUCT function

This is my data sample

2011/02/14  08:54:21 AM
2011/02/18  11:08:57 AM
2011/02/21  10:40:55 AM
2011/04/13  09:48:46 AM
2011/04/14  09:03:58 AM
2011/05/25  06:20:29 AM

Is there another way of counting the occurrences of a specified month

有帮助吗?

解决方案

Maybe try this:

=COUNTIF(E$2:E$9999,">=2011-02-01")-COUNTIF(E$2:E$9999,">=2011-03-01")

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top