Probably a repeat question but i just cant figure this out.
Im trying to sum the number of times a persons name appears in a range on my "classes" sheet if the date in column A is between a range of dates in my "passes" sheet.
Apologies for the terrible formatting of my tables im not familiar with the sticky interface.
classes sheet
<tbody>
</tbody>
<tbody>
</tbody>
passes sheet
<tbody>
</tbody>
So essentially what i want to do in the "passes" D2 is sum the number of times Phillip Watson appears within "classes" B2:E5 if the date in "classes" A:A is between "passes" B2:C2
I was trying this but getting nowhere:
=SUMIFS(Classes!$C$2:$V$1000,Classes!A:A,>=Passes!C2,Classes!$A$2:$A$1000,<=Passes!D2)
Thanks
Im trying to sum the number of times a persons name appears in a range on my "classes" sheet if the date in column A is between a range of dates in my "passes" sheet.
Apologies for the terrible formatting of my tables im not familiar with the sticky interface.
classes sheet
1 | A | B | C | D | E | |||||
2 |
<tbody> </tbody> |
<tbody> </tbody> |
<tbody> </tbody> |
<tbody> </tbody> |
<tbody> </tbody> | |||||
3 |
<tbody> </tbody> |
<tbody> </tbody> |
<tbody> </tbody> |
<tbody> </tbody> |
<tbody> </tbody> | |||||
4 |
<tbody> </tbody> | Phillip Watson | Mary Woodson | Phillip Watson | Mary Woodson | |||||
5 |
<tbody> </tbody> | Phillip Watson | Phillip Watson | Mary Woodson | Mary Woodson |
<tbody>
</tbody>
<tbody>
</tbody>
passes sheet
1 | A | B | C | D | E |
2 | Phillip Watson | Friday, 11 January 2019 | Friday, 12 January 2019 | xxxxxx | xxxxxx |
3 | |||||
4 | |||||
5 |
<tbody>
</tbody>
So essentially what i want to do in the "passes" D2 is sum the number of times Phillip Watson appears within "classes" B2:E5 if the date in "classes" A:A is between "passes" B2:C2
I was trying this but getting nowhere:
=SUMIFS(Classes!$C$2:$V$1000,Classes!A:A,>=Passes!C2,Classes!$A$2:$A$1000,<=Passes!D2)
Thanks