Excel UPPER Function

The Excel UPPER function converts all lowercase text in a specified text string to uppercase

Example: Excel UPPER Function

Excel UPPER Function

METHOD 1. Excel UPPER Function using hardcoded values

EXCEL

=UPPER("exceldome")
Result in cell C5 (EXCELDOME) - returns the specified text, which is all in lowercase, into uppercase.

METHOD 2. Excel UPPER Function using links

EXCEL

=UPPER(B5)
Result in cell C5 (EXCELDOME) - returns the specified text in cell (B5), which is all in lowercase, into uppercase.

METHOD 3. Excel UPPER function using the Excel built-in function library with hardcoded values

EXCEL

Formulas tab > Function Library group > Text > UPPER > populate the input box

=UPPER("exceldome")
Note: in this example we are converting the specified text, which is all in lowercase, into uppercase.
Built-in Excel UPPER Function using hardcoded values

METHOD 4. Excel UPPER function using the Excel built-in function library with links

EXCEL

Formulas tab > Function Library group > Text > UPPER > populate the input box

=UPPER(B5)
Note: in this example we are converting the specified text in cell (B5), which is all in lowercase, into uppercase.
Built-in Excel UPPER Function using links

METHOD 1. Excel UPPER function using VBA with hardcoded values

VBA

Sub Excel_UPPER_Function()
'declare a variable
Dim ws As Worksheet
Set ws = Worksheets("UPPER")

'apply the Excel UPPER function
ws.Range("C5") = UCase("exceldome")

End Sub

OBJECTS
Worksheets: The Worksheets object represents all of the worksheets in a workbook, excluding chart sheets.
Range: The Range object is a representation of a single cell or a range of cells in a worksheet.
PREREQUISITES
Worksheet Name: Have a worksheet named UPPER.

ADJUSTABLE PARAMETERS
Output Range: Select the output range by changing the cell reference ("C5") in the VBA code to any cell in the worksheet, that doesn't conflict with formula.

METHOD 2. Excel UPPER function using VBA with links

VBA

Sub Excel_UPPER_Function()
'declare a variable
Dim ws As Worksheet
Set ws = Worksheets("UPPER")

'apply the Excel UPPER function
ws.Range("C5") = UCase(ws.Range("B5"))

End Sub

OBJECTS
Worksheets: The Worksheets object represents all of the worksheets in a workbook, excluding chart sheets.
Range: The Range object is a representation of a single cell or a range of cells in a worksheet.
PREREQUISITES
Worksheet Name: Have a worksheet named UPPER.
Text: Have the text which you want to convert to uppercase in cell ("B5").

ADJUSTABLE PARAMETERS
Output Range: Select the output range by changing the cell reference ("C5") in the VBA code to any cell in the worksheet, that doesn't conflict with formula.
Text: Select the text which you want to convert to uppercase by changing the cell reference ("B5") to any range in the worksheet, that doesn't conflict with the formula.

Usage of the Excel UPPER function and formula syntax

EXPLANATION

DESCRIPTION
The Excel UPPER function converts all lowercase text in a specified text string to uppercase.
SYNTAX
=UPPER(text)

ARGUMENTS
text: (Required) The text string to convert to uppercase.