Good Morning,
I have two array formula's, one to count hours, the other to count days. Both are based on: type of worker, day of week, and week number. The problem is if I use a "V" or "T" for vacation or training, then the array formula will not work. Currently I leave the field blank if they are not working, but it would be nice to see whether they are on vacation or training. Is there a way i can have my cake and eat it too?
Counting Days
{=SUM(($E$5:$MN$50>0)*($B$5:$B$50=$D56)*($E$3:$MN$3=F$54)*($E$2:$MN$2=$E$67))}
Counting Hours
{=SUM(($E$5:$MN$50)*($B$5:$B$50=$D56)*($E$3:$MN$3=F$54)*($E$2:$MN$2=$E$67))}
Here is a breakdown of what each of the ranges mean:
- $E$5:$MN$50 is the area which the hours are forecasted
- $B$5:$B$50 is the column for which type of worker (Electrician, Pipefitter, etc)
- $D56 is the specific type of worker we are counting for
- $E$3:$MN$3 is a row with all the week days ("Fri, Sat, Sun...)
- F$54 is the specific day we are counting for
- $E$2:$MN$2 is a row with all the week numbers
- $E$67 is the specific week number we are counting for
Bookmarks