how to automate attendance sheet

Farooqui Noor

Board Regular
Joined
Dec 31, 2019
Messages
68
Office Version
  1. 2019
Platform
  1. Windows
1) I am using Office 2013 and want to generate an automatic attendance sheet in Excel. In cell F2, I have the month written in a dropdown format. Similarly, in L2, I have the names of subjects, also in dropdown format. Below, in the table, dates and days are mentioned, and "A" is used for absent and "P" for present using a formula. However, the problem is that when I change the month in F2 or the subject in L2 using the dropdown list, the "A" and "P" disappear from the table below which is perfect. However, if I click on any cell, the previous formula is visible in the formula bar. If I delete this formula after changing the month or subject, the attendance for the previous month in that cell vanishes. Whereas, I want a fresh table for each month or each subject, where I can input daily attendance.
2) Similarly, in Sheet 3, I need to fill the summary table using formulas, detailing each subject for every student.

AUTO ATTENDANCE.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAA
1PA
2MonthSeptemberStart Date1-Sep-23SubjectTEN
3End Date30-Sep-23
4
5microsoft office 2013
6Today's Present11Total Students
7Today's Absent1
8%Total Lectures9
9
10
11Date0102030405060708091011121314151617181920
12%presentabsenttotal lecturenameFriSatSunMonTueWedThuFriSatSunMonTueWedThuFriSatSunMonTueWed
1381AlexanderPPPPAPPPP
1490OliviaPPPPPPPPP
1572EthanAPAPPPPPP
1690SophiaPPPPPPPPP
1781LiamPPPAPPPPP
1881AvaPPPPPAPPP
1981NoahPPPPPPAPP
2090IsabellaPPPPPPPPP
2190MasonPPPPPPPPP
2290MiaPPPPPPPPP
2390LucasPPPPPPPPP
2490AmeliaPPPPPPPPP
25
26
Sheet1
Cell Formulas
RangeFormula
I2I2=DATEVALUE("1"&F2&F3)
I3I3=EOMONTH(I2,0)
G6G6=COUNTIF(G13:G24,"p")
G7G7=COUNTIF(G13:G25,"a")
J8J8=COUNTA(G13:Z13)
G11G11=I2
H11:Z11H11=IF(G11<$I$3,G11+1)
G12:Z12G12=TEXT(G11,"DDD")
C13:C24C13=COUNTIF($G13:$AK13,"p")
D13:D24D13=COUNTIF($G13:$AK13,"a")
Q13:Q24,J20:O24,J19:M19,J18:L18,J17,J16:K16,L14:M17,O13:O19,N13:N18,M13,K13:K15,J13:J14,G16:H24,G13:G14,H13:H15G13=IF(AND(TEXT(TODAY(), "mmmm") = $F$2, $L$2 = "TEN"), $B$1, "")
G15,N19,M18,K17,J15,L13G15=IF(AND(TEXT(TODAY(), "mmmm") = $F$2, $L$2 = "TEN"), $C$1, "")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
R13:AK24Expression=R$12<>""textNO
F12:AK12Expression=F$12<>""textNO
Cells with Data Validation
CellAllowCriteria
F2List=Sheet2!$A$1:$A$12
F3List2023,2024
L2List=Sheet2!$C$1:$C$6



AUTO ATTENDANCE.xlsx
ABCDEFGHIJKLMNOPQ
1
2Sr. NoRoll NoEnroll NoName of studentMEMTENMWMBEEEMESOM
3Total LectureTotal LectureTotal LectureTotal LectureTotal LectureTotal Lecture
4Lectures attendedLect attended in %Lectures attendedLect attended in %Lectures attendedLect attended in %Lectures attendedLect attended in %Lectures attendedLect attended in %Lectures attendedLect attended in %
5Alexander
6Olivia
7Ethan
8Sophia
9Liam
10Ava
11Noah
12Isabella
13Mason
14Mia
15Lucas
16Amelia
17
Sheet3
 
You're welcome. When you upgrade to 365 creating this can be easier. And I"m sure I've missed a few easier methods in this as well.
Thanks for your feed back and Best Wishes!
Sir, in this regard, I would like to request if you could provide a simpler method. If possible, could you do that? Also, it would be better if you use the following format for data entry. if possible, because following format is much easier for data entry.
Mr Excel Farooqui Noor.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACAD
1sr.no.enroll no.roll noname of studentdate1/9/20231/9/20231/9/20231/9/20231/9/20231/9/20231/9/20232/9/20232/9/20232/9/20232/9/20232/9/20233/9/20233/9/20233/9/20233/9/20233/9/20233/9/20234/9/20234/9/20234/9/20234/9/20234/9/20234/9/2023
2subjectMEMBEEMWMTENMPRDMESOMPPREENMWMBEEMEMDMESOMPPRMEMBEEMWMTENMPRDMESOMPPRSOM
31Name1PPPPPPPPPPPPPPPPPPPPPPPP
42Name2PPPPPPPAAPPPPPPPPPAPPPPP
53Name3PAPPPPPAAPPPPPPPAPAPAAPP
64Name4PPPPPAPPPPPPAAPPPPAPAAPP
75Name5PPPPPAAAPPPPAAPPPPAPAAPP
86Name6PPPPPAAAPPPPAAPPPPAPPPPP
97Name7PPPPPAAAPPPPPPPPPPPPPPPP
108Name8PPPPPPPPPPAAPPPPPPPPPPPP
119Name9PPPPPPPPPPPPPPPPPPPPPPPP
12
Sheet1
 
Upvote 0

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
I think it is very unwise to input data in worksheets that are reports and then try to get other reporting in other worksheets based on that.
And what is so hard with filtering to the day you need for the class you need and having all the students listed in front of you. And then all of that data feeds into all of your reports automatically: I could not use xl2bb on this because the hidden rows of the filter are counted as part of the html object (i am not sure if that is the correct word). But, look at this, why is this hard?

1695652671783.png
 
Upvote 0
I think it is very unwise to input data in worksheets that are reports and then try to get other reporting in other worksheets based on that.
And what is so hard with filtering to the day you need for the class you need and having all the students listed in front of you. And then all of that data feeds into all of your reports automatically: I could not use xl2bb on this because the hidden rows of the filter are counted as part of the html object (i am not sure if that is the correct word). But, look at this, why is this hard?

View attachment 99247
No worries, sir. I just wanted to say that I found the format I sent earlier to be a bit easier, so I was hoping I could do data entry in that format. But it's okay, sir. Thank you for your valuable time. I appreciate you giving me your time.
 
Upvote 0
No worries, sir. I just wanted to say that I found the format I sent earlier to be a bit easier, so I was hoping I could do data entry in that format. But it's okay, sir. Thank you for your valuable time. I appreciate you giving me your time.
If you say so. Instead of searching for the date column and class you just click the filter button. But, I understand you are comfortable with that.

- Best Wishes!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top