Count if with multiple condilition

Jewnaa

Board Regular
Joined
Nov 16, 2011
Messages
56
Class/SubjectUrduEnglishMathScienceS.StDrawingGeneral
One
Two

Please guide me how to count weekly subject count against each class.
Thanks


ClassDay12345678
OneMondayUrduEnglishScienceMath
OneTuesdayUrduEnglishScienceMath
OneWednesdayUrduEnglishScienceMath
OneThursdayUrduEnglishScienceMath
OneFridayUrduS.St.ScienceMath
OneSaturdayUrduS.St.ScienceMath
TwoMondayUrduEnglishScienceMath
TwoTuesdayUrduEnglishScienceMath
TwoWednesdayUrduS.St.ScienceMath
TwoThursdayUrduS.St.ScienceMath
TwoFridayUrduEnglishScienceMath
TwoSaturdayUrduS.St.ScienceMath
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
try:
(Note: you're missing a period on S.St in the lookup row)

Book1
ABCDEFGHIJ
1Class/SubjectUrduEnglishMathScienceS.St.DrawingGeneral
2One6466200
3Two6366300
4
5
6
7
8
9ClassDay12345678
10OneMondayUrduEnglishScienceMath
11OneTuesdayUrduEnglishScienceMath
12OneWednesdayUrduEnglishScienceMath
13OneThursdayUrduEnglishScienceMath
14OneFridayUrduS.St.ScienceMath
15OneSaturdayUrduS.St.ScienceMath
16
17TwoMondayUrduEnglishScienceMath
18TwoTuesdayUrduEnglishScienceMath
19TwoWednesdayUrduS.St.ScienceMath
20TwoThursdayUrduS.St.ScienceMath
21TwoFridayUrduEnglishScienceMath
22TwoSaturdayUrduS.St.ScienceMath
Sheet1
Cell Formulas
RangeFormula
B2:H3B2=SUMPRODUCT(($A2=$A$10:$A$22)*(B$1=$C$10:$J$22))
 
Upvote 0

Forum statistics

Threads
1,215,334
Messages
6,124,325
Members
449,154
Latest member
pollardxlsm

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