Upper Case, Sentence case Help

Manolocs

Active Member
Joined
Mar 28, 2008
Messages
340
Hello, I have on column A a big list of words, cells contain one, two or several words.
What I need is:
1-If the cell contains only one word, make this word in UPPER Case
2-If the cell contains more than one word, make the cell in SENTENCE CASE.
Is it possible?
Thanks in advance :)
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Hello,

if the cell contains more than one word, then it must contain a space character. That is where you can hook into, like this:

=IF(ISNUMBER(FIND(" ",A1)),PROPER(A1), UPPER(A1))

cheers, teylyn
 
Upvote 0
You're welcome. Glad it worked for you.
 
Upvote 0

Forum statistics

Threads
1,223,237
Messages
6,170,928
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top