This makes the solution “dynamic” if any of these values are changed, results update immediately.

More substitutions

More rows can be added to the table to handle more find/replace pairs.

Each time a pair is added, the formula needs to be updated to include the new pair.

Line breaks added in formula bar for readability and maintenance

Alternately, you could use aproper Excel Tablefor dynamic ranges, instead of named ranges.

For example, the formula on this page shows how toclean and reformat telephone numbers.

you’re able to use INDEX to retrieve individual values, or entire rows and columns.

Line breaks added in formula bar for readability and maintenance

The MATCH function is often used together with INDEX to provide row and column numbers….

Line breaks added in formula bar for readability and maintenance

Line breaks added in formula bar for readability and maintenance

Line breaks added in formula bar for readability and maintenance

Excel formula: Clean and reformat telephone numbers

Excel formula: Strip non-numeric characters

Excel formula: Strip numeric characters from cell

Excel SUBSTITUTE function

Excel INDEX function