In the example the formula in C5 is: If you also need to strip out extra spaces in the names, you can wrap PROPER in the TRIM function: This will strip any leading and trailing spaces, and convert runs of spaces to a single space.

Dave Bruns

Hi - I’m Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.