PROPER, UPPER, LOWER Functions


PROPER, UPPER, LOWER Functions Interview with follow-up questions

1. Can you explain what the PROPER, UPPER, and LOWER functions in Excel are used for?

These three functions all change the capitalization of text, but in different ways:

  • UPPER(text) — converts every letter in the string to uppercase. =UPPER("hello world")HELLO WORLD

  • LOWER(text) — converts every letter to lowercase. =LOWER("Hello World")hello world

  • PROPER(text) — capitalizes the first letter of each word and lowercases all remaining letters. =PROPER("john smith")John Smith

All three take a single argument — the text string or a cell reference — and return the converted string. They do not modify the original cell; the result appears in the cell where the formula is entered.

Typical use cases:

Function Common scenario
UPPER Generating codes, IDs, or report headings that must be all caps
LOWER Normalizing email addresses or usernames for case-insensitive comparisons or database lookups
PROPER Cleaning name fields imported from databases or forms where capitalization is inconsistent

Limitation of PROPER: It capitalizes the letter after every word boundary, including after apostrophes and hyphens. This can produce undesired results like O'BrienO'Brien (correct) but also McdonaldMcdonald rather than McDonald. For proper names with unusual capitalization, manual correction or a more complex formula may be needed.

↑ Back to top

Follow-up 1

Can you give an example of when you might use each of these functions?

Sure! Here are some examples:

  • PROPER function: If you have a column of names in lowercase or mixed case, you can use the PROPER function to convert them to proper case. For example, if cell A1 contains 'john doe', the formula =PROPER(A1) would return 'John Doe'.

  • UPPER function: If you have a column of text that needs to be in uppercase, you can use the UPPER function. For example, if cell A1 contains 'hello', the formula =UPPER(A1) would return 'HELLO'.

  • LOWER function: If you have a column of text that needs to be in lowercase, you can use the LOWER function. For example, if cell A1 contains 'WORLD', the formula =LOWER(A1) would return 'world'.

Follow-up 2

What would be the result if you applied the UPPER function to a cell containing lowercase text?

If you apply the UPPER function to a cell containing lowercase text, the result would be the same text but in uppercase. For example, if cell A1 contains 'hello', the formula =UPPER(A1) would return 'HELLO'.

Follow-up 3

What would happen if you applied the LOWER function to a cell containing numbers?

If you apply the LOWER function to a cell containing numbers, the result would be the same numbers. The LOWER function only affects letters in a text string and leaves numbers unchanged. For example, if cell A1 contains the number 123, the formula =LOWER(A1) would return 123.

2. How would you use the PROPER function in Excel?

PROPER capitalizes the first letter of every word in a text string and converts all other letters to lowercase.

Syntax:

=PROPER(text)

text is either a literal string in quotes or a cell reference.

Examples:

=PROPER("john smith")        → John Smith
=PROPER("MARY JONES")        → Mary Jones
=PROPER("the quick brown fox") → The Quick Brown Fox
=PROPER(A1)                  → formats whatever text is in A1

Typical use case — cleaning a name column:

If you have a column of customer names imported from a database where names are all uppercase or all lowercase, PROPER standardizes them in one step:

=PROPER(A2)

Copy this formula down the column, then paste the results as values (Ctrl+Shift+V or Paste Special > Values) to replace the originals.

Important limitation: PROPER capitalizes the letter immediately after any word separator — including apostrophes, hyphens, and spaces. This can cause issues with names like:

  • o'brienO'Brien ✓ (correct)
  • mcdonaldMcdonald ✗ (should be McDonald)
  • van der bergVan Der Berg ✗ (some prefer van der Berg)

For a dataset where names follow consistent patterns, PROPER handles the vast majority of cases well. Edge cases may need a lookup table or manual correction.

Combining with TRIM: Data from external sources often has extra spaces. Combine both for cleaner results:

=PROPER(TRIM(A2))
↑ Back to top

Follow-up 1

What are some potential use cases for the PROPER function?

The PROPER function can be useful in various scenarios, such as:

  1. Cleaning up data: If you have a dataset with names or titles in lowercase or uppercase, you can use the PROPER function to standardize the capitalization.

  2. Formatting text: The PROPER function can be used to format text in a more visually appealing way, especially when dealing with titles, headings, or labels.

  3. Generating personalized greetings: By using the PROPER function, you can create personalized greetings by capitalizing the first letter of each word in a person's name.

