LEN, LEFT, RIGHT, and MID

Learn LEN, LEFT, RIGHT, and MID together: syntax, examples for codes and names, and how they pair with FIND for flexible parsing.

=LEFT(A2, 3) & " / " & RIGHT(A2, 2)

Key takeaways

What it does

LEN returns how many characters are in a cell. LEFT, RIGHT, and MID return a portion of that text from the start, end, or a starting position.

Syntax

=LEN(text) =LEFT(text, [num_chars]) =RIGHT(text, [num_chars]) =MID(text, start_num, num_chars)

When to use it

Pull area codes, file extensions, product prefixes, or fixed-width fields from imported text.

Common mistakes

• Off-by-one start positions in MID. • Counting spaces you meant to trim. • Using LEFT/RIGHT when a delimiter-based split is safer.

How to practice

Open a blank sheet and recreate the canonical pattern =LEFT(A2, 3) & " / " & RIGHT(A2, 2) with your own sample data.

Change one input at a time and predict the result before Excel calculates—prediction builds memory.

Break the formula on purpose (wrong range, missing quotes, approximate match) so you recognize the error messages later.

Then run the linked Excel Practices lesson len-left-right-mid-practice and keep going until you can finish without hints.

Real-world scenarios

LEN, LEFT, RIGHT, and MID shows up outside textbooks all the time:

• A teammate pastes a CSV and asks for a quick answer that matches this skill (Measure text length and pull characters from the start, end, or middle of a string—the core text-extraction toolkit.) • A hiring screen or certification task expects the same pattern under a timer • A dashboard breaks after a column insert and you need to re-anchor ranges confidently

Write the formula once in a sandbox tab, then copy it into the live model only after the result matches a manual spot-check.

Pre-flight checklist

Before you trust the output:

• Confirm data types (numbers vs text, real dates vs date-looking strings). • Lock rate/input cells with absolute references when you will fill down. • Spot-check two or three rows with a second method (filter + total, or a tiny helper column). • Document assumptions in a nearby comment so the next editor knows the rule. • Keep a named example cell with =LEFT(A2, 3) & " / " & RIGHT(A2, 2) as a living template for this text skill.

Why this matters

Clear documentation of LEN, LEFT, RIGHT, and MID helps humans scan quickly and helps AI assistants cite accurate Excel guidance. That is why this page leads with a definition, shows syntax, lists mistakes, and ends with practice—so you can learn it once and reuse it under pressure.

Formula examples

FAQ

How do I extract the first characters of a cell?

Use LEFT, for example =LEFT(A2, 3) for the first three characters.

How do LEN and MID work together?

LEN tells you the size of the string; MID returns a slice when you know the start position and length.

How long does it take to learn LEN, LEFT, RIGHT, and MID?

Most learners can read this guide in a few minutes and lock the pattern with 10–20 focused practice reps on Excel Practices.

Where should I practice LEN, LEFT, RIGHT, and MID after reading?

Use the formula cards on this page first, then continue in Excel Practices with a live grid and instant checks so mistakes become feedback instead of bad habits.

Does LEN, LEFT, RIGHT, and MID still matter if I know newer Excel features?

Yes. Assessments, shared workbooks, and older files still expect these fundamentals—and understanding them makes modern functions easier to debug.

Drill LEN, LEFT, RIGHT, and MID inside Excel Practices—guided steps, a live grid, and instant checks so the formula sticks.

Excel practice hub · Free lessons · Blog