10 spreadsheet formulas every small business should know
November 13, 2026 · The ONOSOO team
You do not need to be a spreadsheet expert to run a small business, but a handful of formulas will save you hours every month. They add up sales, check stock, flag late payments and stop silly mistakes before they spread.
The ten formulas below work in most spreadsheet apps, including Excel, Google Sheets and LibreOffice Calc, with small differences noted where they matter. Each example uses this simple sales sheet:
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Date | Customer | Item | Qty | Amount |
| 2 | 2026-11-02 | Sita Traders | Rice 25kg | 2 | 4,800 |
| 3 | 2026-11-02 | Walk-in | Oil 1L | 5 | 1,375 |
| 4 | 2026-11-03 | Sita Traders | Sugar 1kg | 10 | 1,100 |
| 5 | 2026-11-04 | Hari Store | Rice 25kg | 1 | 2,400 |
1. SUM: add up a column
=SUM(E2:E5)
Result: 9,675, the total sales. Put it at the bottom of the column, and it updates whenever you add a row inside the range.
2. AVERAGE: find the typical value
=AVERAGE(E2:E5)
Result: 2,418.75, the average sale. Useful for seeing whether a typical order is growing over time. Be careful with blank cells and zeros: blanks are ignored, but a zero counts and pulls the average down.
3. ROUND: tidy the result
Money rarely needs more than two decimal places, and sometimes none.
=ROUND(AVERAGE(E2:E5), 0)
Result: 2,419. Note that formatting a cell to show fewer decimals only hides them; the full number is still used in later sums. ROUND actually changes the value, which keeps invoices and totals consistent.
4. IF: make a simple decision
IF checks a condition and returns one value if it is true and another if it is false.
=IF(E2>=2000, "Large", "Small")
For row 2 this returns Large. A common use is a stock sheet:
=IF(C2<10, "Reorder", "OK")
where C2 is the quantity in stock. Filter the column for “Reorder” and you have your shopping list.
5. SUMIF: total by category or customer
SUMIF adds only the rows that match a condition. This is the formula that turns a long list into a useful summary.
=SUMIF(B2:B5, "Sita Traders", E2:E5)
Result: 5,900, everything Sita Traders bought. Replace the name with a cell reference, such as G2, and you can build a small table of totals for every customer. SUMIFS (with an S) lets you add more than one condition, such as customer and month.
6. COUNTIF: count how often something happens
=COUNTIF(C2:C5, "Rice 25kg")
Result: 2, the number of sales of that item. COUNTIF is also good for checks, such as counting how many invoices are marked “Unpaid”:
=COUNTIF(F2:F100, "Unpaid")
7. VLOOKUP and XLOOKUP: fetch a value from another table
Suppose you have a price list on a second sheet called Prices, with item names in column A and prices in column B. To pull the price for the item in C2:
=VLOOKUP(C2, Prices!A:B, 2, FALSE)
The 2 means “return the second column” and FALSE means “exact match only”. Always use FALSE for names and codes; leaving it out can return the wrong row without any warning.
Newer versions of Excel and Google Sheets also offer XLOOKUP, which is easier to read and does not depend on column numbers:
=XLOOKUP(C2, Prices!A:A, Prices!B:B)
If your spreadsheet app has XLOOKUP, it is the better choice. If you share files with people on older software, VLOOKUP is the safer one.
8. IFERROR: replace ugly errors with something useful
When a lookup cannot find a match, it shows an error such as #N/A. That error then spreads into every total that uses it. IFERROR catches it:
=IFERROR(XLOOKUP(C2, Prices!A:A, Prices!B:B), "Not in price list")
Use it carefully. Hiding an error is helpful when the gap is expected, but it can also hide a real mistake, such as a misspelt item name. A clear message is better than a blank or a zero.
9. TODAY: work with the current date
=TODAY()
This returns today’s date and updates each time the sheet opens. Combined with a due date, it becomes useful. If G2 holds an invoice due date:
=TODAY()-G2
gives the number of days overdue, and
=IF(TODAY()>G2, "Overdue", "")
flags late invoices automatically. Note that spreadsheet date functions work with AD dates. If you record BS dates for local use, keep an AD date column alongside for calculations.
10. TEXT: format numbers and dates for display
TEXT turns a number or date into text in the format you choose. It is useful for labels and messages.
=TEXT(A2, "mmm yyyy")
returns Nov 2026, which is handy for grouping sales by month. You can also build a sentence:
="Total due: Rs " & TEXT(SUM(E2:E5), "#,##0")
returns Total due: Rs 9,675. Keep in mind that the result is text, so you cannot add it up afterwards. Use TEXT for display, not for further calculation.
A few habits that prevent mistakes
- Keep raw data and summaries apart. One sheet for the list of sales, another for totals.
- Use whole-column ranges carefully.
E:Eis convenient, but a stray number further down will be included. - Do not type over formulas. If a total looks wrong, fix the data, not the total.
- Check one result by hand when you first write a formula. If it is right for one row, it is usually right for all.
Every formula above also works in the Sheets app in ONOSOO, if you want your figures next to your notes and tasks.
Learn one or two of these a week and use them on your real records. Within a month, the spreadsheet stops being a list and starts answering your questions.