+ Reply to Thread
Results 1 to 8 of 8

Summary/Report sheet for an annual leave/attendance register

Hybrid View

  1. #1
    Registered User
    Join Date
    08-29-2018
    Location
    Uk
    MS-Off Ver
    10
    Posts
    4

    Summary/Report sheet for an annual leave/attendance register

    Good morning,

    I was hoping I could get some advice on how to create a summary sheet for an annual leave/attendance register.

    The register itself currently calculates; total staff in, total staff off, total staff and attendance for each day. It then calculates the weekly average. It formats to red when below 77%.

    I would like the summary sheet to show weekly attendence % when you enter the week commencing date, I tried to reference the relevent cell but it doesn't seem to be working. I'm also hoping to be able to pull specific staff memebers details (either daily or weekly attendence) by selecting their name from a drop down list (cell A8).

    I have heard that a pivot table could be used in this regard however I have been unable to get one to work. Is this possible with a formula instead?

    Any help you can give would be appreciated. I have attached an example of the spreadsheet.
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Summary/Report sheet for an annual leave/attendance register

    Hi, welcome to the forum

    I see your thread has 154+ views and no responses This tells me that members are not really sure what you want (dont know why they didnt ask)

    I will see how far I can get on this for you.

    1. Try and avoid the use of merged cells, they cause problems with forumlas
    2. Perhaps if you included some expected answers, it would help, too
    3. It looks like you have all your CF rules in twice? (probably from copy/paste?)
    4. What codes count towards attendance?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    08-29-2018
    Location
    Uk
    MS-Off Ver
    10
    Posts
    4

    Re: Summary/Report sheet for an annual leave/attendance register

    Hi,

    Thanks for replying.

    I honestly have no idea why the CF rules are in twice but I can fix that fairly easily.

    I have amended the spreadsheet to give an idea of what I'm hoping to be able to do.

    On the summary sheet I'm want to be able to select a member of staff from the drop down list in cell A8, in cell B8 select a date and then in Cell C8 it should show the staff members status on that date; eg. 'In', 'A/L etc.

    I would also like to be able to select a particular week or even month and see the average% attendance; but I have no idea where to start. For example if the month or week was entered in cell A2 or A5 it should give the result in B2 or B5.

    I've included the list of which codes count towards what on the summary sheet.

    Thanks
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Summary/Report sheet for an annual leave/attendance register

    Much better, thanks

    Try this...
    =INDEX('Shift 1'!C6:AI65,MATCH(Summary!$A$8,FTAOEStaff,0),MATCH(Summary!$B$8,'Shift 1'!$C$5:$AI$5,0))

    The % you want (for either week or month), would that be for the individual selected in A8, or for all members?

  5. #5
    Registered User
    Join Date
    08-29-2018
    Location
    Uk
    MS-Off Ver
    10
    Posts
    4

    Re: Summary/Report sheet for an annual leave/attendance register

    That's amazing thank you!

    The weekly or monthly % was going to be for all staff (to check if a member of staff can book any time off) but if it's possible to do it for the individual as well that would be great.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Summary/Report sheet for an annual leave/attendance register

    This will count the "attended" for the staff member in A8 for the week entered
    =SUM(COUNTIFS(INDEX('Shift 1'!C6:AI165,MATCH($A$8,'Shift 1'!A6:A65,0),),{"In","BH","DD","Deputy","Mentoring","Meeting","NWD","Training"},'Shift 1'!$C$5:$AI$5,">="&Summary!A2,'Shift 1'!$C$5:$AI$5,"<="&Summary!A2+5))

    If you use real months instead of just the word (you can format it to just show "Jan", then you could use the same approach for the month total

    Im guessing that for the %, you would just divide my formula by 5?

  7. #7
    Registered User
    Join Date
    08-29-2018
    Location
    Uk
    MS-Off Ver
    10
    Posts
    4

    Re: Summary/Report sheet for an annual leave/attendance register

    Seems to work fine but it turns out I didn't need to include details about the individual. The overall % for week and month are all we need.

    You've been a great help here, thank you!

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Summary/Report sheet for an annual leave/attendance register

    Happy to help

    I havnt opened your file again, but I seem to recall you had a summary with % at the bottom of your table - could you pull the total % from that?
    Either that, or try removing the reference to a name from my formula?

+ 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. [SOLVED] formula to add sickness/annual leave in sheet
    By dougers1 in forum Excel General
    Replies: 21
    Last Post: 04-09-2016, 06:49 AM
  2. Replies: 0
    Last Post: 10-14-2015, 12:53 PM
  3. create employee attendance annual summary sheet
    By Giri.hb in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 10-31-2014, 09:24 AM
  4. Convert Detailed Time Attendance report from Biometrics to Summary Report
    By firescorpio in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-02-2013, 02:48 AM
  5. Sick leave annual leave minutes spreadsheet
    By News12kim in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-22-2013, 03:28 AM
  6. Replies: 1
    Last Post: 05-18-2011, 10:46 PM
  7. How do you calc half day annual leave on a xls spread sheet using.
    By RGayle_Imperial in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-08-2005, 05:06 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