Cellgrids Cellgrids
Home › Excel formulas › Text › TEXTBEFORE

TEXTBEFORE Function in Excel: Syntax, Examples and Free Practice

By Rinkesh Shah, founder of Cellgrids.

TEXTBEFORE is an Excel Text function. Returns the text that occurs before a given delimiter.

TEXTBEFORE syntax

=TEXTBEFORE(text, delimiter)

Arguments

When to use TEXTBEFORE

TEXTBEFORE is used to clean up and reshape text data pulled from other systems before reporting on it.

Practice TEXTBEFORE online, free

Open the live Excel-style spreadsheet and try TEXTBEFORE yourself. No Excel install or sign-up needed to start.

Practice TEXTBEFORE now →

Learn more

Read the tutorial: Extract text before or after a character.

More Text functions

Frequently asked questions

What does the TEXTBEFORE function do in Excel?

Returns the text that occurs before a given delimiter.

What is the syntax of TEXTBEFORE in Excel?

The syntax is =TEXTBEFORE(text, delimiter). text: The text to work with; delimiter: The character used to separate values.

Where can I practice TEXTBEFORE online for free?

Open the free live spreadsheet on Cellgrids and try TEXTBEFORE yourself. No Excel install is needed and you can start without signing up.

All Excel formulas · Cheat sheet · Excel exercises · Text functions · Excel case studies · Excel tutorials · Excel shortcuts