Build a TDS Calculator in Excel (Section, Rate, Threshold and PAN Check)

Build a TDS Calculator in Excel (Section, Rate, Threshold and PAN Check) featured illustration

📎 This article includes 1 downloadable practice file ↓

⏱ 4 min readUpdated 12 October 2026

Accounts teams deduct TDS on contractor bills, professional fees, commission and rent every week. Doing it from memory leads to wrong rates, missed thresholds and interest later. A small Excel calculator driven by one rate table makes it consistent, and when the rates change you update the table, not fifty formulas.

In this article
  1. Step 1: the section master
  2. Step 2: the payments sheet
  3. Step 3: rate lookup
  4. Step 4: does TDS apply? (threshold test)
  5. Step 5: no PAN means a higher rate
  6. Step 6: summary for the challan and return
  7. Checks worth adding
  8. Where people go wrong
  9. Practice
  10. Continue learning

Important: the rates and thresholds below are examples to show the method. TDS rules change in Budgets; check the current rates on the Income Tax Department’s website or with your tax adviser before using any figure.

Advertisement

Step 1: the section master

On a Sections sheet, one row per section, as a Table named Sec:

Section Nature Rate (individual/HUF) Rate (others) Single-payment threshold Yearly threshold
194C Contractor 1% 2% 30,000 1,00,000
194J Professional fees 10% 10% 50,000 50,000
194H Commission 2% 2% 20,000 20,000
194I Rent (building) 10% 10% 50,000 6,00,000

(Example values; some sections have only one kind of threshold, so the same figure sits in both columns.)

Step 2: the payments sheet

Columns: Vendor, Section, Payee type (Individual / Company / Firm), PAN available (Yes/No), Amount, Paid earlier this year. Use Data Validation drop-downs for Section and Payee type so nobody types “194-C”.

Step 3: rate lookup

=IF([@Type]="Individual",
    XLOOKUP([@Section], Sec[Section], Sec[Rate Ind]),
    XLOOKUP([@Section], Sec[Section], Sec[Rate Oth]))

Step 4: does TDS apply? (threshold test)

For many sections, TDS applies when a single payment crosses one limit or the year’s total crosses another:

=OR([@Amount] > XLOOKUP([@Section], Sec[Section], Sec[Single]),
    [@Amount] + [@[Paid earlier]] > XLOOKUP([@Section], Sec[Section], Sec[Yearly]))

Kumar Builders’ ₹45,000 bill crosses the ₹30,000 single limit, so TDS applies even though the yearly total is under ₹1 lakh.

Step 5: no PAN means a higher rate

Where the payee has not given a PAN, the law requires a higher rate (commonly 20%, or the normal rate if that’s higher). Build it in:

Applied rate: =IF([@PAN]="No", MAX(20%, [@Rate]), [@Rate])
TDS:          =IF([@Applies], ROUND([@Amount] * [@[Applied rate]], 0), 0)
Net payable:  =[@Amount] - [@TDS]
💡 TDS is calculated on the amount excluding GST when GST is shown separately on the invoice. Keep a “Taxable amount” column if your bills include GST.

Step 6: summary for the challan and return

=SUMIFS(Pay[TDS], Pay[Section], "194C")
=SUMIFS(Pay[TDS], Pay[Section], "194C", Pay[Date], ">=" & DATE(2026,10,1), Pay[Date], "<=" & DATE(2026,10,31))
=COUNTIFS(Pay[PAN], "No")

A pivot with Section in rows and month in columns gives the deposit amounts at a glance. Deposit deadlines and return due dates are on the TRACES/Income Tax portals.

Checks worth adding

  • PAN format check with Data Validation (5 letters, 4 digits, 1 letter); see data validation.
  • The fourth character of a PAN shows the holder type (P individual, C company, F firm, H HUF). Compare it with your Payee type column: =MID(PAN,4,1).
  • Flag vendors close to a yearly threshold so the next bill isn’t missed.

Where people go wrong

Mistake Consequence
Rates typed inside formulas Budget changes need every formula edited
Ignoring earlier payments in the year Yearly threshold missed
TDS on the GST-inclusive amount Over-deduction
No-PAN vendors at normal rate Short deduction and notices later

Practice

Download the practice workbook below. It has an example section table and 8 vendor payments. Each task has an automatic ✓ check, and the Answers sheet has a working formula if you get stuck.

See also: GST calculations in Excel.

⚡ Interactive Practice Lab & Formula Tester:

Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.

📎 Practice files for this article

  • 📗
    TDS calculator practice workbookAn example section table and 8 vendor payments: look up rates, test thresholds, apply the no-PAN rate and total by section, with checks.
    ⬇ XLSX · 15 KB

Free to use for learning. Files with macros (.bas) are plain text — import them with Alt+F11 → File → Import File, and always test on a copy.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong