Hello,
I am currently trying to develop an attendance tracker in Excel that will minus 1 point if 30 days of perfect attendance is achieved. I have been able to write a formula that will deduct the points if that time frame is met but, the problem is that when they get another point for absence the total reverts back to what it was before points were deducted. How can I save the total so it doesn't change when a new point is added? Below is the current formula to deduct.
=IF(INT((TODAY()-G4)/180)*-6,INT((TODAY()-G4)/150)*-5,IF(INT((TODAY()-G4)/120),INT((TODAY()-G4)/120)*-4,IF(INT((TODAY()-G4)/90),INT((TODAY()-G4)/90)*-3,IF(INT((TODAY()-G4)/60),INT((TODAY()-G4)/60)*-2,IF(INT((TODAY()-G4)/30),INT((TODAY()-G4)/30)*-1,0))))))
Cell G4 is the last date points were given or hire date if no points have yet been given. When that date changes to the new date points were given it obviously eliminates the deductions
I am vaguely familiar with VBA but I am not a developer, just an operations manager with some Excel experience trying to manage my staff's attendance so please keep that in mind if my formula above is not the best way to go about the calculation and feel free to offer any other options.
I am currently trying to develop an attendance tracker in Excel that will minus 1 point if 30 days of perfect attendance is achieved. I have been able to write a formula that will deduct the points if that time frame is met but, the problem is that when they get another point for absence the total reverts back to what it was before points were deducted. How can I save the total so it doesn't change when a new point is added? Below is the current formula to deduct.
=IF(INT((TODAY()-G4)/180)*-6,INT((TODAY()-G4)/150)*-5,IF(INT((TODAY()-G4)/120),INT((TODAY()-G4)/120)*-4,IF(INT((TODAY()-G4)/90),INT((TODAY()-G4)/90)*-3,IF(INT((TODAY()-G4)/60),INT((TODAY()-G4)/60)*-2,IF(INT((TODAY()-G4)/30),INT((TODAY()-G4)/30)*-1,0))))))
Cell G4 is the last date points were given or hire date if no points have yet been given. When that date changes to the new date points were given it obviously eliminates the deductions
I am vaguely familiar with VBA but I am not a developer, just an operations manager with some Excel experience trying to manage my staff's attendance so please keep that in mind if my formula above is not the best way to go about the calculation and feel free to offer any other options.