The Excel formulas for office work that cover most daily tasks are SUM, ROUND, IF, COUNTIF and COUNTIFS, SUMIF and SUMIFS, a lookup (VLOOKUP, XLOOKUP or INDEX with MATCH), date functions such as EOMONTH and NETWORKDAYS.INTL, TEXT, TRIM and SUBTOTAL. Learn their exact syntax, lock ranges with $ when copying, and test each formula on a few rows you can check by hand. Below is the most used formulas list with examples from Indian offices: GST, attendance, marksheets and invoices.
| Point | Position |
|---|---|
| Totals | =SUM(E2:E31); visible rows only: =SUBTOTAL(109,E2:E500) |
| Conditions | =IF(C2>=33,"Pass","Fail") |
| Count and sum with conditions | COUNTIFS and SUMIFS (sum range first) |
| Lookups | VLOOKUP with FALSE (all versions); XLOOKUP (Microsoft 365, Excel 2021, 2024, web) |
| Rounding | =ROUND(x,0) changes the stored value; formatting only hides decimals |
| Working days | =NETWORKDAYS.INTL(start,end,11,holidays) for a Sunday-only weekly off |
| Copying formulas | Lock fixed cells with $ (press F4) |
Excel formulas for office work: the core list with examples
1. SUM and AutoSum. =SUM(E2:E31) adds a range. Press Alt+= under a column to insert it.
2. ROUND. =ROUND(B2*C2,2) gives GST to the paisa; =ROUND(x,0) gives whole rupees. If a salary sheet pays whole rupees, round in the formula, so the column total matches the bank transfer.
3. Percentages. GST on a taxable value: =ROUND(B2*$H$1,2) with the rate in H1. Taxable value from a GST-inclusive price: =ROUND(B2/(1+C2),2). For ₹590 inclusive of 18%, that gives ₹500, not ₹483.80.
4. IF, AND, OR. =IF(C2="","",IF(C2>=33,"Pass","Fail")) handles blanks first. =IF(AND(F2<TODAY(),G2<>"Paid"),"Overdue","") flags unpaid bills past their due date. Text goes in quotes; numbers do not.
5. IFS (Excel 2019 and later, Microsoft 365): =IFS(C2>=90,"A",C2>=75,"B",C2>=60,"C",TRUE,"D"). Put the highest band first and end with TRUE as the catch-all.
6. COUNTIF and COUNTIFS. Days present in an attendance row: =COUNTIF(C5:AG5,"P"). Half days as half: =COUNTIF(C5:AG5,"P")+0.5*COUNTIF(C5:AG5,"HD"). Lucknow invoices of ₹10,000 or more: =COUNTIFS(D2:D500,"Lucknow",E2:E500,">=10000").
7. SUMIF and SUMIFS. Unpaid amount of one customer: =SUMIFS(E2:E500,C2:C500,"Gupta Stores",F2:F500,"Unpaid"). In SUMIF the sum range comes last; in SUMIFS it comes first. Using SUMIFS always avoids the mix-up.
Lookups, dates and cleaning formulas
8. VLOOKUP. =VLOOKUP(A2,Products!$A$2:$D$200,4,FALSE). Always type FALSE: without it VLOOKUP uses approximate match and can return a wrong rate with no error.
9. XLOOKUP (Microsoft 365, Excel 2021, Excel 2024, Excel for the web, Google Sheets): =XLOOKUP(A2,Products!$A$2:$A$200,Products!$D$2:$D$200,"Not found"). Exact match by default, and it can look left.
10. INDEX and MATCH (every version): =INDEX(Products!$D$2:$D$200,MATCH(A2,Products!$A$2:$A$200,0)). The 0 means exact match.
11. Dates. Month-end: =EOMONTH(A2,0). Days in that month: =DAY(EOMONTH(A2,0)). Probation end after six months: =EDATE(A2,6). Age in completed years: =DATEDIF(B2,TODAY(),"y").
12. Working days. =NETWORKDAYS(start,end,holidays) treats Saturday and Sunday as off. For a six-day office, =NETWORKDAYS.INTL(start,end,11,holidays) treats only Sunday as off. For October 2026 with 2 October as a holiday, the six-day count is 26.
13. TEXT. ="Salary for "&TEXT(A2,"mmmm yyyy") gives “Salary for October 2026”. The result is text, so keep the real date in its own column.
14. TRIM and PROPER. =PROPER(TRIM(A2)) removes extra spaces and fixes capitals, so “sharma traders ” and “Sharma Traders” stop counting as two customers.
15. IFNA and IFERROR. =IFNA(VLOOKUP(...),"Not found") catches only missing lookups. IFERROR hides every error, including real mistakes, so use it sparingly.
Learn this properly, with a certificate. Modules 2 and 3 of the Excel and AI course teach these formulas with worked Indian examples, Module 4 covers pivot tables and dynamic arrays, and Module 6 builds a GST register, attendance tracker and salary sheet with a formula cheat sheet. Excel and AI for Office Work, ₹299: self-paced lessons, module quizzes and a 30-question final test; pass at 60% for a verifiable Lexfolio certificate.
The one idea that fixes most broken formulas: $ references
When you copy =B2*H1 down, it becomes =B3*H2, pointing at an empty cell. Lock the fixed cell: =B2*$H$1. Click on the reference in the formula bar and press F4 to cycle between B2, $B$2, B$2 and $B2. Better still, convert your list to an Excel table (Ctrl+T) and use column names such as =SUM(Invoices[Invoice Total]), which keep working as rows are added.
Which Excel version do you have?
Open File, then Account, and look under Product Information. SUM, IF, COUNTIFS, SUMIFS, VLOOKUP, INDEX, MATCH, NETWORKDAYS and pivot tables work in all versions in use. IFS needs Excel 2019 or later. XLOOKUP, FILTER, SORT and UNIQUE need Microsoft 365, Excel 2021, Excel 2024 or Excel for the web. A function your version lacks shows #NAME?.
Common mistakes
- Amounts typed as “5000/-” or “Rs. 5,000”: they are text and are left out of sums.
- Percentages typed as 75 instead of 75%:
=IF(G2<75,...)then flags everyone. - Formatting to 0 decimals and assuming the value is rounded.
- Copying an AI-suggested formula without testing it on known rows.
Frequently asked questions
What are the most used Excel formulas for office work?
SUM, ROUND, IF, COUNTIF(S), SUMIF(S), VLOOKUP or XLOOKUP, INDEX with MATCH, EOMONTH, NETWORKDAYS.INTL, TEXT, TRIM and SUBTOTAL handle most registers, reports and salary sheets. Learning these with exact syntax covers most office tasks.
Which Excel formulas are asked in office job interviews?
Common tests include VLOOKUP with exact match, SUMIFS with two conditions, COUNT versus COUNTA, nested IF for grades, and absolute references. Be ready to explain why a formula works, not just type it.
What is the difference between COUNT and COUNTA?
COUNT counts only cells containing numbers or dates. COUNTA counts every non-empty cell, including text such as “AB” for absent.
Why does my formula give #N/A?
Usually a lookup could not find the value, often because of a hidden space or a number stored as text. Clean the data with TRIM or convert types, and check that VLOOKUP ends with FALSE.
Quick quiz
Q1. A price is ₹1,050 including 5% GST. Which formula gives the taxable value?
=1050-1050*5%=1050/(1+5%)=1050*95%=1050*5%
Show answer
Answer: B. Divide by (1 + rate): 1,050 / 1.05 = 1,000.
Q2. What happens if you leave out the last argument of VLOOKUP?
- It returns an error
- It uses approximate match
- It uses exact match
- It looks left
Show answer
Answer: B. Approximate match on an unsorted list can return a wrong value silently.
Q3. In NETWORKDAYS.INTL, which weekend code treats only Sunday as off?
- 1
- 7
- 11
- 17
Show answer
Answer: C. Code 11 is Sunday only; 1 is Saturday and Sunday; 17 is Saturday only.
Sources
- Microsoft Support documentation: SUMIFS, COUNTIFS, VLOOKUP, XLOOKUP, INDEX, MATCH, NETWORKDAYS.INTL, EOMONTH, TEXT and ROUND functions
- Microsoft Support: availability of XLOOKUP and dynamic array functions by Excel version
Practise every formula with templates: Excel and AI for Office Work certificate course.
This page is for education and general information, not legal advice for a specific case. Law as on 29 October 2026.