# Why my Sumproduct - formula do not work?

#### Sir Vili

##### Board Regular
Hello masters.

Situation is following:

in C2 there is date with time 1.3.2002 0:45
in C3 there is date with time 1.3.2002 6:00
in C4 there is date with time 2.3.2002 7:20
in G2 there number 23
in G3 there number 13
in G4 there number 11

In J2 I want summarize those numbers from G2:G4 where respectively days in area C2:C4 are day 1.

I tried sumproduct - function with formula:

=SUMPRODUCT((C2:C4=DAY(1))*(G2:G4)), but no result.

Best Regards Sir Vili.

### Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
On 2002-09-19 23:03, Sir Vili wrote:
Hello masters.

Situation is following:

in C2 there is date with time 1.3.2002 0:45
in C3 there is date with time 1.3.2002 6:00
in C4 there is date with time 2.3.2002 7:20
in G2 there number 23
in G3 there number 13
in G4 there number 11

In J2 I want summarize those numbers from G2:G4 where respectively days in area C2:C4 are day 1.

I tried sumproduct - function with formula:

=SUMPRODUCT((C2:C4=DAY(1))*(G2:G4)), but no result.

Best Regards Sir Vili.

Try:

=SUMPRODUCT((DAY(C2:C4)=1)*(G2:G4))

THX Ian.

Works perfectly.

Sir Vili.

Replies
3
Views
226
Replies
4
Views
237
L
Replies
8
Views
584
Legacy 352679
L
Replies
2
Views
210
Replies
5
Views
225

1,217,328
Messages
6,135,919
Members
449,972
Latest member
Natejack

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