Formula Library

Excel Formula To Remove Query String From Url In Analytics Event Text

Remove query strings from URLs in analytics event text with a ready-to-use formula for Excel, Google Sheets, and WPS.

Quick answer

Remove query string from url in analytics event text.

Unified formula

ExcelWPS
=IFERROR(TEXTBEFORE(A2, "?"), A2)
View platform differences

Google Sheets

=IFERROR(INDEX(SPLIT(A2, "?"), 1), A2)

How it works

Need a custom version?

Related formulas