Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() 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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
macro | Excel Discussion (Misc queries) | |||
Column picked randomly with probability relative to number of entr | Excel Worksheet Functions | |||
Return SEARCHED Column Number of Numeric Label and Value | Excel Worksheet Functions | |||
What will cause column headings to change from letter to number? | Excel Discussion (Misc queries) | |||
How do I change column label from number to letter? | Excel Discussion (Misc queries) |