Challenge - 5 Problems
LEN Function Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate2:00remaining
Calculate length of trimmed text
Given cell A1 contains the text " Hello World ", which formula correctly returns the length of the text without leading and trailing spaces?
Attempts:
2 left
💡 Hint
Think about how to remove spaces before counting characters.
✗ Incorrect
The TRIM function removes extra spaces from the start and end of the text. LEN(TRIM(A1)) counts characters after trimming.
📊 Formula Result
intermediate1:30remaining
Counting characters including spaces
If cell B2 contains the text "Data Science", what does the formula
=LEN(B2) return?Attempts:
2 left
💡 Hint
Count all letters and spaces in the text.
✗ Incorrect
"Data Science" has 12 characters including the space between words.
❓ Function Choice
advanced2:00remaining
Choose formula to count characters excluding spaces
Which formula correctly counts the number of characters in cell C3 excluding all spaces?
Attempts:
2 left
💡 Hint
Think about removing spaces first, then counting characters.
✗ Incorrect
SUBSTITUTE(C3," ","") removes spaces. LEN counts characters after removal.
📊 Formula Result
advanced1:30remaining
Length of a formula-generated string
Cell D4 contains the formula
=CONCATENATE("Hi", " ", "There"). What does =LEN(D4) return?Attempts:
2 left
💡 Hint
Count all letters and spaces in the combined text.
✗ Incorrect
"Hi There" has 8 characters including the space.
🎯 Scenario
expert2:30remaining
Find the number of characters in a cell ignoring trailing spaces only
You want to count the number of characters in cell E5 but ignore only trailing spaces (spaces at the end). Which formula will give the correct count?
Attempts:
2 left
💡 Hint
Use a function that removes spaces only from the right side.
✗ Incorrect
RTRIM removes trailing spaces. LEN(RTRIM(E5)) counts characters ignoring trailing spaces.