How do I calculate salary deductions based on late attendance in minutes?

itgldmrt

New Member
Joined
Sep 26, 2023
Messages
8
Office Version
  1. 2021
  2. 2019
  3. 2016
  4. 2013
  5. 2010
  6. 2007
Platform
  1. Windows
Below is the table for late attendance deductions:
1696994160889.png


This is monthly attendance data and for example:
1696994774289.png


How do you calculate late attendance deductions with the above data based on minutes?
In the example above, an employee with the name Nara Susilowati has a salary of 10,000/month. This month, she was late, with a total of 17:11. So she is subject to a deduction >=601 = 150.
 
Rumus perhitungan datang cepat dan telat.xls
BCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAIAJAK
2NONAMASEPTEMBERMENIT TELATTOTAL TERCEPAT
3123456789101112131415161718192021222324252627282930
4MasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasuk
51Agnes                              0:000150
62Alvita            2:51                 2:5119150
73Anggraeni Wibowo   0:12                          0:1219150
84Anita                              0:0020150
95Dyah R             0:06              0:09 0:1518150
106Fauziah Nur Sapitri     0:17        0:01           0:03   0:2117150
117Gisella Anggasta                              0:0020150
128Heri Setyo Budi     0:010:21    0:06      0:03 0:080:04  0:160:140:16   1:299150
DATANG TELAT
Cell Formulas
RangeFormula
D5:AG12D5=IF(RUMUS!D5>'DATANG TELAT'!$B$1,RUMUS!D5-'DATANG TELAT'!$B$1,"")
AI5:AI12AI5=SUM(B5:AH5)
AJ5:AJ12AJ5=COUNTIF(RUMUS!D5:AH5,"<"&$B$1)
AK5:AK12AK5=CHOOSE(MATCH(AI5*1440,{0,31,101,301,401,501,601},1),0,50,70,90,110,130,150)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D5:AH38Cell Valuecontains "C3"textNO
D5:AH38Cell Valuecontains "CB"textNO
D5:AH38Cell Valuecontains "C2"textNO
D5:AH38Cell Valuecontains "C1"textNO
D5:AH38Cell Valuecontains "C"textNO
D5:AH38Cell Valuecontains "DL"textNO
D5:AH38Cell Valuecontains "W"textNO
D5:AH38Cell Valuecontains "SD"textNO
D5:AH38Cell Valuecontains "PG"textNO
D5:AH38Cell Valuecontains "A"textNO
D5:AH38Cell Valuecontains "I"textNO
AJ5:AJ38Cell Value>0textNO


Do you mean like this? @Peter_SSs & @BigBeachBananas
 
Upvote 0

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Do you mean like this?
Yes, exactly. Thanks.

The problem is that your SUM formula in column AI is summing from column B. It should only sum from column D.

23 10 11.xlsm
BCDGIJOPQRVWXYABACADAEAFAGAHAIAK
2NONAMASEPTEMBERMENIT TELAT
314671213141519202122252627282930
4MasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasukMasuk
51Agnes0:000
62Alvita2:512:5170
73Anggraeni Wibowo0:120:120
84Anita0:000
95Dyah R0:060:090:150
106Fauziah Nur Sapitri0:170:010:030:210
117Gisella Anggasta0:000
128Heri Setyo Budi0:010:210:060:030:080:040:160:140:161:2950
Deduction (2)
Cell Formulas
RangeFormula
AI5:AI12AI5=SUM(D5:AH5)
AK5:AK12AK5=LOOKUP(AI5*1440,{0,31,101,301,401,501,601},{0,50,70,90,110,130,150})
 
Upvote 1
Solution

Forum statistics

Threads
1,215,487
Messages
6,125,082
Members
449,205
Latest member
Healthydogs

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