I need help with a formula to Sum every instance a name appears in a multi-select row of a column.
So from the screenshot, I want to Sum the No. of Hours claimed for each type of overtime reason.
Using SUMIFS I have tried using :
=SUMIFS({Overtime Tracker Range 1}, {Overtime Tracker Range 2}, CONTAINS(@row, @range))
However it comes up with 0. I have also tried using FIND and MATCH instead of contains but those come up for Errors
I have then used this formula:
=SUMIFS({Overtime Tracker Range 1}, {Overtime Tracker Range 2}, "Sickness Cover")
Here I have to manually type the name of the OT Reason. However this only registers if there is a single name in a cell and doesn't work if there are more than one in cell.
So I have two problems:
- My SUMIFS formula doesn't work if I use CONTAINS/FIND/MATCH
- It kind of works if I manually type the name in quotation marks, however only works for the cells with one value and not more than one.
Any help would be greatly appreciated!