Start with the basics of a formula
Every formula in Excel or Google Sheets starts with an equals sign. Type = and then the calculation, such as =B2*C2 to multiply the value in B2 by the value in C2. The result updates whenever those cells change, which is what makes a spreadsheet more useful than a calculator.
Small-business work uses a short list of functions over and over. You don’t need to learn them all at once. Start with the ones that match a task you do every week, such as totaling sales, working out a price, or checking what a customer still owes.
Totaling sales and expenses
SUM adds a range of cells: =SUM(B2:B50). Once your sales or expenses are sorted into categories, conditional totals do the sorting for you. SUMIF adds up only the rows that meet one condition, and SUMIFS handles several conditions at once. If you need the total for one category, start with how to use sumif in excel. For a category and a month together, the same idea extends to sumifs with multiple criteria in excel.
Counting works the same way. COUNTIF and COUNTIFS count the rows that match, which is handy for counting orders or jobs in a period.
Keep one row per transaction and use the same category names every time. A stray space at the end of one name can drop that row out of a total without any warning.
Pricing, markup and sales tax
Pricing is where small mistakes add up. Markup and margin both express profit as a percentage, but markup divides by cost and margin divides by the selling price, so the two percentages differ. Before you set a price from a percentage, check which one your rule uses. Markup vs margin formula in excel walks through both.
Sales tax is a percentage added to a price. Multiply the price by the rate to get the tax, or by 1 plus the rate to get the total. Which items are taxable, and at what rate, depends on where you sell, so check those rules with your tax authority or an accountant. The formulas themselves are simple, and the sales tax formula in excel setup is covered step by step in its own guide.
Prices and tax amounts are normally kept to the cent. Wrapping a result in ROUND(value, 2) does that, and the reasons it matters are covered in round to nearest cent in excel.
To compare this month with last month, the calculation is (new − old) ÷ old, formatted as a percent. A percentage change formula in excel handles the cases that break a basic version, such as a starting value of zero.
Looking up prices and customers
When you need one value from a list, such as the price for a product code, a lookup does the job. VLOOKUP searches the first column of a table and returns a value from another column. It has a catch with exact matches, so read how to use vlookup step by step before you rely on it for a live price list.
XLOOKUP is simpler for most cases and is available in current versions of Excel and Google Sheets. The basics are in how to use xlookup in excel.
Dates, deadlines and payments
Excel stores dates as numbers, so date arithmetic works with ordinary formulas and a few date functions. EDATE adds whole months, which is useful for renewal and payment dates; see how to add months to a date in excel. To count the days between an invoice date and a payment date, subtract one from the other. How to count days between two dates in excel covers the details, including the edge cases.
If you’re comparing loan offers, PMT estimates the regular payment on a fixed-rate loan. Treat the result as a rough figure, because fees and other terms can change the real cost. For a worked example, see the pmt function excel loan payment steps.
Commissions, balances and budgets
Some calculations combine several of these ideas. A commission that rises with sales can be built from a small rate table, and tiered commission formula in excel sets out two common approaches. A ledger that shows the balance after each transaction uses one formula copied down the rows, explained in running balance formula in excel. To compare what you planned to spend with what you actually spent, budget vs actual formula in excel lays out the variance and percent-used columns.
When a formula shows an error
An error code is a clue, not a verdict. #VALUE! usually means a text entry where a number was expected. How to fix #value error in excel lists the usual causes. If you can’t tell how a formula reached its result, the Evaluate Formula tool on the Formulas tab steps through it one part at a time. How to use evaluate formula in excel shows the steps.
Habits that save time
- Put rates, prices and dates in their own labeled cells instead of typing them into formulas. When a rate changes, you change one cell.
- Use
$to fix a reference that should not move when you copy a formula, such as$C$1for a tax rate. - Test a new formula on one row you can check by hand before you copy it down a whole column.
- Save a copy of the file before large changes.
Google Sheets and Excel
Most functions in this guide work the same way in Google Sheets. Two differences come up often. In some regional settings, formulas use semicolons instead of commas to separate arguments, and newer functions may be missing from older versions of either program. When a formula behaves differently from what you expect, check the version and the separator first.
Keep the formulas simple
Long, nested formulas are hard to check. If a formula is getting hard to read, split it across helper columns, each with one job. The result is easier to audit, and anyone who opens the file later can see what each step does.