0 of 62
Text·Lesson 37 of 62Pro

How to use MID in Google Sheets

Take characters from the middle

How MID works

MID returns characters from the middle of text, starting at a position you choose.

MID(text, start, how many)
Example on this data
=MID(B3,1,5)→jchen

The first 5 characters of the email in row 3.

What you’ll do

You’ll pull the number out of the middle of a SKU. Grabbing characters from a set position helps when codes follow a fixed pattern.

Try it

Type =MID(B3,1,5) into G2 and press Enter. Watch what the sheet does.

The result will appear in G2.

G2
ABCDEFG
1Full nameEmailSKUNote
2 maria lopez maria.lopez@acme.comWID-2041-BLUCall back 555-0142
3james chenjchen@northwind.ioGAD-1180-REDSent invoice
4Priya Shahpriya@shahdesign.coWID-3307-GRNCall back 555-0199
5tom o'neiltom.oneil@acme.comBOX-0042-BLULeft voicemail
6Lena Park lena.park@globex.comGAD-2215-BLKCall back 555-0107
7sam reedsreed@northwind.ioWID-0918-REDMeeting Tue
Ctrl+/ shows the shortcuts