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

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Ian Mac

MrExcel MVP
Joined
Feb 20, 2002
Messages
1,174
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))
 

Forum statistics

Threads
1,143,916
Messages
5,721,525
Members
422,369
Latest member
redinator

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
Top