+ Reply to Thread
Results 1 to 27 of 27

Making a Attendance sheet entry dynamic

  1. #1
    Registered User
    Join Date
    12-12-2023
    Location
    Toronto, Canada
    MS-Off Ver
    o365
    Posts
    12

    Question Making a Attendance sheet entry dynamic

    I am working on making a attendance sheet dynamic. I have moths in drop down and year in dropdown list.?*

    so when I change month from dropdown and year, It should show that month present, absent in the sheet.?*

    If anyone can help it.

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,693

    Re: Making a Attendance sheet entry dynamic

    shows us your excelfile you already made.
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Registered User
    Join Date
    12-12-2023
    Location
    Toronto, Canada
    MS-Off Ver
    o365
    Posts
    12

    Re: Making a Attendance sheet entry dynamic

    Attachment 852332

    I have uploaded the screenshot.

    My dates are dynamic, it will show Mondays according to choose month year from drop down.

    I want to enter attendance , and I want it be there, when I change month or year it shows that month.

  4. #4
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,693

    Re: Making a Attendance sheet entry dynamic

    I have uploaded the screenshot.
    I can't open the screenshot.
    And I asked for a excel file we can't do anything with a screenshot, this isn't a photoshop forum

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,321

    Re: Making a Attendance sheet entry dynamic

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  6. #6
    Registered User
    Join Date
    12-12-2023
    Location
    Toronto, Canada
    MS-Off Ver
    o365
    Posts
    12

    Re: Making a Attendance sheet entry dynamic

    Thank you for your help.

    I am attaching my excel workbook book with this post.
    Attached Files Attached Files
    Last edited by Harman2015jit; 12-13-2023 at 12:26 PM.

  7. #7
    Valued Forum Contributor
    Join Date
    08-31-2007
    Location
    SW Ireland
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2311 Build 16.0.17029.20068) 32-bit
    Posts
    540

    Re: Making a Attendance sheet entry dynamic

    Just to ensure my understanding of how the workbook is to be used- you want to enter a 1 or 0 in the Master sheet to indicate 'Present' or 'Absent'. Then these are to be saved somewhere (please indicate where?). If the month or year is changed at the top of that sheet, any saved data for the new month / year is then to be displayed for each employee- is that the basic idea?
    Excel 365 user. To unblock a downloaded macro-enabled workbook, go to your "Downloads" folder > right click on the workbook name > click 'Properties' > check the 'Unblock' checkbox. You can now open the workbook.

  8. #8
    Registered User
    Join Date
    12-12-2023
    Location
    Toronto, Canada
    MS-Off Ver
    o365
    Posts
    12

    Re: Making a Attendance sheet entry dynamic

    Yes, as my month and year are from drop down list, and all Mondays are dynamically come when i select from drop down.
    from master sheet i wanted to mark attendance P - present, A- Absent. H-sick or holiday. then i want that entry to be there, when i change month and year from drop down. and i can have all record.

    again thank you very much for your help.

  9. #9
    Valued Forum Contributor
    Join Date
    08-31-2007
    Location
    SW Ireland
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2311 Build 16.0.17029.20068) 32-bit
    Posts
    540

    Re: Making a Attendance sheet entry dynamic

    How do you plan to layout the Database worksheet- for example, attached image 1 shows one possible approach and image 2 shows another layout. The layout has implications for any coding. If you've attempted some coding, you should also upload same.
    Attached Images Attached Images

  10. #10
    Registered User
    Join Date
    12-12-2023
    Location
    Toronto, Canada
    MS-Off Ver
    o365
    Posts
    12

    Re: Making a Attendance sheet entry dynamic

    Any layout will work. i am not using any code. only %age of P,A on master.

    Thank you!

  11. #11
    Valued Forum Contributor
    Join Date
    08-31-2007
    Location
    SW Ireland
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2311 Build 16.0.17029.20068) 32-bit
    Posts
    540

    Re: Making a Attendance sheet entry dynamic

    Here's a VERY rough workbook. You'll likely need to modify it to make it more flexible but maybe you have enough here t see what changes are required.

    There's a 'Save data' button on the Master sheet. When you've added attendance data for a time period, click it and the result are saved on the 'Saved data' sheet.
    If you change the month or year on the Master sheet, any existing data for the new month and year is copied from the 'Saved data' sheet to the Master sheet.
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    12-12-2023
    Location
    Toronto, Canada
    MS-Off Ver
    o365
    Posts
    12

    Re: Making a Attendance sheet entry dynamic

    Thank you very much!

    It seems like year drop down is freezes and I cant change years.

    when i change months, old entry still stays in the attendance sheet.

    I really appreciate that you tried.

  13. #13
    Valued Forum Contributor
    Join Date
    08-31-2007
    Location
    SW Ireland
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2311 Build 16.0.17029.20068) 32-bit
    Posts
    540

    Re: Making a Attendance sheet entry dynamic

    The data validation was wrong for the years- fixed in attached. I also updated the code to clear cell content when the month or year is changed.
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    12-12-2023
    Location
    Toronto, Canada
    MS-Off Ver
    o365
    Posts
    12

    Re: Making a Attendance sheet entry dynamic

    Thank you,
    But issue still persist, when i change month and year from drop down, the data which is filled as P and A's still stays same. It should be refresh when i change month or year. for months i enter should be same, but for new months, it should be blank to accept entries. Plus, when change month or year, all Mondays shows #NAME error?
    My Dates comes as error #NAME?

  15. #15
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,693

    Re: Making a Attendance sheet entry dynamic

    Are you using the correct language for the names of the months?

  16. #16
    Valued Forum Contributor
    Join Date
    08-31-2007
    Location
    SW Ireland
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2311 Build 16.0.17029.20068) 32-bit
    Posts
    540

    Re: Making a Attendance sheet entry dynamic

    It definitely works on the copy uploaded in post #13

    Two possible fixes:

    1. Do you enable macros when the workbook opens? You might see a yellow bar just beneath the ribbon which says something like 'Enable content'. That needs to be done for the data to be updated because the whole process is driven by macros.

    2. You might also need to 'unblock' the Excel workbook (a Microsoft security measure for macro enabled workbooks downloaded from the web)- to unblock the workbook, go to your "Downloads" folder > right click on the file > click 'Properties' > check the 'Unblock' checkbox. You can now open the workbook.

  17. #17
    Registered User
    Join Date
    12-12-2023
    Location
    Toronto, Canada
    MS-Off Ver
    o365
    Posts
    12

    Re: Making a Attendance sheet entry dynamic

    when i change month, it right way shows me error.
    Attachment 852967
    here is the attachment
    Attached Images Attached Images

  18. #18
    Valued Forum Contributor
    Join Date
    02-04-2017
    Location
    chennai
    MS-Off Ver
    MS OFFICE 365
    Posts
    440

    Re: Making a Attendance sheet entry dynamic

    Dear Harman2015 jit

    now its working fin9 i attached the workbook as same please find the sample workbook
    Attachment 853017
    Attached Files Attached Files

  19. #19
    Registered User
    Join Date
    12-12-2023
    Location
    Toronto, Canada
    MS-Off Ver
    o365
    Posts
    12

    Re: Making a Attendance sheet entry dynamic

    Thank you Sudbhanvi
    It still coming with errors. this is the screenshit of master and saved data sheets.
    Attached Images Attached Images

  20. #20
    Valued Forum Contributor
    Join Date
    02-04-2017
    Location
    chennai
    MS-Off Ver
    MS OFFICE 365
    Posts
    440

    Re: Making a Attendance sheet entry dynamic

    dear Harman2015jit

    i am getting result correctly kindly check the attachment and what is your requirement of second attachment

    Screenshot 2023-12-20 103030.png
    Attached Files Attached Files

  21. #21
    Registered User
    Join Date
    12-12-2023
    Location
    Toronto, Canada
    MS-Off Ver
    o365
    Posts
    12

    Re: Making a Attendance sheet entry dynamic

    It supposed to show only Monday of selected month and year from drop down, and if you check in your screenshot, all dates are incorrect, it shows 00 in dates.

  22. #22
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,693

    Re: Making a Attendance sheet entry dynamic

    The formulas in cells E7:J7 must be :
    Please Login or Register  to view this content.

  23. #23
    Registered User
    Join Date
    12-12-2023
    Location
    Toronto, Canada
    MS-Off Ver
    o365
    Posts
    12

    Re: Making a Attendance sheet entry dynamic

    Hi Popipipo,

    I have entered the formula E7:J7 =
    Helper!$K3
    =Helper!$K4
    =Helper!$K5
    =Helper!$K6
    =Helper!$K7
    =Helper!$K8

    It shows right dates form January 2023, but when i change to feb,2023. My Dates again gives me #NAME error.

  24. #24
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,693

    Re: Making a Attendance sheet entry dynamic

    I changed the month names in month numbers
    Do you get now the same error?
    Attached Files Attached Files

  25. #25
    Registered User
    Join Date
    12-12-2023
    Location
    Toronto, Canada
    MS-Off Ver
    o365
    Posts
    12

    Re: Making a Attendance sheet entry dynamic

    Yes its the same error!
    Attached Images Attached Images

  26. #26
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,693

    Re: Making a Attendance sheet entry dynamic

    Do you have any errors in the 'Helper' tab?

  27. #27
    Valued Forum Contributor
    Join Date
    02-04-2017
    Location
    chennai
    MS-Off Ver
    MS OFFICE 365
    Posts
    440

    Re: Making a Attendance sheet entry dynamic

    its working fi9 to me Some functions and features may vary between different versions of Excel. Make sure the function or feature you're using is supported in your version of Excel.

    please find the screenshot
    Attachment 853240
    Attached Images Attached Images
    Last edited by sudbhavani; 12-21-2023 at 01:50 AM.

+ 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 a student attendance sheet with automated attendance
    By ChesterTank in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-18-2023, 03:57 AM
  2. Making sheet name dynamic
    By Rahul15292000 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-13-2019, 11:40 PM
  3. index-match with dynamic 'sheet' entry
    By nielsb in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-07-2018, 10:09 AM
  4. Making an Attendance Sheet
    By Mohamed Fahim in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 05-19-2018, 01:21 AM
  5. [SOLVED] dynamic graph that uses first entry as last after set number of entry's
    By Maddart in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 03-28-2017, 09:03 AM
  6. Attendance tracker - Dynamic
    By madhu4excel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-30-2014, 07:23 PM
  7. Replies: 2
    Last Post: 11-01-2013, 01:46 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