# Sumproduct Help

#### Joneye

##### Well-known Member
The answer im looking for in A:10 is 2, the formula I am using may need some help, any advice is welcome?

PS Not column C data is time and date, do I need to paste special and remove time function here? or convert the cells to number?

### Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Hi Jon,

Try:

Code:
``=SUMPRODUCT(--(A2:A8="R"),--(B2:B8="Lancashire")+(AND(C2:C8>"28/08/2010",C2:C8<"04/07/2010")))``

I think you have your dates 0r the < > the wrong way round. Try like this

=SUMPRODUCT(--(B2:B8="Lancashire"),--(A2:A8="R"),--(C2:C8<="28/8/2010"+0),--(C2:C8>="29/6/2010"+0))

James,

MAGIC, now im going to apply that to 40,000 lines of data... many thanks.

eek! Good luck!

I think you have your dates 0r the < > the wrong way round. Try like this

=SUMPRODUCT(--(B2:B8="Lancashire"),--(A2:A8="R"),--(C2:C8<="28/8/2010"+0),--(C2:C8>="29/6/2010"+0))

I like that also, thanks VOG...

Replies
1
Views
507
Replies
1
Views
375
Replies
1
Views
568
Replies
0
Views
396
Replies
2
Views
1K

1,217,253
Messages
6,135,488
Members
449,942
Latest member

### 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