These are just a few examples, and the use cases for the PROPER function can vary depending on the specific requirements of your Excel project.

Follow-up 2

What would be the result if you applied the PROPER function to a cell containing the text 'EXCEL FOR INTERVIEWS'?

If you applied the PROPER function to a cell containing the text 'EXCEL FOR INTERVIEWS', the result would be 'Excel For Interviews'. The PROPER function capitalizes the first letter of each word, so it would convert all uppercase letters to lowercase and capitalize the first letter of each word.

Follow-up 3

Can you describe a situation where the PROPER function would not work as expected?

Yes, there are situations where the PROPER function may not work as expected. One such situation is when the text contains abbreviations or acronyms. The PROPER function will capitalize the first letter of each word, including the letters in the abbreviations or acronyms, which may not be desired. For example, if you apply the PROPER function to the text 'USA', the result would be 'Usa' instead of 'USA'. In such cases, you may need to use a different approach or a combination of functions to achieve the desired capitalization.

3. Can you describe a situation where you might use the LOWER function in Excel?

LOWER converts all letters in a text string to lowercase, leaving numbers and other characters unchanged.

Syntax:

=LOWER(text)

Example:

=LOWER("HELLO WORLD")   → hello world
=LOWER("John Smith")    → john smith
=LOWER(A1)              → lowercased version of whatever is in A1

Situations where LOWER is useful:

1. Normalizing data for comparisons: When comparing text values, case differences cause mismatches — "North" <> "north". Converting both sides to lowercase before comparing ensures consistent results:

=IF(LOWER(A2)=LOWER(B2), "Match", "No match")

2. Cleaning email addresses: Email addresses should always be lowercase for storage and lookup consistency. If a user enters [email protected], =LOWER(A2) normalizes it to [email protected].

3. Preparing data for case-insensitive lookups: Before feeding data into a VLOOKUP, XLOOKUP, or database export, standardizing to lowercase eliminates case-based mismatches.

4. Generating slugs or codes: When creating URL slugs, file names, or system identifiers from display text, forcing lowercase is a standard step — often combined with SUBSTITUTE to replace spaces with hyphens:

=SUBSTITUTE(LOWER(A2)," ","-")

5. Consistency in combined datasets: When merging data from multiple sources where one used title case and another used all caps, LOWER (or PROPER) normalizes everything to a single format before analysis.

↑ Back to top

Follow-up 1

What would be the result if you applied the LOWER function to a cell containing the text 'Excel For Interviews'?

If you applied the LOWER function to a cell containing the text 'Excel For Interviews', the result would be 'excel for interviews'. The LOWER function converts all uppercase letters to lowercase.

Follow-up 2

Can you give an example of a formula that uses the LOWER function?

Sure! Here's an example of a formula that uses the LOWER function:

=LOWER(A1)

This formula converts the text in cell A1 to lowercase. You can replace A1 with the cell reference of the cell containing the text you want to convert.

Follow-up 3

What would happen if you applied the LOWER function to a cell containing a mix of text and numbers?

If you applied the LOWER function to a cell containing a mix of text and numbers, the function would only affect the text portion of the cell. The numbers would remain unchanged. For example, if the cell contains 'Excel123', the result of applying the LOWER function would be 'excel123'.

4. How would you use the UPPER function in Excel?

UPPER converts all letters in a text string to uppercase, leaving numbers, spaces, and special characters unchanged.

Syntax:

=UPPER(text)

text is a literal string or a cell reference.

Examples:

=UPPER("excel for interviews")  → EXCEL FOR INTERVIEWS
=UPPER("hello world")           → HELLO WORLD
=UPPER(A1)                      → uppercased version of A1's content

Common use cases:

1. Generating codes or identifiers: Product codes, country codes, and department abbreviations are often required in all caps. =UPPER(A2) ensures consistent formatting regardless of how the original data was entered.

2. Headings and labels: When building report templates, UPPER can programmatically format labels or category names as all caps without manually typing them.

3. Case-insensitive comparisons:

=IF(UPPER(A2)=UPPER(B2), "Match", "No match")

Forces both sides to uppercase before comparing, so the test is case-insensitive.

