The array formula I have currently is very close to what I want, it is only limited by the fact that I can only have two conditions (unless I want to manually add more). What I'd like to do is be able to use a name derived from a table column to match criteria, similar to using OR() with a range.
As it stands, my array formula looks similar to this (using names or range references)
=SUM((JOB_HRS)*(TEXT($E4,"0")=TEXT(EMP_ID,"0"))*(JOB_DATE>=$M4)*(JOB_DATE<=$N4)*((JOB_TYPE=CONFIG!$F$8)+(JOB_TYPE=CONFIG!$F$9)))
I get a report sheet with about 5000 rows of data. This formula accurately parses the sheet and sums up the total hours worked by an employee (by ID which is sometimes stored as a number or text based on the output programs' feelings that day)
The last part is what I'm looking to streamline
((JOB_TYPE=CONFIG!$F$8)+(JOB_TYPE=CONFIG!$F$9))
It works, but I am limited a bit by the amount of cells, plus the formula looks way long. I'd like to simplify it to something like this, but cannot find a good reference to work with the SUM array. Any thoughts?
(JOB_TYPE=RNG_OF_JOB_TYPES)
Edit: Added picture