Count entries "1"

omer1234

Board Regular
Joined
Nov 29, 2011
Messages
161
Admin - I am not trying to be rude, but I genuinely am struggling & not trying to waste anyone's time !!!!!!

I have tried to google but unable to find a resolution


Given this data set, How do I extract the number of times "1" is recorded on a specific date..... OR "3" but I am assuming it will be the same formula :) just different cells

Thanks


B-TeamB-TeamB-TeamC-TeamB-TeamB-TeamB-TeamA-Team
02/27/24 13:30:4303/01/24 00:00:0002/27/24 12:45:1802/02/24 00:00:0002/27/24 11:00:0302/02/24 00:00:0002/27/24 12:30:2403/01/24 00:00:00
3.001.000.000.000.000.000.000.00
3.001.000.000.001.000.000.000.00
3.001.000.000.000.000.000.001.00
0.000.000.000.000.000.000.000.00
0.000.001.001.000.000.001.000.00
0.000.000.000.000.000.000.000.00
3.000.000.000.000.001.000.000.00
3.000.000.000.000.000.000.000.00
Criteria1.00
A-TeamB-TeamC-TeamD-Team
27-Feb
1-Mar
2-Feb
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
does this work
=SUMPRODUCT(($A$5:$H$12=$E$15)*($A$2:$H$2=C$16)*(INT($A$3:$H$3)=$B18))

INT($A$3:$H$3) is because you have times in the cells , so INT is to make it just the date to compare with the criteria date

Book4
ABCDEFGH
1
2B-TeamB-TeamB-TeamC-TeamB-TeamB-TeamB-TeamA-Team
32/27/24 13:303/1/24 0:002/27/24 12:452/2/24 0:002/27/24 11:002/2/24 0:002/27/24 12:303/1/24 0:00
4
531000000
631001000
731000001
800000000
900110010
1000000000
1130000100
1230000000
13
14
15Criteria1
16A-TeamB-TeamC-TeamD-Team
17
1827-Feb0300
191-Mar1300
202-Feb0110
Sheet1
Cell Formulas
RangeFormula
C18:F20C18=SUMPRODUCT(($A$5:$H$12=$E$15)*($A$2:$H$2=C$16)*(INT($A$3:$H$3)=$B18))
 
Upvote 0
does this work
=SUMPRODUCT(($A$5:$H$12=$E$15)*($A$2:$H$2=C$16)*(INT($A$3:$H$3)=$B18))

INT($A$3:$H$3) is because you have times in the cells , so INT is to make it just the date to compare with the criteria date

Book4
ABCDEFGH
1
2B-TeamB-TeamB-TeamC-TeamB-TeamB-TeamB-TeamA-Team
32/27/24 13:303/1/24 0:002/27/24 12:452/2/24 0:002/27/24 11:002/2/24 0:002/27/24 12:303/1/24 0:00
4
531000000
631001000
731000001
800000000
900110010
1000000000
1130000100
1230000000
13
14
15Criteria1
16A-TeamB-TeamC-TeamD-Team
17
1827-Feb0300
191-Mar1300
202-Feb0110
Sheet1
Cell Formulas
RangeFormula
C18:F20C18=SUMPRODUCT(($A$5:$H$12=$E$15)*($A$2:$H$2=C$16)*(INT($A$3:$H$3)=$B18))
THanks YOU BUD
 
Upvote 0

Forum statistics

Threads
1,215,109
Messages
6,123,136
Members
449,098
Latest member
Doanvanhieu

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