+ Reply to Thread
Results 1 to 26 of 26

Creating attendance tracker

  1. #1
    Forum Contributor
    Join Date
    10-14-2013
    Location
    INDIA
    MS-Off Ver
    EXCEL 2013
    Posts
    143

    Creating attendance tracker

    Hi
    With the enclosed excel file, we can create attendance sheet 12 months and for limited years. Can anybody help me to create this excel file as any year calendar that too all the months in a single sheet and year as its tab name. Also weekly holiday to be changed as 2nd Sat, 4th Sat and all Sundays.
    Advance thanks
    Buvanamali
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: Creating attendance tracker

    Deleted by JT
    Last edited by JohnTopley; 09-18-2021 at 08:13 AM.

  3. #3
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,712

    Re: Creating attendance tracker

    Hi Buvanamali,

    Try below code ... I have attached a file as well
    Please Login or Register  to view this content.
    Attached Files Attached Files
    If I was able to help, you can thank me by clicking the * Add Reputation under my user name

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: Creating attendance tracker

    Added a formula offering with VBA to change the Tab name

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    10-14-2013
    Location
    INDIA
    MS-Off Ver
    EXCEL 2013
    Posts
    143

    Re: Creating attendance tracker

    Dear Mr Nankw83

    Thank you very much for your kind and quick response. When I ran your macro it created a file horizontally for 365 days and the days above date didn’t change. However, I had shown my requirement in Sheet1, for your ready response. Also please note to shade 2nd Sat, 4th Sat and all Sundays as Week end holidays.
    Thank you Sir once again.

    Buvanamali
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: Creating attendance tracker

    For February you have omitted the Name, ID,PF columns: is this correct?

    And the Saturday weekends every other week i.e, 2nd, 4th, 6th... Saturdays

    Will the formula solution (modified to your latest post) in post #4 be OK ?

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: Creating attendance tracker

    And do the Saturday holidays go over months?

    So for this year, Jjan 7 & 21 / Feb 7 & 21 etc ?

    See shhet 2021 of attached: Saturday holidays not yet allowed for
    Attached Files Attached Files
    Last edited by JohnTopley; 09-18-2021 at 12:17 PM.

  8. #8
    Forum Contributor
    Join Date
    10-14-2013
    Location
    INDIA
    MS-Off Ver
    EXCEL 2013
    Posts
    143

    Re: Creating attendance tracker

    Dear Mr John Topley
    Thanks you very much for kind and quick response. I had erroneously omitted to include Name, ID, PF ID etc. in subsequent months. What you have presented in Sheet 2021 is only my expectation. Here it is up to April only. But it should be for the whole year. Besides these, for all the months, the Second Saturday, Fourth Saturday and all Sundays are to be shaded as Week Ends.
    But one more correction, in the month Feb, days are not coming between 16th and till end.
    My humble request is to have vba solution rather than formula solution because every year we have to make borders manually. Further it will be more user friendly.
    Also I bring to your notice that the example file attached in your post #7, when you change the year in the column B1 (drop down list), it doesn’t have any effects in the monthly rows below it.
    Thank you Sir once again.
    Buvanamali

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: Creating attendance tracker

    Looking at a complete VBA solution but meanwhile can you check Saturday weekends marked with RED fill above each Saturday are as required. (year 2025).

    And I don't agree with your observation about change: once a year has been created it will be constant for ALL years with the exception of leap ears with an extra column for Feb 29th. (which could be left for all years!)

    So all borders are fixed UNLESS the number of personnel change: VBA does not address this.

    Simple copy a sheet, select the year and no further work is required.
    Attached Files Attached Files
    Last edited by JohnTopley; 09-19-2021 at 03:02 AM.

  10. #10
    Forum Contributor
    Join Date
    10-14-2013
    Location
    INDIA
    MS-Off Ver
    EXCEL 2013
    Posts
    143

    Re: Creating attendance tracker

    Dear Mr John Topley
    Thanks for your immediate response. I verified your attachment with the post #9 which addresses the dropdown years also. With regard to my another requirement, you had marked 2nd Sat and 4th Sat in the months Jan, Feb and in March only 2nd Sat as RED not 4th Sat. I request you to mark all the 2nd and 4th Sat as holiday besides Sunday.
    You may extend this rule upto Dec for any year.han
    Thanks in advance
    Buvanamali

  11. #11
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: Creating attendance tracker

    The point of the post was just to confirm that the LOGIC was correct.

    As the months are separate "blocks" of data, the logic is a little more complex than having a single (year) row. Using formulae or VBA, you need separate CFs for each range (block).

  12. #12
    Forum Contributor
    Join Date
    10-14-2013
    Location
    INDIA
    MS-Off Ver
    EXCEL 2013
    Posts
    143

    Re: Creating attendance tracker

    Dear JohnTopley

    I confirm your logic and idea is correct. You can go ahead further. I need only result whatever the mode be.
    Buvanamali

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,773

    Re: Creating attendance tracker

    OT - are you still using Excel 2013? If not, please update your forum profile.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  14. #14
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Creating attendance tracker

    Pl see file.
    Validation applied to C2 for selection of year.
    Validation list can be shifted to other range.
    Formula for CF. Select D3:NE12.

    =OR(WEEKDAY(D$4,2)=7,AND(WEEKDAY(D$4,2)=6,DAY(D$4)>7,DAY(D$4)<15),AND(WEEKDAY(D$4,2)=6,DAY(D$4)>21,DAY(D$4)<29))

    Sunday, 2nd Saturday and $th Saturday will be Blue.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  15. #15
    Forum Contributor
    Join Date
    10-14-2013
    Location
    INDIA
    MS-Off Ver
    EXCEL 2013
    Posts
    143

    Re: Creating attendance tracker

    Quote Originally Posted by AliGW View Post
    OT - are you still using Excel 2013? If not, please update your forum profile.
    Mam
    Still I am using 2013 only

  16. #16
    Forum Contributor
    Join Date
    10-14-2013
    Location
    INDIA
    MS-Off Ver
    EXCEL 2013
    Posts
    143

    Re: Creating attendance tracker

    Dear Mr KvSrinivasamurthy

    Thanks for your response. Your file created all the 12 months at a stretch. But my intention is to create the months attendance at a gap of 20 rows between two months in the same sheet shall be appended below. For your immediate reference, you may refer to the attachment in the post #9. However I thank you once again for your kind response and solution.

    Thanks Sir once again.

    Buvanamali

  17. #17
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Creating attendance tracker

    Pl see file . 12 months with CF one below other.
    Attached Files Attached Files

  18. #18
    Forum Contributor
    Join Date
    10-14-2013
    Location
    INDIA
    MS-Off Ver
    EXCEL 2013
    Posts
    143

    Re: Creating attendance tracker

    Dear Mr KS Srinivasamurthy

    Really very nice job. Thank you once again. But I noticed some discrepancies. The Calendar from April to October stopped with Date 28, for Nov it shows 31 days and Dec with 28 days. But for the above errors, all are Ok. If the above one is rectified everything is OK.

    Thank you once again.

    Buvanamali

  19. #19
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Creating attendance tracker

    Corrections are done. Pl see file.
    Attached Files Attached Files

  20. #20
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: Creating attendance tracker

    VBA version ..

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by JohnTopley; 09-19-2021 at 05:37 PM.

  21. #21
    Forum Contributor
    Join Date
    10-14-2013
    Location
    INDIA
    MS-Off Ver
    EXCEL 2013
    Posts
    143

    Re: Creating attendance tracker

    Dear Mr KS Srinivasamurthy

    Thanks Sir. It works Fine. Once again thanks.
    Have a nice day.

    Buvanamali

  22. #22
    Forum Contributor
    Join Date
    10-14-2013
    Location
    INDIA
    MS-Off Ver
    EXCEL 2013
    Posts
    143

    Re: Creating attendance tracker

    Dear Mr John Topley

    Thank you Sir for support and for having spared your precious time on my request. Thank you once again.

    I found some errors in CF with regard to Second Saturday and Fourth Saturday. I am enclosing a separate excel sheet showing the errors for the years 2021 – 2025.
    Except these, all other things are working fine.

    Advance thanks

    Buvanamali
    Attached Files Attached Files

  23. #23
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: Creating attendance tracker

    Errors occur because my assumption on 2/4 was that there was a continuum over the year rather than within individuals months so you could simply apply KVS's CF formula,

  24. #24
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Creating attendance tracker

    Thanks for feedback.

  25. #25
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: Creating attendance tracker

    CF amended
    Attached Files Attached Files

  26. #26
    Forum Contributor
    Join Date
    10-14-2013
    Location
    INDIA
    MS-Off Ver
    EXCEL 2013
    Posts
    143

    Re: Creating attendance tracker

    Dear M/s John Topley and KVS

    Thank you very much to both of you for your excellant contribution. I have marked the thread as solved.

    Once again thanks

    Buvanamali

+ 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. Creating Attendance Tracker
    By goudavnash.b in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-03-2020, 01:20 PM
  2. [SOLVED] Need help creating an attendance sheet with a "point" tracker
    By ahurst12 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-15-2018, 12:04 AM
  3. Replies: 3
    Last Post: 12-20-2017, 06:21 PM
  4. Need Help Creating Bar coded Attendance tracker
    By jazwill89 in forum Excel General
    Replies: 1
    Last Post: 07-17-2014, 10:00 AM
  5. Creating an attendance tracker, Help
    By jsquarity in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-25-2014, 12:01 PM
  6. Need help with creating an attendance tracker.
    By ksmith8128 in forum Excel General
    Replies: 1
    Last Post: 02-26-2014, 12:49 AM
  7. [SOLVED] Creating a Dynamic Attendance Tracker with Additional Data Items
    By Caleb952 in forum Excel General
    Replies: 3
    Last Post: 01-12-2013, 01:41 AM

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