HorizonHunter
New Member
- Joined
- Nov 2, 2023
- Messages
- 7
- Office Version
- 365
- Platform
- Windows
- Mobile
- Web
Building a staff absence tracker for easier management. Column A is names. Column B is a running total. Column C is the date of an absence and Column D is the reason (excused or not). Column C and D essentially repeat for each subsequent absence a person has. I am using data validation to standardize the excuse options.
I'm currently using COUNT in Column B to count all numbers in the row, but that is returning excused absences as well. Ideally it would check each excuse column (D), and if not excused, count that date (C) towards the total (B).
Second complication is making it a running year count. So if someone has an absence on 11/2/2022, it would no longer be counted 11/2/2023.
Third complication is Tardy, which every 3 count as 1 absence.
I've looked in to DCOUNT, INDEX, MATCH, and VLOOKUP, but either I'm implementing them wrong, or I need to reconsider the current layout of the sheet.
I'm currently using COUNT in Column B to count all numbers in the row, but that is returning excused absences as well. Ideally it would check each excuse column (D), and if not excused, count that date (C) towards the total (B).
Second complication is making it a running year count. So if someone has an absence on 11/2/2022, it would no longer be counted 11/2/2023.
Third complication is Tardy, which every 3 count as 1 absence.
Name | Total | Date | Reason | Date | Reason |
John | 1 | 12/15/22 | Sick | ||
Mary | 0 | 11/6/22 | Excused | ||
Sue | 0 | 10/31/22 | Sick | ||
Dave | 1 | 12/22/22 | Sick | 12/3/22 | Tardy |
I've looked in to DCOUNT, INDEX, MATCH, and VLOOKUP, but either I'm implementing them wrong, or I need to reconsider the current layout of the sheet.