Skip to content
Human Maximizer Logo
← Back to blogs

Payroll

Stop Manual Errors: The Salary Sheet Format in Excel That Works

How to build an error-free salary sheet format in Excel. Discover essential columns, automated formulas for deductions, and tax compliance...

Chandan Watts avatar

Chandan Watts

Technical Product Manager, Human Maximizer (Razor Infotech) · 15 min read ·

Salary Sheet Format in Excel

A salary sheet format almost never breaks on arithmetic. It breaks on the employee who joined on the 12th. We build Payroll software at Human Maximizer, which means we are handed a lot of Excel workbooks at the moment a company decides to stop using them, and the SUM formulas in those files are nearly always fine. The damage sits in the rows someone had to improvise.

Picture the payroll desk at an electronics assembler in Noida, a few days before salary credit. Someone is copy-pasting last month's row for a new hire and overwriting the figures by hand. They are also trying to remember whether the ESI threshold is tested against gross or basic, while the managing director waits for the cash outflow report. That firm is our own invention, built to hold three real problems in one frame. Those three problems do arrive together, every month.

This guide covers the columns, the formulas and the deductions. It spends most of its words on the parts other templates skip: part-month employees, exits, payslips and file security.

Why Most Salary Sheets Fail: One Gross Column, Two Questions

Every Indian statutory deduction asks two separate questions. Is this employee covered? And if so, on what amount? Coverage is answered from the salary the employee is entitled to for a full month. The amount is answered from what they earned this month.

Salary sheet format — An office worker feeling overwhelmed by disorganized payroll data and manual tasks

A sheet with a single gross salary column can answer only one of those questions. For eleven months nobody notices, because the fixed and earned figures are identical. Then someone joins mid-month, takes ten days of unpaid leave, or resigns on the 9th. The two numbers split, and the formula quietly picks the wrong one.

So the layout we recommend rests on two ideas. Keep fixed and earned amounts in separate column groups. And organise the workbook by how often things change, which we call the Change-Clock layout:

Tab Changes when Holds
Rates The law or a notification changes PF rate and ceiling, ESI rate and threshold, PT slabs by state
Master A person joins, leaves or gets a revision Identity details, fixed salary structure, coverage flags
Month Every payroll run Payable days, earned amounts, deductions, net pay

No rate is ever typed inside a formula. When a threshold changes, you edit one cell.

The Salary Sheet Format in Excel, Column by Column

Format the Month tab as an Excel table (Ctrl+T) so formulas fill down automatically and refer to column names instead of cell addresses. A working monthly salary sheet needs these groups, left to right:

Group Columns
Identity Emp Code, Name, Designation, Department, Work State, Date of Joining, Last Working Day, UAN, ESIC number
Attendance Days in Month, LOP Days, Payable Days
Fixed Fixed Basic, Fixed HRA, Fixed Allowances, Fixed Gross
Earned Earned Basic, Earned HRA, Earned Allowances, Arrears and Overtime, Earned Gross
Deductions PF, ESI, PT, TDS, Loan or Advance Recovery, Total Deductions
Result Net Pay, Payment Date, Hold or Remarks

Employee Code is the key that everything else hangs on. Names get misspelt and duplicated. Codes do not.

The Work State column looks optional until your second branch opens, because professional tax follows the state of work. Uttar Pradesh is among the states that levy none, so a Noida head office with a sales team elsewhere needs the column from day one.

If you also use this file as your salary register format for inspections, check it against the wage register prescribed under the rules that apply in your state. Broadly, a wage register expects each employee's identity and designation, rate of wages, days worked, overtime, gross wages, each deduction itemised, net amount paid and the date of payment. The layout above carries all of them.

Payable Days is the one input that should never be typed from memory. It belongs to your attendance record, whether that is a muster roll or an Attendance Management system, and it should be frozen before the run starts.

Gross to Net: The Formulas That Carry the Sheet

The chain is short. Fixed components are prorated into earned components, earned components add up to gross, deductions are subtracted, and what remains is net pay.

Two colleagues collaborating to bridge the gap between gross salary and net pay.

Proration, for each earning (with DaysInMonth as a named cell):

=ROUND([@[Fixed Basic]] * [@[Payable Days]] / DaysInMonth, 0)

Earned gross:

=SUM([@[Earned Basic]]:[@[Arrears and Overtime]])

Net pay:

=[@[Earned Gross]] - [@[Total Deductions]]

Two decisions matter more than the syntax. The first is the proration basis. Calendar days, a fixed 30 or a fixed 26 are all in use, and each gives a different answer for the same employee. Pick one, write it in the Rates tab, and never vary it by row.

The second is rounding. Round every component the same way, or the payslip total and the bank file will disagree by a rupee and you will spend an hour finding it.

One structural point belongs here too. The Code on Wages expects basic pay to be at least half of total remuneration, which limits how far allowances can be stretched to shrink basic salary. Our guide to new wage code salary restructuring works through what that does to a CTC breakup.

Automating Statutory Deductions: PF, ESI, PT and TDS

PF deduction

