Why my Sumproduct - formula do not work?

Sir Vili

Board Regular
Joined
Jul 11, 2002
Messages
148
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

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
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))
 
Upvote 0

Forum statistics

Threads
1,214,994
Messages
6,122,633
Members
449,092
Latest member
bsb1122

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top