Forum Discussion

Sogbouma's avatar
Sogbouma
Copper Contributor
Feb 20, 2022
Solved

How to change case of first word in a cell in Excel

Hello All,
How do I change the case of only the first name in a cell in Excel without affecting other names? 
For example, I have

John Jacobs Doe in a cell, and I want to change only JOHN to UPPERCASE, how do I do it?

5 Replies

  • Riny_van_Eekelen's avatar
    Riny_van_Eekelen
    Platinum Contributor

    Sogbouma If you want "John" to be replaced by "JOHN" in the same cell, you'll need VBA, I guess. Not my kind of thing. If you can add a column to hold the new name, try this:

    On a modern Excel version you could use the LET function to make it more compact.

Resources