Challenge - 5 Problems
Substring Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate1:30remaining
Extracting a substring with LEFT function
Given cell A1 contains the text
"Spreadsheet", what is the result of the formula =LEFT(A1, 5)?Attempts:
2 left
💡 Hint
LEFT extracts characters starting from the beginning of the text.
✗ Incorrect
LEFT(A1, 5) takes the first 5 characters from the left of "Spreadsheet", which are "Sprea".
📊 Formula Result
intermediate1:30remaining
Using RIGHT to get last characters
If cell B2 contains
"DataAnalysis", what does =RIGHT(B2, 4) return?Attempts:
2 left
💡 Hint
RIGHT extracts characters from the end of the text.
✗ Incorrect
RIGHT(B2, 4) extracts the last 4 characters of "DataAnalysis", which are "ysis".
📊 Formula Result
advanced2:00remaining
Extracting middle text with MID
Cell C3 contains
"Information". What is the output of =MID(C3, 4, 5)?Attempts:
2 left
💡 Hint
MID extracts characters starting at a position for a given length.
✗ Incorrect
MID(C3, 4, 5) starts at the 4th character of "Information" (which is 'o') and extracts 5 characters: "ormat".
🎯 Scenario
advanced2:00remaining
Combining LEFT and RIGHT to extract parts
You have a cell D4 with the text
"Report2024Final". Which formula extracts the year "2024" from this text?Attempts:
2 left
💡 Hint
Count characters to find where the year starts.
✗ Incorrect
The year "2024" starts at the 7th character in "Report2024Final". MID(D4, 7, 4) extracts 4 characters starting at position 7.
❓ Function Choice
expert2:30remaining
Choosing the correct function for dynamic substring extraction
You want to extract the last 3 characters from a text in cell E5, but the text length varies. Which formula will always return the last 3 characters regardless of text length?
Attempts:
2 left
💡 Hint
Remember that MID's start position is 1-based and you must adjust for length.
✗ Incorrect
To get the last 3 characters, start at position LEN(E5)-2 (because LEN(E5)-2, LEN(E5)-1, LEN(E5) are the last 3 characters). RIGHT(E5, 3) also works but the question asks for a formula that uses MID dynamically.