convert existing text to uppercase

lindajones

New Member
Joined
Apr 8, 2003
Messages
4
Hi,

I am working with a spreadsheet of names and addresses. The data was entered in lowercase but I would like to convert it all to uppercase. I have tried the UPPER function, but that does not seem to convert text already entered within the same cell. I am looking for a solution that would allow me to convert all the cells as they are without have to cut and paste. Any ideas?? :eek:

Thanks!
Linda
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
lindajones said:
Hi,

I am working with a spreadsheet of names and addresses. The data was entered in lowercase but I would like to convert it all to uppercase. I have tried the UPPER function, but that does not seem to convert text already entered within the same cell. I am looking for a solution that would allow me to convert all the cells as they are without have to cut and paste. Any ideas?? :eek:

Thanks!
Linda

Try www.asap-utilites.com

or search the board, using upper as the criteria, there's lots of code that do this

here's a thread

http://www.mrexcel.com/board2/viewtopic.php?p=222551&highlight=upper#222551
 
Upvote 0
Syntax

UPPER(text)

Text is the text you want converted to uppercase. Text can be a reference or text string.

Examples

UPPER("total") equals "TOTAL"

If E5 contains "yield", then:

UPPER(E5) equals "YIELD"
 
Upvote 0
You can write a macro to do your whole spreadsheet at once. You just need to define the range in the macro. Here I assumed range A1 to G15. Adjust as needed.

Code:
Sub ConvertCase()
    
    Dim cell As Range
    For Each cell In Range("A1:G15")
        cell.Value = UCase(cell.Value)
    Next cell
    
End Sub
 
Upvote 0
I tried www.asap-utilites.com that was listed, but the page is apparently gone. Does anyone have another utility reference for this function? I also would like to convert ALL text in ALL cells to UPPERCASE, in a single Excel document. Thanks :)
 
Upvote 0

Forum statistics

Threads
1,214,895
Messages
6,122,128
Members
449,066
Latest member
Andyg666

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top