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
Looping through rows of controls
Wild card filter for list view in sharepoint 2010
SQL Server Correlated sub query
Using a Table variable to hold sp_MSforeachdb values
Installing a UCC SSL Certificate for Exchange2010
Open/close Navigation Pane programatically via vbscript
SQL sum
Multiple Pop Up Windows
USB port identificaion
Sending mail in ASP