Present Days
Attendance marks are in B2:AF2
Counts days marked present.
Create formulas for attendance sheets, salary deduction, overtime payment, present days, absent days, age, and HR reporting. Pick a formula and copy it into your workbook.
Attendance marks are in B2:AF2
Counts days marked present.
Attendance marks are in B2:AF2
Counts days marked absent.
Format result as percentage
Divides present days by total marked days.
=B2/C2*D2
Calculates deduction based on absent days.
=MAX(B2-C2,0)*D2
Pays only hours above standard hours.
B2 = date of birth
Returns completed age in years.
Attendance formulas work best when your sheet uses consistent marks such as P for present and A for absent. Avoid mixing full words, symbols, and blank cells unless your formulas are designed for them. For payroll, keep monthly salary, working days, absent days, overtime hours, and hourly rate in separate columns so salary deduction and overtime calculations remain easy to audit.
HR teams use COUNTIF, COUNTA, IF, DATEDIF, and arithmetic formulas to count present days, absent days, attendance percentage, overtime, salary deduction, age, and experience.
Divide present days by total marked working days and format the result as a percentage.
Yes, these common HR formulas generally work in Microsoft Excel and Google Sheets.
Search business problems like GST, profit margin, attendance, age, commission, and get the right Excel formula.
Error FixingUnderstand #N/A, #VALUE!, #REF!, #DIV/0!, #NAME?, #NUM!, and #NULL! errors with practical fixes.
DatesGenerate formulas for age, days between dates, month names, quarters, financial year, and end of month.