ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Turn to capital letter (https://www.excelbanter.com/excel-discussion-misc-queries/95436-turn-capital-letter.html)

SBárbara

Turn to capital letter
 
Hi,

How can i turn to capital the first letter of each word of a phrase.
Example:

CASA FELIZ - Casa Feliz

Regards,
Sandra Bárbara

Ardus Petus

Turn to capital letter
 
=PROPER(A1)

HTH
--
AP

"SBárbara" a écrit dans le message de
news: ...
Hi,

How can i turn to capital the first letter of each word of a phrase.
Example:

CASA FELIZ - Casa Feliz

Regards,
Sandra Bárbara




David McRitchie

Turn to capital letter
 
Use of the PROPER Worksheet Function is a correct answer, but
I expect you would be better off using a macro to change the text
values of the cells where they reside rather than introducing extra
columns or cleaning up after by converting to text then removing
the original cells. See
http://www.mvps.org/dmcritchie/excel/proper.htm
the use of a macro gives you additional advantages as well in
being able to capitalize IBM as a corporate name not capitalizing
certain words within "The Wind in the Willows". Also the
ability to include name like my own as McRitchie, which would be
common in my own stuff, or to be able to manually correct after
running a macro to exactly what you want for a few exceptions.

Actually am curious why you said "each word of a phrase"
instead of just "each word". If it is just the first letter of sentences
and certain combinations of words then the macro page would still
be of assistance but you would have to do some customizing -- which
is certainly an advantage of macros in that they put you in control to do
what you want.
--
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Ardus Petus" wrote in message ...
=PROPER(A1)

HTH
--
AP

"SBárbara" a écrit dans le message de
news: ...
Hi,

How can i turn to capital the first letter of each word of a phrase.
Example:

CASA FELIZ - Casa Feliz

Regards,
Sandra Bárbara







All times are GMT +1. The time now is 12:47 PM.

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