Excel Formula To Pull Text Before A Comma In A Text String
Pull text before a comma a text string with a ready-to-use formula for Excel, Google Sheets, and WPS.
Quick answer
Unified formula
ExcelWPS
=TEXTBEFORE(A2, ",")View platform differences
Google Sheets
=INDEX(SPLIT(A2, ","), 1)How it works
- Replace the sample range (like A2:A) with your real range.
- Keep the same column order used in the example.
- Fill down to apply the formula to every row.