Attendance tracker formula that includes deduction of points

zeppidoo

New Member
Joined
Jan 5, 2017
Messages
8
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. :cool:
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Forum statistics

Threads
1,215,054
Messages
6,122,895
Members
449,097
Latest member
dbomb1414

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top