Need to Change Case from Mixed to Caps

K

Kathy

Please help! I have a number of imported worksheets with some fields
formatted in mixed case and some in UPPER case. I want all data to look
consistent.

Is there a way that I can quickly turn all of the mixed case to upper case?
Word has a button to do this but I don't see one in Excel.

Thanks in advance.
 
M

Mike H

Hi,

have a look at the UPPER function in XLHelp
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.
 
P

Pritesh

You can apply "Upper" formula, even better would be to use "Proper" formula,
which capitalizes only first letter of each word from the reference data/cell.

It works like;
=upper(a1) and
=proper(a1)

Regards,
Pritesh
 
O

ozgrid.com

Run this macro;

Sub UPPERCaseAll()
Dim lchr As Long

For lchr = 97 To 127
ActiveSheet.UsedRange.Replace Chr(lchr), UCase(Chr(lchr)), xlPart
Next lchr
End Sub
 
K

Kathy

Thank you! This works but now I need to get rid of the column with the
improperly formatted case (so that there are not two duplicate columns of
text). How can I do that? Can I turn the new column with the "Upper" and
"Proper" formulas into text?
 
K

Kathy

Thank you! This works but now I need to get rid of the column with the
improperly formatted case (so that there are not two duplicate columns of
text). How can I do that? Can I turn the new column with the "Upper" and
"Proper" formulas into text?
 
R

Roger Govier

Hi Kathy

Copy your new column which has the formulae>Paste Special>Values
That will "fix" the formulae to their resulting text appearance.
You can then delete the original column.
 
K

Kathy

PERFECT! Thank you!

Roger Govier said:
Hi Kathy

Copy your new column which has the formulae>Paste Special>Values
That will "fix" the formulae to their resulting text appearance.
You can then delete the original column.
--
Regards
Roger Govier

.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top