Formulas > =MID()

How To Use MID() Function in Google Sheets

Description

Returns a segment of a string.

How To Actually Use MID() in Sheets

MID(string, starting_at, extract_length)

Try MID yourself

In cell B1, use the MID function to extract 4 characters from the string in cell A1, starting at the 3rd character. The result should display the correct segment of the string.

Hints (2)

3 Better Sheets Tutorials

Wordle in a Google Sheet | Work in Progress

Wordle in a Google Sheet | Work in Progress

Building a clone of Wordle inside Google Sheets.
COLUMN() IF() INDEX() MID() TEXT()
How To Replace First Word | Great for SEO keyword research

How To Replace First Word | Great for SEO keyword research

Replace and find word will search your documents for specific text, replaced with different text, or you can replace it with something else.
MID()
5 Ways to Create Coupon Codes | Create UUIDs

5 Ways to Create Coupon Codes | Create UUIDs

Generate Coupon Codes with 5 Levels of Difficulty - From Copy-Pasting to Advanced Google Sheets Formulas. Get up to thousands of unique codes easily! Watch now for coupon mastery inside of Google Sheets.
CHAR() DEC2HEX() MID() RANDBETWEEN()

Learn more about the MID() formula:

Generate a MID() formula for your needs

Describe your task in plain English and get a paste-ready formula that uses MID(). 2 free AI generations, no signup. Members get unlimited use.

Generate a MID() formula