Re: Capitalize first letter in sentence
- From: "David Biddulph" <groups [at] biddulph.org.uk>
- Date: Mon, 14 Jan 2008 22:39:40 -0000
PROPER will capitalize the first letter of each word, while Pete's formula
capitalizes just the first word of the string.
--
David Biddulph
"Gaurav" <gsharma@xxxxxxxxxxxxxxx> wrote in message
news:uvzWE3vVIHA.1208@xxxxxxxxxxxxxxxxxxxxxxx
Hey Pete,
Just curious. Does the formula you mentioned do anything extra than the
PROPER function? Just increasing my knowledge.
Thanks
Gaurav
"Pete_UK" <pashurst@xxxxxxxxxxx> wrote in message
news:61f7dbaa-0fad-4b1d-a3cb-90e59ff03b7e@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Like this:
=UPPER(LEFT(A1,1)&RIGHT(A1,LEN(A1)-1)
This leaves the rest of the string unchanged and capitalises the first
letter. You may like to add this amendment:
=UPPER(LEFT(A1,1)&LOWER(RIGHT(A1,LEN(A1)-1))
which will ensure that the rest of the string is lower case.
Hope this helps.
Pete
On Jan 14, 10:13 pm, Lightjag <Light...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
I am referencing a text string in excel, and would like to return the
text
string with the first letter capitalized. How can I do this?
.
- Follow-Ups:
- Re: Capitalize first letter in sentence
- From: Gord Dibben
- Re: Capitalize first letter in sentence
- References:
- Re: Capitalize first letter in sentence
- From: Pete_UK
- Re: Capitalize first letter in sentence
- From: Gaurav
- Re: Capitalize first letter in sentence
- Prev by Date: Re: I have the checkmark beside print gridlines and they won't print
- Next by Date: Re: Capitalize first letter in sentence
- Previous by thread: Re: Capitalize first letter in sentence
- Next by thread: Re: Capitalize first letter in sentence
- Index(es):
Relevant Pages
|