Beginner3 minFree practice

Check the length of a student ID

Count characters in an identifier.

Practice library
Read the taskTry your answerLearn from feedback

YOUR TASK

Put LEN to work.

Return the number of characters in the student ID in C2 in G2. Letters, digits and hyphens all count as characters.

Answer cell: G2Start your formula with = and use the source cells.
Give me a hint

LEN takes one text argument and returns its character count.

Show the worked solution=LEN(C2)

LEN counts every character, including hyphens. It returns a number, not the student ID itself.

Try it yourself before opening the solution. A completed task with the solution open is saved as reviewed practice.

Get the full practice workbook
LEN practiceDataset original
ABCDEFG
1StudentDepartmentStudent IDYour answer
2MeeraCommerceCOM-2026-015
Practice dataAll data is fictional
Ready when you are.
What can I use in this checker?

SUM, SUMPRODUCT (matching range dimensions), INDEX (single-cell result), MATCH (exact match with 0), AVERAGE, AVERAGEIF, MEDIAN, MIN, MAX, COUNT, COUNTA, IF, IFERROR, AND, OR, SUMIF, SUMIFS, COUNTIF, COUNTIFS, exact-match VLOOKUP and XLOOKUP, ROUND, LEFT, RIGHT, LEN, TRIM, UPPER, LOWER, CONCAT, arithmetic, comparisons, percentages and absolute cell references. Use the displayed data and double quotes for text. For AND and OR, use comparisons or logical values. Text-cleaning tasks check letter case. This is a focused formula checker; it does not include Excel’s full feature set.

KEEP YOUR MOMENTUM

One more small step?

Try TRIM practiceBrowse all challenges

YOUR LEARNING JOURNEY

Look how far you’ve come.

Your progress is saved in this browser. Clearing browser data removes it.

Manage saved progress

This removes your completed-challenge history from this browser.