Formula Library

Excel Formula To Extract Subdomain Level 3 From Url In Support Ticket Text

Extract subdomain segments from URLs in support ticket text with a ready-to-use formula for Excel, Google Sheets, and WPS.

Quick answer

Extract subdomain level 3 from url in support ticket text.

Unified formula

ExcelWPS
=LET(host,TEXTBEFORE(TEXTAFTER(A2,"//"),"/"), TEXTBEFORE(host, "."))
View platform differences

Google Sheets

=IFERROR(REGEXEXTRACT(A2, "https?://([^.]+)\."), "")

How it works

Need a custom version?

Related formulas