The following functions are useful for everyday spreadsheet tasks. The examples assume that the relevant values are stored in the indicated cells.
1. SUM — Add Financial Values
Adds numbers across a range of cells.
Example: =SUM(B2:B20)
Use it to calculate total sales, expenses, payments, or other financial amounts.
2. SUMIF — Add Values That Meet One Condition
Adds values when a specified condition is met.
Example: =SUMIF(A2:A20,"Travel",B2:B20)
Use it to calculate expenses for a particular category, such as travel.
3. SUMIFS — Add Values Using Multiple Conditions
Adds values that meet several conditions.
Example: =SUMIFS(C2:C100,A2:A100,"Sales",B2:B100,"January")
Use it to calculate January sales when column A contains transaction types, column B contains months, and column C contains amounts.
4. IF — Apply Logical Conditions
Returns one result when a condition is true and another when it is false.
Example: =IF(C2>=D2,"Paid","Outstanding")
Use it to compare an amount received with an amount due, assuming C2 contains the amount received and D2 the amount due.
5. COUNT — Count Numeric Entries
Counts cells containing numbers.
Example: =COUNT(B2:B100)
Use it to count numeric entries in a transaction amount column.
6. COUNTA — Count Non-Empty Cells
Counts cells that contain data, including text and numbers.
Example: =COUNTA(A2:A100)
Use it to count populated transaction reference or invoice cells.
7. COUNTIF — Count Entries Matching a Condition
Counts cells that meet a specified criterion.
Example: =COUNTIF(C2:C100,"Outstanding")
Use it to count invoices marked as outstanding.
8. AVERAGE — Calculate an Average
Calculates the arithmetic mean of numeric values.
Example: =AVERAGE(B2:B20)
Use it to calculate average expenses, invoice values, or transaction amounts.
9. ROUND — Round Numbers to a Specified Precision
Rounds a number to a specified number of decimal places.
Example: =ROUND(B2,2)
Use it when a calculation needs to be displayed or handled at two decimal places. Always follow the applicable accounting and rounding rules.
10. IFERROR — Handle Formula Errors
Returns an alternative result if a formula produces an error.
Example: =IFERROR(A2/B2,0)
Use it to handle errors such as division by zero. Choose an appropriate alternative result so that errors do not conceal underlying data problems.
11. XLOOKUP — Find Matching Information
Searches for a value and returns corresponding information from another range. It is available in newer Excel versions, including Microsoft 365 and Excel 2021 or later.
Example: =XLOOKUP(A2,F2:F100,G2:G100,"Not Found")
Use it to find a supplier name, invoice reference, or related amount from a lookup table.
12. VLOOKUP — Search a Table Vertically
Searches for a value in the first column of a table and returns a corresponding value from another column.
Example: =VLOOKUP(A2,F2:H100,3,FALSE)
Use it to retrieve information such as a customer name or invoice amount from a reference table. The FALSE argument requests an exact match.
13. INDEX — Return a Value From a Position
Returns a value from a specified row and, optionally, column within a range.
Example: =INDEX(B2:B100,5)
Use it to return the fifth value in a range. Combined with MATCH, it can support flexible lookups.
14. MATCH — Find the Position of a Value
Returns the relative position of a value within a range.
Example: =MATCH(A2,F2:F100,0)
Use it to locate an invoice number or other reference in a list. The 0 requests an exact match.
15. SUBTOTAL — Calculate Summaries of Filtered Data
Performs calculations such as SUM or AVERAGE on a list, with options to exclude filtered-out rows.
Example: =SUBTOTAL(9,B2:B100)
Use it to total visible transaction amounts when reviewing filtered expense or sales records. Function number 9 represents SUM; filtered rows are excluded.