# Help using sumproduct and date?

#### Claire2606

##### New Member
Hi,

I am putting together a spreadsheet to gather statistical data on a monthly basis over the course of a year.

On sheet one the end date is in column G. My formulas for gathering numbers of new referrals and completed clients are working. However, the formula I am using to gather information on ongoing clients within a month, works, until an end date is inputted in the cell. i.e A client referred in September with a blank end date is counted. When the date is inputted e.g. October, the client is not then counted as being ongoing/being live in September.

I have tried numerous formulas to no avail either they produce errors or incorrect data. The formula I am currently using is:

=SUMPRODUCT(--(LEN(Sheet1!\$G\$9:\$G\$350)<=0),--(Sheet1!\$D\$9:\$D\$350="Male"),--(Sheet1!\$C\$9:\$C\$350="Year 6"),--(Sheet1!\$I\$9:\$I\$350="Not known"))

### Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Replies
7
Views
443
Replies
4
Views
490
Replies
5
Views
1K
Replies
9
Views
328
Replies
13
Views
2K

1,196,052
Messages
6,013,115
Members
441,748
Latest member
MrBigglesworth

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back