1. What is the MID Function & How Does It Work?
Unlike LEFT (which starts at position 1) and RIGHT (which starts at the end), the MID function allows you to specify any arbitrary starting character position and slice out a slice of text right out of the middle!
Formula Anatomy: The 3 Parameters of MID()
=MID( text , start_num , num_chars )Source Cell Reference
The cell (e.g. A2) containing the raw string.
A2 = "SKU-9842-NYC"Where to start?
1-based index position of the first character to extract.
5 (Starts at "9")How many characters?
Number of characters to extract starting from start_num.
4 (Extracts "9842")2. Real-World Analytics Scenarios for MID
🔢 Scenario A: Middle Serial Numbers
Isolate the 4-digit serial number from SKU-9842-NYC.
=MID(A2, 5, 4) ➔ "9842"🌐 Scenario B: Email Domain Parsing
Combine MID with SEARCH("@", A2) to dynamically extract email domain names.
=MID(A2, SEARCH("@", A2)+1, 100)👤 Scenario C: Middle Names / Initials
Extract middle initial from full name strings like Johnathan Q. Public.
=MID(A2, 11, 2) ➔ "Q."🎮 Live Interactive MID Precision Slicer
Type text and adjust start_num & num_chars sliders to watch middle characters glow in real-time!
🔍 Visual Middle Extraction Highlight
Starting at Pos 5 ➔ Extracting 4 characters=MID(A2, 5, 4)