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

5 Excel Formula Upgrades—and When to Keep the Older Functions

Use practical XLOOKUP, IFS, TEXTJOIN, FILTER, UNIQUE, and text-splitting examples while checking compatibility, spill ranges, and edge cases.

Table of Contents

Newer Excel functions can simplify lookups, conditional formulas, text joining, and dynamic lists. They do not make older functions wrong. Choose a replacement when it improves the formula and works in every Excel version that needs to open the workbook.

Check compatibility before replacing formulas

XLOOKUP, FILTER, and UNIQUE are available in modern Excel editions, while TEXTSPLIT, TEXTBEFORE, and TEXTAFTER require newer releases such as Microsoft 365 or Excel 2024. Microsoft explicitly says XLOOKUP is unavailable in Excel 2016 and 2019. Check each function's documentation and test on the recipient's version.

Examples below use commas as argument separators. Your regional settings may require semicolons.

1. Use XLOOKUP for a clearer exact-match lookup

5 Old Excel Functions You Should Stop Using Picture 1

5 Old Excel Functions You Should Stop Using Picture 2

5 Old Excel Functions You Should Stop Using Picture 3

Suppose A2:A100 contains product codes, B2:B100 contains prices, and E2 contains the code to find:

=VLOOKUP(E2,A2:B100,2,FALSE)
=XLOOKUP(E2,A2:A100,B2:B100,"Not found")

Both examples seek an exact match. XLOOKUP separates the search range from the return range, so the return column can also be to the left. It avoids a hard-coded column index and provides a built-in not-found result.

The ranges must align. Duplicate keys return the first match by default; decide whether that is appropriate. Do not replace an intentionally approximate VLOOKUP with a default exact-match XLOOKUP without reviewing the logic.

2. Use IFS for several ordered conditions

5 Old Excel Functions You Should Stop Using Picture 4

5 Old Excel Functions You Should Stop Using Picture 5

For a score in A2, these examples assign a band:

=IF(A2>=90,"High",IF(A2>=70,"Medium","Low"))
=IFS(A2>=90,"High",A2>=70,"Medium",TRUE,"Low")

IFS returns the result for the first TRUE test. Put the highest threshold first here; reversing the order would classify a score of 95 as Medium. The final TRUE supplies a fallback. Without a matching condition, IFS returns #N/A.

A single IF remains sensible for two outcomes. If you have many changing thresholds, a separate lookup table may be easier to maintain than a long IFS formula.

3. Use TEXTJOIN for a range with a delimiter

5 Old Excel Functions You Should Stop Using Picture 6

If A2:C2 contains first, middle, and last name fields:

=CONCATENATE(A2," ",B2," ",C2)
=TEXTJOIN(" ",TRUE,A2:C2)

TEXTJOIN inserts the space once between included values and ignores empty cells when its second argument is TRUE. It does not clean stray spaces already inside a cell. For a fixed combination of only two values, the & operator may remain perfectly readable.

4. Use FILTER and UNIQUE for live result lists

5 Old Excel Functions You Should Stop Using Picture 7

5 Old Excel Functions You Should Stop Using Picture 8

Suppose A2:C100 contains records and C2:C100 contains status values:

=FILTER(A2:C100,C2:C100="Open","No matching rows")
=UNIQUE(A2:A100)

FILTER returns matching rows. UNIQUE returns distinct entries; its optional exactly_once argument changes that to entries appearing only once. These are different definitions of “unique.”

Results spill into neighboring cells, so leave the output area clear. Fixed ranges do not automatically include data added beyond their end. Use suitable table references when the source needs to grow. Put a spilling formula outside an Excel Table's body.

Keep AutoFilter when you want to inspect the original table in place. A formula-generated list is a separate output, not a replacement for every filtering workflow.

5. Use delimiter-based text functions when positions vary

5 Old Excel Functions You Should Stop Using Picture 9

5 Old Excel Functions You Should Stop Using Picture 10

5 Old Excel Functions You Should Stop Using Picture 11

5 Old Excel Functions You Should Stop Using Picture 12

If A2 contains North-East-042, use:

=TEXTBEFORE(A2,"-")
=TEXTAFTER(A2,"-",-1)
=TEXTSPLIT(A2,"-")

The results are North, 042, and three spilled fields respectively. A negative instance number searches from the end. The match_end argument in TEXTBEFORE and TEXTAFTER treats the end of the text as a delimiter; it does not set search direction. See Microsoft's TEXTBEFORE reference.

LEFT, RIGHT, and MID remain useful for fixed-width identifiers. Delimiter functions are easier when separators define the fields. Decide how to handle missing delimiters and test those rows before filling down.

Validate the result, not just the formula

Keep a copy of the original workbook. Test blanks, duplicate keys, missing matches, threshold boundaries, and added rows. Compare totals or sample records before replacing a working formula across a large sheet.

For related cleanup, see Excel text-cleaning functions. Check the function's current Microsoft documentation for compatibility and optional arguments when adapting an older example.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.