I have an attendance tracker and I need to stretch it to include 2017. One cell has the following formula. There are seven like it per employee. The other managers use this sheet so the easier the better because either they will do it themselves, or I will have to do it for them and would like to be able to do it quickly. Attached is a blank copy, each team has varying number of employees and that number will change. Maybe a macro that changes the formulas in the first row and then copies down? Only thing is that the most of the other managers don't know how to use macros, but it would be very easy for me. If you guys have a better idea, please let me know!
Code:
[COLOR=#333333]=IF(ISBLANK(A9),"",SUMPRODUCT((D$7=$K9:$NK9)*($K$8:$NK$8>=EDATE($I$1,-6))*($K$8:$NK$8<=$I$1))-SUMPRODUCT((D$7=$L9:$NK9)*($L$8:$NK$8>=EDATE($I$1,-6))*($K$8:$NJ$8<=$I$1)*(D$7=$K9:$NJ9)*($K$8:$NJ$8>=EDATE($I$1,-6))*($K$8:$NJ$8<=$I$1)))[/COLOR]