Text Functions & Data Cleaning Test
Assess your ability to sanitize messy spreadsheet data. Practice TRIM, CLEAN, UPPER, PROPER, LEFT, RIGHT, MID, FIND, SEARCH, and TEXTJOIN across raw database extracts.
TRIM Function Scope and Space Handling
What specific types of spaces does Excel's standard TRIM function remove from a text string?
Clean Leading and Trailing Whitespace with TRIM
In target cell B2, remove the leading and trailing whitespace from the client name in A2 using the TRIM function.
| # | A | B |
|---|---|---|
| 1 | Raw Client Name | Cleaned Name |
| 2 | Apex Solutions | |
| 3 | Beacon Logistics | |
| 4 | Crestview Health |
Differences Between FIND and SEARCH
What is the key functional difference between the FIND and SEARCH functions in Excel?
Standardize Vendor Names to Uppercase
In target cell B2, convert the vendor company name in A2 to all uppercase letters using the UPPER function.
| # | A | B |
|---|---|---|
| 1 | Vendor Name | Standardized Upper |
| 2 | Nordic Paper Corp | |
| 3 | Summit Industrial Supply | |
| 4 | Pacific Freight Services |
Text Case Standardization Functions
Which of the following functions are native Excel functions used to change the letter casing of text strings? (Select all that apply)
Extract Product Category Prefix with LEFT
In target cell B2, extract the 3-character department prefix from the SKU code in A2 using the LEFT function.
| # | A | B |
|---|---|---|
| 1 | SKU Code | Prefix |
| 2 | LOG-8842-US | |
| 3 | FIN-1092-EU | |
| 4 | MKT-4411-AP |
Purpose of the CLEAN Function
What is the primary role of the CLEAN function when preparing external data imported into Excel?
Extract Warehouse Region Suffix with RIGHT
In target cell B2, extract the 2-character country code suffix from the batch code in A2 using the RIGHT function.
| # | A | B |
|---|---|---|
| 1 | Batch Code | Country Suffix |
| 2 | BATCH-902-DE | |
| 3 | BATCH-415-JP | |
| 4 | BATCH-781-US |
Concatenation Techniques in Excel
Which of the following methods can be used to combine text from multiple cells into one cell in Excel? (Select all that apply)
MID Function Character Position Rules
In the formula =MID(text, start_num, num_chars), what occurs if start_num is greater than the total length of text?
Character Count Behavior of LEN
What does the formula =LEN("North Region ") return?
Locate Delimiter Position with FIND
In target cell B2, find the 1-based character position of the hyphen delimiter "-" in the tracking number in A2 using the FIND function.
| # | A | B |
|---|---|---|
| 1 | Tracking Number | Hyphen Position |
| 2 | TRK-98241 | |
| 3 | TRK-10552 | |
| 4 | TRK-66409 |
Capabilities and Arguments of TEXTJOIN
Which of the following statements correctly describe arguments and features of the TEXTJOIN function? (Select all that apply)
Combine Employee Full Name with Ampersand Operator
In target cell C2, combine the first name in A2 and the last name in B2 separated by a single space using the ampersand (&) operator.
| # | A | B | C |
|---|---|---|---|
| 1 | First Name | Last Name | Full Name |
| 2 | Elena | Reyes | |
| 3 | Marcus | Vance | |
| 4 | Chloe | Bennett |
Reconstruct Standardized Email Addresses
Scenario Background: HR provided a roster with mixed-case first names and last names. The IT directory requires clean corporate email addresses formatted as lowercase 'firstname.lastname@acme.com'.
In target cell C2, generate the standardized company email address for the employee in row 2 using their first name (A2), last name (B2), and the corporate domain '@acme.com'. Ensure all characters are lowercase.
| # | A | B | C |
|---|---|---|---|
| 1 | First Name | Last Name | Corporate Email |
| 2 | SARAH | CONNOR | |
| 3 | David | MILLER | |
| 4 | Rachel | Green |
Output Data Type of Text Extraction Functions
If cell A1 contains the number 45892, what data type does the formula =LEFT(A1, 2) return in Excel?
Dynamic First Name Extraction with LEFT and FIND
In target cell B2, dynamically extract only the first name from the full name in A2 by combining LEFT and FIND to locate the space character.
| # | A | B |
|---|---|---|
| 1 | Full Name | First Name |
| 2 | Jonathan Hayes | |
| 3 | Rebecca Lin | |
| 4 | Alexander Wright |
Causes of the #VALUE! Error in Text Functions
Which of the following scenarios will cause a text formula to return a #VALUE! error? (Select all that apply)
Case Transformation with PROPER
What will the formula =PROPER("annual Q4 budget report") output?
Delimited Text Joining Methods
Which of the following formula techniques successfully join Street (A2), City (B2), and State (C2) with a comma and space separator ", "? (Select all that apply)
Handling Non-Breaking Space Characters (ASCII 160)
Why does the standard Excel TRIM function often fail to remove trailing spaces from data imported from web pages or ERP HTML exports?
Dynamic Email Domain Extraction with MID and FIND
In target cell B2, extract the domain name that appears after the '@' character from the email address in A2 using MID, FIND, and LEN.
| # | A | B |
|---|---|---|
| 1 | Email Address | Extracted Domain |
| 2 | john.smith@initech.com | |
| 3 | claire.dunphy@pemberton.org | |
| 4 | alan.turing@bencoding.net |
Differences Between CONCAT and TEXTJOIN
What advantages does TEXTJOIN offer that are not natively supported by the standard CONCAT function? (Select all that apply)
Standardize Messy Client Contact Names
Scenario Background: The marketing database has contact names with irregular capitalization and excess leading/trailing whitespace. Client communications require properly capitalized, clean full names.
In target cell B2, clean the messy raw name in A2 by removing all excess spaces and formatting the name in Proper Case (Title Case).
| # | A | B |
|---|---|---|
| 1 | Raw Contact Name | Clean Contact Name |
| 2 | bENJAMIN fRANKLIN | |
| 3 | gEORGE wASHINGTON | |
| 4 | aLEXANDER hAMILTON |
Handling Missing Substrings in SEARCH and FIND
What should you wrap around a SEARCH or FIND formula to prevent it from returning a #VALUE! error when the search string is not found?
Parse Last Name from Delimited Name String
Scenario Background: Payroll needs employee last names separated from full names formatted as 'FirstName LastName' for alphabetical filing.
In target cell B2, extract the employee's last name from cell A2 dynamically, using RIGHT, LEN, and FIND to accommodate names of varying length.
| # | A | B |
|---|---|---|
| 1 | Full Name | Last Name |
| 2 | Stephanie Crawford | |
| 3 | Daniel Lee | |
| 4 | Samantha Montgomery |
Wildcard Characters in Text Search
Which of the following wildcards are supported by the SEARCH function in Excel? (Select all that apply)
Clean and Standardize Primary Customer Code
Scenario Background: ERP migration received customer records with sporadic whitespace and lowercase division letters (e.g., ' c-9021-east '). The master database requires zero extra whitespace and all uppercase letters (e.g., 'C-9021-EAST').
In target cell B2, clean the raw customer code in A2 by trimming all extra whitespace and standardizing all characters to uppercase.
| # | A | B |
|---|---|---|
| 1 | Raw Customer Code | Master Code |
| 2 | c-9021-east | |
| 3 | w-4410-west | |
| 4 | n-1105-north |
Converting Extracted Text Digits to Numbers
If cell A2 contains the text code 'INV-950' and the formula =RIGHT(A2, 3) returns the text '950', which function converts this result into a true numeric value for math operations?
Construct Composite Unique Asset Tag
Scenario Background: Operations requires a unique tracking code for warehouse assets by concatenating the Location Code (A2), Asset Category (B2), and Unit ID (C2) with hyphens.
In target cell D2, build the composite asset tag by joining Location (A2), Category (B2), and Unit ID (C2) using a hyphen "-" delimiter.
| # | A | B | C | D |
|---|---|---|---|---|
| 1 | Location | Category | Unit ID | Asset Tag |
| 2 | WH-NORTH | FORKLIFT | FL-04 | |
| 3 | WH-SOUTH | CONVEYOR | CV-12 | |
| 4 | WH-EAST | PALLET | PL-88 |

M. Ichsanul Fadhil
Founder, ExcelClashPre-employment screening exams designed with instant browser-based formula grading.
Related Excel Skill Tests
Intermediate Excel Skills Test: Assess Workplace Readiness
VLOOKUP & XLOOKUP Skills Test: Workplace Assessment
Excel Test for Administrative Assistants
Excel Test for Accounting & Bookkeeping
Assessment Discussion & Questions
Ask questions, discuss problem solving techniques, or share feedback on this test.
Loading comments...