Jul 17 2020 05:15 PM - edited Jul 17 2020 05:16 PM
Is there a formula in Excel to convert text that has been written in capital letters e.g. "SPOCK", so that it is written as "Spock"? Or for example, "ONE TWO THREE" into "One two three".
I see that LOWER turns everything into small letters, but I do not want that, as I want just the first letter unchanged.
Thanks!
John
Jul 17 2020 05:28 PM
Solution
There's the function PROPER which could handle SPOCK, but not ONE TWO THREE because it takes each word and keeps the initial capital. But if your ONE TWO THREE is in cell G8
then =LEFT(G8,1)&LOWER(RIGHT(G8,LEN(G8)-1))
will work.
Jul 17 2020 05:31 PM
Jul 17 2020 05:45 PM
Jul 17 2020 06:30 PM
The ampersand puts text strings together. It's a short cut. There's a function called CONCATENATE that can do the same thing. Look it up. There's a lot you can do with the various text manipulation strings.
However, if you're going to be using Excel extensively, on thing I'd point out is that although you can use LEFT, MID and RIGHT to take strings apart, it's a lot easier to put separate ones together. So if you get to the point of creating databases of such things as names and addresses, always have separate fields for FNAME and LNAME (and any other related things such as PREFIX and SUFFIX). It's then easy to put them together as "Smith, John" OR "John Smith" and there will always be occasions when you want one or the other. It's also easier to sort into alphabetical order by last name.... Same with address---don't make it all one field.
Jul 17 2020 06:36 PM
For your reading pleasure: here's a reference source on all of the text manipulation functions. You can tell that I'm old school, since I read here that CONCATENATE has been replaced by CONCAT.
https://www.excelfunctions.net/excel-text-functions.html
Jul 17 2020 06:51 PM
Jul 17 2020 05:28 PM
Solution
There's the function PROPER which could handle SPOCK, but not ONE TWO THREE because it takes each word and keeps the initial capital. But if your ONE TWO THREE is in cell G8
then =LEFT(G8,1)&LOWER(RIGHT(G8,LEN(G8)-1))
will work.