Formula Library

Excel Formula To Extract Subdomain Level 3 From Url In Product Feed Text

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

Quick answer

Extract subdomain level 3 from url in product feed 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