Wad Mabbit
Board Regular
- Joined
- Mar 31, 2016
- Messages
- 74
- Office Version
- 2016
- Platform
- Windows
Hi, I have:
SUMPRODUCT((tblStudentProgress[D3 Activity]=Satisfactory)*(SUBTOTAL(103,OFFSET(AW3,ROW(tblStudentProgress[D3 Activity])-MIN(ROW(tblStudentProgress[D3 Activity])),0)))) +
SUMPRODUCT((tblStudentProgress[D4 Activity]=Satisfactory)*(SUBTOTAL(103,OFFSET(AW3,ROW(tblStudentProgress[D4 Activity])-MIN(ROW(tblStudentProgress[D4 Activity])),0))))
This gives me the count of both, but what I want is that where there is a 'hit' in both columns of a row, it only counts as 1.
So here's what it's all about. I have a table of students. They do a number of activities towards a unit of study. Each activity is noted in a column. In this case, there are activities on days 3 and 4. I'd like to get the count of students that have done either an activity on day 3 or on day 4. I.e. those students that have done at least one activity for that unit. The formula I have works great, I just can't figure how to get it to canvass multiple columns.
And oh yeah, if you could also throw in a formula to count just those students that have a "S" in both columns. E.g. they have done all activities for a unit. And um, because you are real smart, could you also do a variant to ignore those that have "Co" in column tblStudentProgress[D4MSMWHS200]
Unm, I have a third request, to determine if they have participated (done anything), e.g. started studying as opposed to doing stuff all.
I have a formula that works elsewhere, but it's just checks if one student (row). Unsure how to turn this into a SUMPRODUCT/SUBTOTAL:
IF(SUMPRODUCT(--(chk_Participation=tblStudentProgress[@[D4 Resourced]:[D4 Webinar]]))>0,"P",""))
Attached images show the data and the hideously complicated concatenation to produce a 'report'
chk_Participation is a range on another sheet that I use for progress validation:
1
2
3
A
C
Co
F
F2
F3
P
S
U
SUMPRODUCT((tblStudentProgress[D3 Activity]=Satisfactory)*(SUBTOTAL(103,OFFSET(AW3,ROW(tblStudentProgress[D3 Activity])-MIN(ROW(tblStudentProgress[D3 Activity])),0)))) +
SUMPRODUCT((tblStudentProgress[D4 Activity]=Satisfactory)*(SUBTOTAL(103,OFFSET(AW3,ROW(tblStudentProgress[D4 Activity])-MIN(ROW(tblStudentProgress[D4 Activity])),0))))
This gives me the count of both, but what I want is that where there is a 'hit' in both columns of a row, it only counts as 1.
So here's what it's all about. I have a table of students. They do a number of activities towards a unit of study. Each activity is noted in a column. In this case, there are activities on days 3 and 4. I'd like to get the count of students that have done either an activity on day 3 or on day 4. I.e. those students that have done at least one activity for that unit. The formula I have works great, I just can't figure how to get it to canvass multiple columns.
And oh yeah, if you could also throw in a formula to count just those students that have a "S" in both columns. E.g. they have done all activities for a unit. And um, because you are real smart, could you also do a variant to ignore those that have "Co" in column tblStudentProgress[D4MSMWHS200]
Unm, I have a third request, to determine if they have participated (done anything), e.g. started studying as opposed to doing stuff all.
I have a formula that works elsewhere, but it's just checks if one student (row). Unsure how to turn this into a SUMPRODUCT/SUBTOTAL:
IF(SUMPRODUCT(--(chk_Participation=tblStudentProgress[@[D4 Resourced]:[D4 Webinar]]))>0,"P",""))
Attached images show the data and the hideously complicated concatenation to produce a 'report'
chk_Participation is a range on another sheet that I use for progress validation:
1
2
3
A
C
Co
F
F2
F3
P
S
U