
Originally Posted by
CAntosh
I'm not sure I'm fully understanding how your workbook operates or what you're looking for, but hopefully I'm close enough to help. You can use the following formula in G5 of the leaderboard to return each employee's total as of yesterday:
=SUM(OFFSET(INDIRECT($A5&"!I2"),0,0,MATCH(TODAY()-1,INDIRECT($A5&"!$C$2:$C$25"),1)))
You can fill it down through G9 to get the totals for the rest of the team. If you want to compare those totals to the goal of 10 per seven days, you can use:
=SUM(OFFSET(INDIRECT($A5&"!I2"),0,0,MATCH(TODAY()-1,INDIRECT($A5&"!$C$2:$C$25"),1)))-(DAY(TODAY()-1)*10/7)
instead of the earlier formula. I put those results in column L of my attachment so you could take a look. There are likely easier, more accurate approaches, but it requires a better understanding of what your table is doing. In particular, there are columns on BOB that don't appear on other sheets, some sheets are missing February 12th, and it's not quite clear how you're filling in the data. If you're adding their tire totals each day, then the leaderboard should be able to refer to I26 of sheet for the current total, correct? That could simplify the formulas above. Additionally, when an employee doesn't work, do you enter a zero for that day, or leave it blank? If it's left blank or marked with an "x" or somehow identified in column I, we could craft a formula that uses 2/day instead of 10/week as an expectation. Take a look at the attachment and let me know what you think:
Bookmarks