Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

7 Excel Function Techniques Beyond SUM and VLOOKUP

Use COUNT, AVERAGE, MIN/MAX, SUMIF, SUBTOTAL, XLOOKUP and INDEX/MATCH correctly, with clear examples and common range, filter and matching pitfalls.

Table of Contents

Beyond SUM and VLOOKUP, learn how to count numbers, calculate averages, summarize filtered rows and perform exact-match lookups. The examples below use English function names and commas; some regional settings use semicolons between arguments. Test each formula on a small range before applying it to a full workbook.

1. COUNT: count numeric cells

7 Excel Functions You Should Learn Besides SUM and VLOOKUP Picture 1
=COUNT(A1:A10)

This returns the number of numeric cells in the range, not the number of nonempty cells. Numbers stored as text in referenced cells are not counted as numbers. Dates are counted because Excel stores valid dates numerically.

Use COUNTA to count nonempty cells when that is the intended question, or COUNTIF to count values meeting one condition. Check blanks and text rather than assuming a ten-cell range must return 10.

2. AVERAGE: calculate the arithmetic mean

7 Excel Functions You Should Learn Besides SUM and VLOOKUP Picture 2
=AVERAGE(A1:A10)

AVERAGE adds the numeric values and divides by the count of those numbers. For 10, 20, 30 and 40, the result is 25. In a referenced range, blanks and text are ignored, but zero is included. Decide whether a missing entry should remain blank or genuinely count as zero; the choice changes the result.

3. MIN and MAX: find the range limits

7 Excel Functions You Should Learn Besides SUM and VLOOKUP Picture 3
=MIN(A1:A10)
=MAX(A1:A10)

MIN returns the smallest numeric value and MAX the largest. For 10, 20, 30 and 40, they return 10 and 40. These functions return values, not the cells or records containing them. If you need the associated customer or date, a lookup or filter is a separate step.

4. SUMIF: add values meeting one condition

7 Excel Functions You Should Learn Besides SUM and VLOOKUP Picture 4
=SUMIF(A1:A10, ">50")

This adds numbers in A1:A10 that are greater than 50. When the criterion belongs to another column, supply a separate sum range:

=SUMIF(A2:A10, "Travel", B2:B10)

The second example checks category labels in column A and sums the corresponding amounts in B. Keep the ranges aligned and the same size. Use SUMIFS for multiple conditions; its sum range comes first, unlike SUMIF. Excel's conditional minimum and maximum functions are MINIFS and MAXIFS, not MINIF and MAXIF.

For more troubleshooting, see common SUMIF errors.

5. SUBTOTAL: summarize filtered data

7 Excel Functions You Should Learn Besides SUM and VLOOKUP Picture 5
=SUBTOTAL(9, A1:A10)
=SUBTOTAL(109, A1:A10)

Both formulas sum the range and exclude rows removed by a filter. The difference concerns manually hidden rows: 9 includes them, while 109 excludes them. The 1–11 function codes include manually hidden rows; the corresponding 101–111 codes exclude them. Neither group includes filtered-out rows.

SUBTOTAL also ignores nested SUBTOTAL results to help avoid double-counting. It is designed primarily for vertical ranges; hiding a column is not the same as hiding a row. See Microsoft's SUBTOTAL reference.

6. XLOOKUP: separate the lookup and return ranges

7 Excel Functions You Should Learn Besides SUM and VLOOKUP Picture 67 Excel Functions You Should Learn Besides SUM and VLOOKUP Picture 77 Excel Functions You Should Learn Besides SUM and VLOOKUP Picture 87 Excel Functions You Should Learn Besides SUM and VLOOKUP Picture 97 Excel Functions You Should Learn Besides SUM and VLOOKUP Picture 10
=XLOOKUP(D1, A2:A5, B2:B5, "Not found")

If A2:A5 contains customer IDs and B2:B5 contains names, this returns the name for the ID in D1. XLOOKUP defaults to exact matching and can return from a column on either side of the lookup range. The optional fourth argument supplies a result when no match exists; it does not hide every possible formula error.

Duplicate IDs normally return the first match in the default search direction. Clean inconsistent ID types and check uniqueness when the workbook expects one customer per ID. XLOOKUP is available in supported newer Excel editions but not Excel 2016 or 2019; verify availability for other spreadsheet applications rather than assuming they all lack it. Consult Microsoft's XLOOKUP guide.

7. INDEX with MATCH: an exact-match alternative

7 Excel Functions You Should Learn Besides SUM and VLOOKUP Picture 11
=INDEX(B2:B5, MATCH(D1, A2:A5, 0))

MATCH locates the ID's position in A2:A5, using 0 for an exact match. INDEX returns the value at that position in B2:B5. Keeping the two ranges aligned is essential.

MATCH's approximate modes have sorting requirements: 1 assumes ascending order and finds the largest value less than or equal to the lookup; −1 assumes descending order and finds the smallest value greater than or equal to it. Do not omit the match type casually in an ID lookup.

INDEX/MATCH can be wrapped in IFNA for an expected missing-match result, so it is incorrect to say it has no error-handling options. Our formula-testing examples include useful boundary cases: no match, duplicates, blanks and inconsistent types.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.