LEFT Function | How to Extract the Beginning of a Text in Google Sheets

In Google Sheets, when you need to extract a certain number of characters from the beginning of a string, the LEFT function is your go-to tool. It’s especially useful for parsing names, product codes, dates, and standardized prefixes in practical spreadsheet automation.


✅ LEFT Function Syntax

LEFT(text, [num_chars])

text: The string you want to extract from
[num_chars]: (optional) Number of characters to extract from the left. Defaults to 1 if omitted


✅ Basic Examples

A Column (Original)FormulaResult
Apple=LEFT(A2, 3)App
2025-07-18=LEFT(A3, 4)2025
G-12345=LEFT(A4, 1)G
대한민국서울=LEFT(A5, 3)대한
  • Whether the text includes numbers, Korean, or English, LEFT always counts characters from the start.
  • For Korean text, each syllable block is counted as one character.

✅ Practical Example ①: Extracting Last Names

When full names are entered and you want just the surname:

A Column (Full Name)FormulaResult
김철수=LEFT(A2, 1)
박지윤=LEFT(A3, 1)

✅ Practical Example ②: Extracting Year from Date Strings

A Column (Order Date)FormulaResult
2024-11-02=LEFT(A2, 4)2024

• Since the year always appears at the start, you can extract it consistently using LEFT(text, 4)


✅ Practical Example ③: Extracting Product Code Prefix

A Column (Code)FormulaResult
ABC-4533=LEFT(A2, 3)ABC
BX-1123=LEFT(A3, 2)BX

• Useful when product codes follow fixed patterns


✅ Practical Example ④: Extracting Region Code

A Column (Address Code)FormulaResult
SEOUL-0312=LEFT(A2, 5)SEOUL

✅ Common Mistakes

  1. Omitting num_chars returns only 1 character
     → =LEFT("Seoul") returns S
  2. LEFT always returns a string—even if input is numeric
     → =LEFT(12345, 2) returns "12" (as a string)

✅ When Should You Use LEFT?

  • To extract family names from full names
  • To get year, region codes, or specific prefixes in structured data
  • In combination with functions like IF, ARRAYFORMULA, or REGEX for automated workflows

✅ Summary

ItemDescription
PurposeExtract characters from the start
SyntaxLEFT(text, [num_chars])
Korean handlingEach syllable counts as one character
DefaultOmitting num_chars returns 1 char

🔔 Was this helpful?
Taskmellow provides practical automation tutorials using Google Sheets functions.
For more insights, follow the blog and stay updated with real-world use cases!

Similar Posts

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다