The employee's PF contribution is 12% of basic plus DA, and ₹15,000 a month of basic plus DA is the statutory wage ceiling for the employer's liability. Put both values in the Rates tab as PF_Rate and PF_Ceiling. If your policy restricts contributions to the ceiling, the formula is:

=IF([@[PF Applicable]]="Y", ROUND(MIN([@[Earned Basic]], PF_Ceiling) * PF_Rate, 0), 0)

Add earned DA inside the MIN if you pay it. If your company contributes on full basic, remove the MIN. Note the formula reads Earned Basic, not Fixed Basic.

ESI deduction

This answers the question from the opening: ESI applies against a monthly gross wage threshold of ₹21,000. Gross, not basic.

Here the two-column design earns its keep. Coverage is a flag in the Master tab, tested on Fixed Gross:

=IF([@[Fixed Gross]] <= ESI_Threshold, "Y", "N")

The contribution is then computed on what was earned:

=IF([@[ESI Covered]]="Y", ROUNDUP([@[Earned Gross]] * ESI_Rate, 0), 0)

Keep ESI_Rate as a cell holding the employee rate currently notified by ESIC. ESIC also works in six-month contribution periods, and an employee whose wages cross the threshold partway through keeps contributing until that period ends. That is why coverage is a stored flag you review at the start of each period, not a live formula. Not every allowance counts as ESI wages, so confirm your component list against ESIC's definition.

Professional tax and TDS

Professional tax is a state slab lookup. The Constitution caps it at ₹2,500 a year under Article 276, and some states charge a different amount in one month to stay inside that cap. Build a slab table per state in the Rates tab and use an approximate-match lookup:

=XLOOKUP([@[Earned Gross]], PT_Slabs[From], PT_Slabs[Monthly PT], 0, -1)

TDS does not belong in a one-cell formula. It depends on projected annual income, the regime the employee chose and declarations still to come. Compute it in a separate tax working per employee and pull the monthly figure into the sheet.

Handling Messy Payroll: Mid-Month Joiners and Full and Final

The joiner on the 12th

Full and Final Settlement Components — Individual line items for exit settlements

Let the dates do the work. With MonthStart and MonthEnd as named cells:

=MAX(0, MIN(IF([@[Last Working Day]]="", MonthEnd, [@[Last Working Day]]), MonthEnd) - MAX([@[Date of Joining]], MonthStart) + 1 - [@[LOP Days]])

For someone joining on the 12th of a 30-day month, that returns 19 payable days. Nobody overwrites anything.

Now the trap, as illustrative arithmetic. A new hire on a fixed gross of ₹30,000 earns 30,000 × 19 ÷ 30 = ₹19,000 in that first month. A single-column sheet sees ₹19,000, finds it below the ESI threshold, and deducts ESI from an employee who was never covered. Next month the deduction vanishes and the employee asks why. With coverage flagged on Fixed Gross, the error cannot occur.

Full and final settlement

Do not run an exit as a row in the monthly sheet. It has components the monthly run never sees, so give it its own tab with one line per component:

  • Unpaid salary for days worked, using the same payable-days logic
  • Leave encashment, taken from the closing balance in your Leave Management record
  • Gratuity where the employee qualifies: under the Payment of Gratuity Act, 15 days' wages × completed years ÷ 26, after five years of continuous service, with the service condition waived on death or disablement
  • Notice pay or notice recovery, plus any loan or asset recoveries

The Code on Wages sets an expectation that dues are settled within two working days of the last working day. That leaves little room for a sheet rebuilt from scratch each time. Our FFS full form in salary explainer covers each settlement component in detail.

Linking the Master Sheet to Automated Payslips

A payslip is a view of one row. Build a Payslip tab with a single input cell, say C2, holding the Employee Code as a dropdown through Data Validation. Every other field is a lookup against the Month table:

=XLOOKUP($C$2, Month[Emp Code], Month[Net Pay])

On older Excel versions, INDEX with MATCH does the same job. Change the code and the whole slip redraws. Because nothing is typed onto the slip, it cannot disagree with the sheet.

For bulk output, Word's mail merge reads the Month table directly and produces one slip per employee. Sending each as a password-protected PDF needs a macro or a separate tool, because Excel does not do it natively. For the fields a slip must carry, see our walkthrough of the salary slip format in India.

Payroll Security: Protecting Sensitive Employee Data

Most Excel payroll failures are data failures: a deleted file, a corrupted one, two versions edited in parallel, or the wrong person opening it. The common mistake is treating sheet protection as security. It is a guard against accidental overwrites and nothing more.

Payroll Data Security Best Practices — Protecting sensitive employee information in Excel

What does protect the file:

  • Encrypt the workbook itself through File, Info, Protect Workbook, Encrypt with Password
  • Lock formula cells and leave only input columns editable
  • Keep full bank account numbers and PAN in a separate restricted tab, since they are personal data under the Digital Personal Data Protection Act, 2023
  • Name one owner per month and save a dated, read-only copy after payout

Never email the working file. Share the payslip and keep the register. Past a certain size, access control by role is easier in an Employee Data Management system than in a shared folder.

Monthly Reconciliation: Control Totals Before Payout

