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

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

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,181,539
Messages
5,930,491
Members
436,741
Latest member
buckeyerich

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