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
How to create a command (union) from 2 databases?
Is there a way to create links in MS Word that link to other word documents in the same folder?
GridView RowUpdating Problem
Access query
recovery model change being blocked
Procedure not run correctly when parameter include non en character (SQL2005)
How do I pause a running program in VBA
Securing and deploying a VB.net application
What is the issue with this profile
sbs 2008 AD error / Server locking