HomeGuides › How to Use LEFT, RIGHT, and MID
Text Manipulation

How to Use LEFT, RIGHT, and MID

Last updated: 2026-09-06

⚡ Quick Answer

String extraction functions allow you to parse specific character blocks from alphanumeric codes.

=MID(A2, 3, 4)

📊 Visual Demo

Book1 - Excel
HOME · INSERT · FORMULAS · DATA
fx =MID(A2, 3, 4)
ABCDE
11US-1092-NYLEFT(A2, 2)2 charactersUS
22US-1092-NYMID(A2, 4, 4)Start 3, Len 41092
33US-1092-NYRIGHT(A2, 2)2 charactersNY

🧠 Deep Dive

String extraction functions allow you to parse specific character blocks from alphanumeric codes.

Key Insights

  • Text functions are position-based (LEFT, RIGHT, MID).
  • FIND is case-sensitive, SEARCH is not.

Common Mistakes

  • Hard-coding character positions on variable data.

Pro Tips

  • Parse once into helper columns.
  • Test on longest/shortest strings.

FAQ

What does this formula do in plain English?

String extraction functions allow you to parse specific character blocks from alphanumeric codes.

Why is my formula not working?

Hard-coding character positions on variable data.

Does this work in Google Sheets?

Yes, this syntax is fully compatible with Google Sheets.

What is the most common mistake?

Hard-coding character positions on variable data.

Related Guides

How to Use TEXTJOIN in ExcelHow to Format Text Case in ExcelHow to Use the EXACT FunctionHow to Use SUBSTITUTE and REPLACEExcel Error Hub

Need Complete Playbooks?

Download our verified manuals covering ERP Cleanup and Modeling.

Explore Playbook Series (From ₹199)