Totalling up from in a table based on specific conditions - help requested
Hi all, hope this is the ok formatting for a request - I haven't been here before...
I'm a high school teacher and since December have been using this below spreadsheet to track my workload. Partially to stop myself doing too much, and partially to try to identify the parts of my job that take up the most time.
The spreadsheet is split into two tables, and I use filters to split each week up by school calendar weeks 1-40. I've shown a small sample here (all of week 38 and the totals for the few weeks either side). I type in the activities on the bottom table each day and give each activity a category (as you can see listed in the top row).
The bit I'd like to smooth out is that in order to calculate the "Total time spent" I have to manually add the different "Marking" activities and then "Dept." individually. It literally is currently me clicking in D29 for example and typing =E420+E426 etc. What I'd love it to do is calculate that automatically.
Effectively I think (?) it would need to be something in D29 like "If the week is 38, and the category is M, add up all of the "Hours" amounts that meet this criteria"
I would imagine this is possible and probably quite straightforward but my Excel experience is limited to what I learned in high school myself, and I have tried googling for it but it's a little too specific to find what I'm looking for
On a secondary note, you'll notice that on the second table I have the text entry for "Task" and then "Task cont." and "Task cont. 2" so that the tables are the same width but I can't merge them because of the top table. Is there a way around this too? This makes no difference to me other than the way it looks but thought I'd ask while I was here!
Thanks in advance!
Posted Aug 8, 2022, 8:07 AM UTC