LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Capitalize first letter in sentence

Yes, you're right, Paul - thanks for pointing this out.

Pete

On Jan 14, 10:56*pm, "PCLIVE" wrote:
I just realized the other formula is missing one too.
=UPPER(LEFT(A1,1))&LOWER(RIGHT(A1,LEN(A1)-1))

--

"PCLIVE" wrote in message

...



Peter,


I think your first suggestion is missing a ")". *I'm thinking it should
be:
=UPPER(LEFT(A1,1))&RIGHT(A1,LEN(A1)-1)


Regards,
Paul


--


"Pete_UK" wrote in message
...
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
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?- Hide quoted text -


- Show quoted text -


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I capitalize the first letter of multiple cells? dominic_howden Excel Discussion (Misc queries) 5 December 11th 08 08:45 PM
Capitalize officegirl Excel Discussion (Misc queries) 2 November 30th 07 04:35 AM
capitalize ideal Excel Discussion (Misc queries) 1 September 13th 07 03:03 PM
Sentence with first letter in Capital, rest all in small. Shrikant Excel Discussion (Misc queries) 3 September 1st 05 11:23 AM
Capitalize first letter when type a name in each cell. Craig Brody Excel Worksheet Functions 6 December 20th 04 03:21 PM


All times are GMT +1. The time now is 03:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"