# Put names into proper case

=PROPER(name)

If you need to clean up names that are not in a proper case, you can use a simple formula based on PROPER functions.

In the example the formula in C5 is:

=PROPER(B5)

### How this formula works

The PROPER function automatically reformats text so that all words are capitalized. At the same time, it lowercases all other text.

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.

## Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.