4. Cleaning data from mixed-case sources: If an imported column contains country names in inconsistent cases ("usa", "USA", "Usa"), =UPPER standardizes them all to "USA" before analysis or PivotTable grouping.

Combining with other functions:

=UPPER(TRIM(A2))

Removes extra spaces and converts to uppercase in one step — useful when cleaning imported data before analysis.

UPPER is a pure text function and does not affect numbers or special characters in the string.

↑ Back to top

Follow-up 1

What would be the result if you applied the UPPER function to a cell containing the text 'excel for interviews'?

If you applied the UPPER function to a cell containing the text 'excel for interviews', the result would be 'EXCEL FOR INTERVIEWS'. The UPPER function converts all lowercase letters in the text string to uppercase.

Follow-up 2

Can you give an example of a formula that uses the UPPER function?

Sure! Here's an example of a formula that uses the UPPER function:

=UPPER(B2)

Assuming cell B2 contains the text 'hello world', this formula will convert it to uppercase and return 'HELLO WORLD'.

Follow-up 3

What would happen if you applied the UPPER function to a cell containing a mix of text and numbers?

If you applied the UPPER function to a cell containing a mix of text and numbers, the function will only convert the lowercase letters to uppercase. The numbers and any other characters in the cell will remain unchanged. For example, if you have a cell with the text 'abc123', applying the UPPER function will result in 'ABC123'.

5. Can you explain the difference between the PROPER, UPPER, and LOWER functions in Excel?

All three functions transform the capitalization of a text string, but each produces a different result:

Function What it does Example input Result
UPPER ALL CAPS — every letter is uppercase "hello world" HELLO WORLD
LOWER all lowercase — every letter is lowercase "Hello World" hello world
PROPER Title Case — first letter of each word is uppercase, rest lowercase "HELLO WORLD" Hello World

Syntax for all three is identical:

=UPPER(text)
=LOWER(text)
=PROPER(text)

Choosing between them:

  • Use UPPER when you need codes, identifiers, or headings in all caps — or to normalize text before a case-insensitive comparison.
  • Use LOWER when standardizing email addresses, usernames, or values for lookups and database exports.
  • Use PROPER when cleaning name fields (first name, last name, full name) that arrive in inconsistent capitalization.

One important distinction — PROPER's behavior with punctuation:

PROPER capitalizes the character immediately after any word separator, including apostrophes and hyphens. This is usually correct (O'Brien, Jones-Smith) but can produce unexpected results with prefixes like McDonald (yields Mcdonald) or multi-word particles like van der in Dutch names.

UPPER and LOWER have no such edge cases — they unconditionally convert every letter in the string.

Combining with TRIM:

For imported data that may have extra spaces, combine these functions with TRIM:

=PROPER(TRIM(A2))
↑ Back to top

Follow-up 1

Can you describe a situation where it would be beneficial to use these functions in combination with each other?

Certainly! One situation where it would be beneficial to use these functions in combination is when you have a dataset with inconsistent capitalization. For example, if you have a column of product names where some names are in uppercase, some are in lowercase, and some are in mixed case, you can use the PROPER function to convert them to proper case, the UPPER function to convert them to all uppercase, and the LOWER function to convert them to all lowercase. This can help standardize the formatting and make the data more consistent and easier to analyze.

Follow-up 2

Can you give an example of a situation where you would use all three functions in the same worksheet?

Sure! Let's say you have a column of names in mixed case (some uppercase, some lowercase), and you want to standardize the formatting. You can use the PROPER function to convert the names to proper case, the UPPER function to convert them to all uppercase, and the LOWER function to convert them to all lowercase.

Follow-up 3

What would be the result if you applied all three functions to the same cell, one after the other?

If you apply all three functions (PROPER, UPPER, and LOWER) to the same cell, one after the other, the result would depend on the initial text in the cell. The PROPER function would convert the text to proper case, the UPPER function would convert it to all uppercase, and the LOWER function would convert it to all lowercase. The final result would depend on the order in which the functions are applied.

Live mock interview

Mock interview: PROPER, UPPER, LOWER Functions

Intermediate ~5 min Your own free AI key

Your voice and your AI key never touch our servers; the key stays in this browser and is sent only to Google. Only your round scores are saved to track progress.