If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Proper text in excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-17-07, 09:12
Trini Trini is offline
Registered User
 
Join Date: Jul 2003
Location: Michigan
Posts: 21
Proper text in excel

How can you convert text string to captialize the first letter of a sentence after a period also?
Reply With Quote
  #2 (permalink)  
Old 07-17-07, 11:22
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
I wrote this uickl - it works but it feels a bit to convoluted.
It capitalises the first letter of the cell A1
Code:
=CONCATENATE(UPPER(LEFT(A1,1)),LOWER(RIGHT(A1,LEN(A1)-1)))
__________________
George
Twitter | Blog
Reply With Quote
  #3 (permalink)  
Old 07-17-07, 14:09
norie norie is offline
Registered User
 
Join Date: Mar 2006
Posts: 163
Why not use the PROPER worksheet function?
Reply With Quote
  #4 (permalink)  
Old 07-17-07, 14:37
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
Because I didn't know it existed
I told you it was pretty convoluted
__________________
George
Twitter | Blog
Reply With Quote
  #5 (permalink)  
Old 07-18-07, 07:50
MikeTheBike MikeTheBike is offline
Registered User
 
Join Date: Apr 2004
Location: Derbyshire, UK
Posts: 714
Hi

I though the PROPER function capitalises ALL words, doesn't it?

MTB
Reply With Quote
  #6 (permalink)  
Old 07-18-07, 08:27
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
You are indeed correct Mike!
I think what the user wants is to capitalise the first word in every sentence (hence theextra bit about after a full stop!).
I can only think of another convuleted way of doing this which is very inefective - so I don't want to post it.
Hopefully someone will come up with a better idea
__________________
George
Twitter | Blog
Reply With Quote
  #7 (permalink)  
Old 07-18-07, 14:15
norie norie is offline
Registered User
 
Join Date: Mar 2006
Posts: 163
I think youll find that PROPER does that.
Reply With Quote
  #8 (permalink)  
Old 07-18-07, 16:38
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
I beg to differ;
Code:
a b c d e f		A B C D E F
abcdef			Abcdef
abc def			Abc Def
ab. cde. F		Ab. Cde. F
It capitalises the first letter of every word.
__________________
George
Twitter | Blog
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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