Checking rows by eye does not scale. At roughly 30 seconds a row, a 200-employee sheet takes 200 × 30 = 6,000 seconds, or 100 minutes, for one pass. That pass finds typos, not logic errors. Adjust the rate to your own team and the conclusion still holds.

Control totals take minutes and catch more:

Check What must tie
Headcount Last month's rows + joiners − exits = this month's rows
Gross movement Change in total gross = sum of named events: joiners, exits, revisions, LOP, arrears
PF PF column total = ECR total, filed and paid by the 15th of the following month
ESI ESI column total and covered headcount = ESIC challan
Net pay Net Pay total and row count = bank upload file

If gross moved and you cannot name the event, stop the payout.

The workbooks we inherit during migrations show the same thing each time. The formulas rarely fail first. The dates, flags and leave counts feeding them do. Teams that close cleanly freeze inputs early and treat the exceptions as the real work. The burden also grows faster than headcount once each branch sends inputs its own way.

Where a Spreadsheet Stops Being the Right Tool

Excel is a sound choice for a small, single-state team with stable salaries. It strains in three places.

Revisions are the first. A sheet overwrites the old basic, so nobody can show what an employee was paid on in March. Multi-state professional tax is the second, because slab tables multiply. Exits are the third, since each one is a hand-built calculation under a tight deadline.

In Human Maximizer, the joiner on the 12th is handled as an exception by design. The date of joining lives in the employee record, and attendance syncs to payroll without re-entry. Each salary component is defined once as a fixed amount, a share of basic or gross, or a formula. Professional tax slabs for every state are built in. A CTC change creates a new revision and preserves the old one. An exit runs as its own FNF batch through Draft, Approved, Processing and Completed, with every component on its own line.

An internal review covering 24 clients, completed in July 2026, found monthly payroll corrections fell from 15 to 3 after the move.

The honest limit is that software computes what you configure. A wrong date of joining or a wrong coverage decision flows through just as faithfully as a right one. Tax declarations and disputed notice recoveries still need a person, and sometimes a Chartered Accountant.

Frequently Asked Questions

What is the standard format for a monthly salary sheet?

There is no single mandated Excel layout. A sound sheet carries employee identity, payable days, fixed and earned salary components, itemised deductions (PF, ESI, professional tax, TDS, recoveries) and net pay with the payment date. If it doubles as your wage register, match it to the register format prescribed under your state's rules.

How do I calculate PF and ESI in Excel?

PF is the employee rate applied to earned basic plus DA, wrapped in MIN if your policy restricts it to the statutory ceiling. ESI is the notified employee rate applied to earned gross, but only for employees flagged as covered. Set the flag from the fixed monthly gross, not the prorated amount.

How do I calculate net pay after deductions?

Net pay is earned gross minus total deductions. Earned gross is each fixed component prorated by payable days, plus arrears and overtime. Round every component the same way so the payslip and the bank file agree.

How do I generate salary slips from a master sheet?

Create a payslip tab with one Employee Code input cell and make every other field an XLOOKUP against the monthly table. Changing the code redraws the slip. For bulk slips, use Word mail merge with the sheet as the data source.

Conclusion: The Row That Joined on the 12th

Go back to that new hire. In a sheet built this way, nobody copy-pastes the row. The date of joining produces 19 payable days, the earned columns prorate themselves, and the ESI flag reads the fixed gross and stays off. The cash outflow report is one total that already ties to the bank file. We think of that as the real test of a salary sheet format: what happens on the rows that are not ordinary.

The same test applies when the sheet is outgrown. PF dues fall on the 15th of the following month whether or not the workbook opened cleanly. If you want the joiner on the 12th to be a date field instead of a rescue job, talk to the Human Maximizer team.


About the Author & Reviewer

Chandan Watts — Technical Product Manager, Human Maximizer (Razor Infotech)
Chandan Watts is Technical Product Manager at Razor Infotech, building the Human Maximizer HR platform. After years leading customer-experience and team operations at JindalX and Radical Minds, he focuses on how teams actually work day to day — and how small workflow gaps quietly slow an entire team down.
Connect on LinkedIn

Reviewed & approved by Sameer Hameed — Founder & Chairman, Razor Infotech
Sameer Hameed is the Founder & Chairman of Razor Infotech, where he is guiding the creation of Human Maximizer. An entrepreneur across technology, real estate, mining and travel, he builds organisations on clarity, trust and responsible growth — on the belief that businesses grow only when the people behind them grow.
Connect on LinkedIn

Human Maximizer is built by Razor Infotech in New Delhi, India (founded 2019). About Human Maximizer.

  • Salary Certificate Format Banks Accept

    Payroll

    Salary Certificate Format Banks Accept

    The essential components of a professional salary certificate format. Learn when employees need one and how to automate issuance using Human...

    15 min read
  • Salary Slip Format in India

    Payroll

    Salary Slip Format in India

    How to structure your payroll for transparency and compliance. Learn the essential components required in a professional salary slip format in India.

    16 min read
  • FFS Means

    Payroll

    FFS Means

    FFS Means: How to streamline your full and final settlement process in India. Learn to calculate terminal benefits accurately while ensuring...

    14 min read