How can I sum hours from a single day/class?
Hi, I am using this sheet as a work log, to count the hours a coach has spent with a group of students. For tracking purposes, coaches input 1 form per student, but I need to sum, in the example picture attached, only 1 class of 2 hours for that coach. So if the date and the type of class are the same I should only sum 2 hours for this coach. Is there a formula to calculate this?
Thank you in advance!
Best Answer
-
Try a SUMIFS...
=SUMIFS(Hours:Hours, Date:Date, @cell = DATE(2022, 07, 07), [Type Of Class]:[Type Of Class], @cell = "Academy Class")
Answers
-
Try a SUMIFS...
=SUMIFS(Hours:Hours, Date:Date, @cell = DATE(2022, 07, 07), [Type Of Class]:[Type Of Class], @cell = "Academy Class")
-
Thank you! I actually used the
=COUNT(DISTINCT(COLLECT
to be able to skip duplicate dates and count only classes.
Thanks a lot anyway =)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!