How to make an automated attendance sheet in excel with formula(2019) (V2.0)
Creating Helper Sheet
Creating Attendance Sheet
Create a new sheet and rename it as Attendance.
1) Creating Attendance Header
a) In A1 type Attendance for the Month of then select cell from A1 to L1 and click on Merge & Center2) Creating Dates
b) In cell D2 type the formula =DATEVALUE("1"& M1&R1) and on I2 type the formula =EOMONTH(D2,0).
c) Format the cell D2 and I2 to short date.
3) Creating Employee ID and Names
a) Merge the cells A5 and A6 and type Emp ID.
b) Merge the cells B5 and B6 and type Employee Name.
c) Then type the Employee ID and Employee Name as shown in the image below.
4) Creating Date Row & Day Row
b) In cell D6, type the formula =IF(C5<$I$2,C6+1,""), then drag the fill handle of D5 till AG column.
c) Select the column from C to AG and change the column width to 3.5.
d) In C5 type the formula =TEXT(C5,"ddd"), then drag the fill handle of C4 till AG column.
5) Create Report Heads
b) Type Full Day Present in AH5, Full Day Absent in AI5, Half Day in AJ5, Work Days in AK5, Pr. Percent in AL5, Ab. Percent in AM5.
6) Creating Holiday Helper Row
b) Drag the fill hand of cell C4 till the last date.
7) Highlight Weekend with Conditional Formatting
b) Select Use a formula to determine which cells to format
c) in Edit the Rile Description box type the formula =OR(C$5="sun")
Hint: If you want both Sat & Sun as Weekend then =OR(C$5="sat",C$5="sun")
d) Then click Format and choose the formatting according to your choice, then OK and again OK.
e) Select the Attendance area and repeat the same step.
8) Highlight Holidays with Conditional Formatting
b) Select Use a formula to determine which cells to format
c) in Edit the Rile Description box type the formula =COUNTIF(Holidays,C$6)
d) Then click Format and choose the formatting according to your choice, then OK and again OK.
e) Select the Attendance area and repeat the same step.
9) Do the rest of the formatting according to your choice or watch the video given at the top.
10) Data Validation to Restrict cell for attendance entry
11) Formula for Report Part
12) Create buttons for COPY SHEET & CLEAR SHEET
13) Creating VBA Macro for Copy Sheet
14) Create VBA Macro for Clear Sheet
15) Assigning Macros to the buttons
a) Right-click on the COPY SHEET button and click Assign Macro then the macro copyrenameworksheet
b) Right-click on the COPY SHEET button and click Assign Macro then the macro Clearcells
c) Click OK
If you face any problem you can watch the video at the top and you can also comment me if you did not find the solution to your problem.
That's All
16 Comments
Its a great work done by you can i get this sheet for myself ..
ReplyDeleteI am not that much good in excel so that y i need this attendance sheet ,, thank you
This is excellent. I would like a copy. Thanks!
ReplyDeleteExcellent work, I need project file
ReplyDeleteFound a problem as,suppose in February manoj & sanjay Full day present but In March They are absent. in this list when click February Then show Manoj "P" & Sanjoy "P" but when click March Same Show...Don't change anything....how to solve these???
ReplyDeleteOne of the excellent tutorials, that I have seen so far.
ReplyDeletei need project file
ReplyDeletehow to change the year in next tab
ReplyDeletei need a copy it would be very helpful
ReplyDeletethank
ReplyDeleteTHIS GREAT WORK I LOVE TO LEARN THIS
ReplyDeleteIts a great very useful work done by you.can i get this sheet for myself .and it's very thankful for you because i am not that much good in excel so that's why i request this attendance sheet.
ReplyDeletethank you.
i need this sheet for personal use please send link
ReplyDeletewonderful best of best thank you
ReplyDeleteGreat!
ReplyDeleteWoW! I need this right now.
ReplyDeleteWonderful I need it now please
ReplyDelete