Microsoft
Software
Hardware
Network
Question : Excel Sumproduct and Month Function Formula
Hi all,
Need help figuring out a correct excel formula.
I'm using the below to count the number of occurrence for a particular month. However, the formula will not work for January...It gives me incorrect results.
Formula to count for January:
=SUMPRODUCT(--(MONTH(d8:d7
5)=1))
It seems that function is also counting spaces everytime i set if for Jan...But for all other months, the formula works fine.
Help!
Attachments:
Sample.xls
(24 KB)
(File Type Details)
Sample of Formula and Data
Answer : Excel Sumproduct and Month Function Formula
Hello,
the Sumproduct will evaluate to "True" if the cell is empty. So you need something like
=SUMPRODUCT(--(MONTH(D8:D7
5)=1),--(D
8:D75>0))
for January.
cheers, teylyn
Random Solutions
Update based on Case statements
mailto hyperlink with multiple links on multiple lines
Finding a Hidden File in Excel VBA
Vodafone Mobile Connect Error Code 619
Quicktime Movie not visible in some browsers?
Tomcat Webapps Read File
error in boot.ini
SSRS Reporting
Setting up new Server 2008 DC to replace existing Server 2003 DC in Parallel
Datasheet Dialog possible?