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.
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.
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
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.
I can't open the screenshot.I have uploaded the screenshot.
And I asked for a excel file we can't do anything with a screenshot, this isn't a photoshop forum
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.
Thank you for your help.
I am attaching my excel workbook book with this post.
Last edited by Harman2015jit; 12-13-2023 at 12:26 PM.
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.
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.
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.
Any layout will work. i am not using any code. only %age of P,A on master.
Thank you!
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.
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.
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.
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?
Are you using the correct language for the names of the months?
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.
when i change month, it right way shows me error.
Attachment 852967
here is the attachment
Dear Harman2015 jit
now its working fin9 i attached the workbook as same please find the sample workbook
Attachment 853017
Thank you Sudbhanvi
It still coming with errors. this is the screenshit of master and saved data sheets.
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
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.
The formulas in cells E7:J7 must be :
![]()
Please Login or Register to view this content.
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.
I changed the month names in month numbers
Do you get now the same error?
Yes its the same error!
Do you have any errors in the 'Helper' tab?
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
Last edited by sudbhavani; 12-21-2023 at 01:50 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks