ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Require help with PROPER function in excel (https://www.excelbanter.com/excel-worksheet-functions/451554-require-help-proper-function-excel.html)

[email protected]

Require help with PROPER function in excel
 
I faced that PROPER function does not convert text properly. FOr example,

Your text is: ThIs IS a rAbbIt.

It will convert like this: This Is A Rabbit.

If you notice, it sets all first letter after every space in upper case. If you look at the proper sentence, it should look like this -

-- This is a rabbit.

Please help me with solution.

Thanks,
praveen
add on fb - royalstone.r


Claus Busch

Require help with PROPER function in excel
 
Hi,

Am Tue, 12 Jul 2016 05:37:41 -0700 (PDT) schrieb
:

I faced that PROPER function does not convert text properly. FOr example,

Your text is: ThIs IS a rAbbIt.

It will convert like this: This Is A Rabbit.

If you notice, it sets all first letter after every space in upper case. If you look at the proper sentence, it should look like this -

-- This is a rabbit.


PROPER converts /each/ word of your string. Try:

=PROPER(LEFT(A1,FIND(" ",A1)))&LOWER(MID(A1,FIND(" ",A1)+1,99))


Regards
Claus B.
--
Windows10
Office 2016


All times are GMT +1. The time now is 07:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com