Upper
Syntax:¶
UPPER(text)
- text: A text string or cell reference containing the text that you want to convert to uppercase.
Description:¶
The UPPER function in Excel converts all lowercase letters in a given text string to their uppercase equivalents.
Non-alphabetic characters, numbers, and uppercase letters remain unchanged.
Examples:¶
-
=UPPER("hello")
Result:HELLO. Converts all lowercase letters in "hello" to uppercase. -
=UPPER("Excel123")
Result:EXCEL123. Converts only the lowercase letters in "Excel123" to uppercase. Numbers remain unaffected. -
=UPPER("good Morning!")
Result:GOOD MORNING!. Converts "good Morning!" to uppercase, leaving punctuation unchanged. -
=UPPER(A1)
Result: If cellA1contains "dynamic text", the function returnsDYNAMIC TEXT.
Notes:¶
- The
UPPERfunction is useful for standardizing text data to uppercase for better comparison or uniform display. - This function does not change numbers, spaces, or special characters.
- If the
textargument is empty, it will return an empty string"".