Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default change first letter of a word for an entire column

I have a column of names and I would like to change just the 1st letter of
each name to upper case-how do I do that?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,073
Default change first letter of a word for an entire column


lori12844 wrote:
I have a column of names and I would like to change just the 1st letter of
each name to upper case-how do I do that?


Hi lori,

with name in A1, try...

=UPPER(LEFT(A1,1)) & RIGHT(A1,LEN(A1)-1)

Ken Johnson

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default change first letter of a word for an entire column

you can use the formula Proper

just type in a cell next to it =Proper(cell)

this will change all the text to have uppercase first letter and lowercase
for each letter after that

if your still unsure use the FX button next to the formula bar and sellect
the proper formula

regards max

"lori12844" wrote:

I have a column of names and I would like to change just the 1st letter of
each name to upper case-how do I do that?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default change first letter of a word for an entire column

Thanks..it worked great! can you answer my 2nd posting question which was

have entire column of addresses ie. 122main st and need to change to 122
Main St--is there a formula for this?

"max power" wrote:

you can use the formula Proper

just type in a cell next to it =Proper(cell)

this will change all the text to have uppercase first letter and lowercase
for each letter after that

if your still unsure use the FX button next to the formula bar and sellect
the proper formula

regards max

"lori12844" wrote:

I have a column of names and I would like to change just the 1st letter of
each name to upper case-how do I do that?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default change first letter of a word for an entire column

not sure what your after but if you are after changing the m in main to M and
the s in st to S than you can use the same formula

"lori12844" wrote:

Thanks..it worked great! can you answer my 2nd posting question which was

have entire column of addresses ie. 122main st and need to change to 122
Main St--is there a formula for this?

"max power" wrote:

you can use the formula Proper

just type in a cell next to it =Proper(cell)

this will change all the text to have uppercase first letter and lowercase
for each letter after that

if your still unsure use the FX button next to the formula bar and sellect
the proper formula

regards max

"lori12844" wrote:

I have a column of names and I would like to change just the 1st letter of
each name to upper case-how do I do that?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default change first letter of a word for an entire column

Copy the following macro:

Sub Change_Case()
Dim ocell As Range
Dim Ans As String
Ans = Application.InputBox("Type in Letter" & vbCr & _
"(L)owercase, (U)ppercase, (S)entence, (T)itles ")
If Ans = "" Then Exit Sub
For Each ocell In Selection.SpecialCells(xlCellTypeConstants, 2)
Select Case UCase(Ans)
Case "L": ocell = LCase(ocell.Text)
Case "U": ocell = UCase(ocell.Text)
Case "S": ocell = UCase(Left(ocell.Text, 1)) & _
LCase(Right(ocell.Text, Len(ocell.Text) - 1))
Case "T": ocell = Application.WorksheetFunction.Proper(ocell.Text)
End Select
Next

End Sub


"lori12844" wrote:

I have a column of names and I would like to change just the 1st letter of
each name to upper case-how do I do that?

Reply
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
macro unouwanme Excel Discussion (Misc queries) 9 August 31st 06 09:38 PM
Column picked randomly with probability relative to number of entr Neil Goldwasser Excel Worksheet Functions 4 May 30th 06 08:55 AM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
What will cause column headings to change from letter to number? Bob in Buffalo Excel Discussion (Misc queries) 3 August 8th 05 07:56 PM
How do I change column label from number to letter? adel Excel Discussion (Misc queries) 5 June 24th 05 12:18 AM


All times are GMT +1. The time now is 12:14 AM.

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"