+ Reply to Thread
Results 1 to 10 of 10

Attendance list and lateness calculation

  1. #1
    Registered User
    Join Date
    12-17-2020
    Location
    London
    MS-Off Ver
    2010
    Posts
    64

    Question Attendance list and lateness calculation

    The attached excel is an attendance list for a whole week.

    A (Absent)= count as one point in Total A column

    P (Present)= one point 1

    L (Late) Each Late is 0.5 point

    2 L= 1 Point

    3 L= 1 Point

    4 L= 2 points

    5 L= 4 points .. And so on

    It might be more a mathematical issue, but I need to calculate this in a formula in the Total L column.

    Anyone can help please?

    Thanks.
    Attached Files Attached Files

  2. #2
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Attendance list and lateness calculation

    When you say 'And so on', how much is 6L and 7L worth, because I can see no logical sequence forming?

    You say each Late is half a point, but then you say 3 Late is 1 point (instead of 1.5) and 5 is 4 points (instead of 2.5)

    If half a point for each late, that's easy ;

    = COUNTIF(Sheet1!$C3:$I3,"L")*0.5
    Last edited by Croweater; 09-22-2021 at 09:04 PM.

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,720

    Re: Attendance list and lateness calculation

    Pretty similar to the ones you have for A & P:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,720

    Re: Attendance list and lateness calculation

    I provided that solution just based on "Each Late is 0.5 point" but as Croweater points out your examples for this don't make sense.

  5. #5
    Registered User
    Join Date
    12-17-2020
    Location
    London
    MS-Off Ver
    2010
    Posts
    64

    Re: Attendance list and lateness calculation

    I understand, thanks for you, actually this is what the company wanted me to calculate and I already told them this is not logical.

    I thought maybe someone can find a way. but for sure this is not logical.

    Thanks again for you all.

  6. #6
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: Attendance list and lateness calculation

    it would appear that the company wants you to ROUNDDOWN to zero decimal places, which can be done using the following structure:

    Please Login or Register  to view this content.
    (change total for whichever formula gets this number)

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,720

    Re: Attendance list and lateness calculation

    Quote Originally Posted by janmorris View Post
    it would appear that the company wants you to ROUNDDOWN to zero decimal places
    That might be, but it doesn't work for

    5 L= 4 points

    5 L would result in 2 points with a round-down approach. Actually it would only be 2.5 with exact figures so maybe "4" is a typo.

  8. #8
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,057

    Re: Attendance list and lateness calculation

    The increasing penalty points make sense - basically to warn latecomers to buck up immediately. Assuming 6L=5 and 7L=6,
    formula:=CHOOSE(COUNTIF(Table1[@[Attendance 1]:[Attendance 7]],"L")+1,0,0.5,1,1,2,4,5,6).

    0L=0
    1L=1
    2L=1
    3L=1
    4L=2
    5L=4
    6L=5
    7L=6
    Last edited by josephteh; 09-22-2021 at 09:35 PM.

  9. #9
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,057

    Re: Attendance list and lateness calculation

    Amendments made to above post.

  10. #10
    Registered User
    Join Date
    12-17-2020
    Location
    London
    MS-Off Ver
    2010
    Posts
    64

    Re: Attendance list and lateness calculation

    Thank you for your help @Josephteh

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Attendance: get the lateness or of workers on different shi
    By biglucky in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-23-2019, 01:02 PM
  2. Attendance Points Calculation
    By cjroper111 in forum Excel General
    Replies: 1
    Last Post: 07-27-2018, 12:59 AM
  3. Monthly attendance calculation
    By Ryan_Bernal in forum Excel General
    Replies: 6
    Last Post: 12-08-2014, 09:37 AM
  4. Attendance statement calculation
    By shafika.tkm in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-09-2012, 09:26 AM
  5. Attendance Calculation
    By shafika.tkm in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-07-2012, 10:57 PM
  6. Attendance Calculation
    By shafika.tkm in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-03-2012, 12:51 AM
  7. Attendance calculation, Excel Macro
    By twsit in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-04-2008, 02:45 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1