Formula Library

Excel Formula To Get Text Before A Slash In Raw Text

Get text before a slash raw text with a ready-to-use formula for Excel, Google Sheets, and WPS.

Quick answer

Get text before a slash raw text.

Unified formula

ExcelWPS
=TEXTBEFORE(A2, "/")
View platform differences

Google Sheets

=INDEX(SPLIT(A2, "/"), 1)

How it works

Need a custom version?

Related formulas