Excel Formula To Extract Subdomain Level 2 From Url In Crm Export Text
Extract subdomain segments from URLs in crm export text with a ready-to-use formula for Excel, Google Sheets, and WPS.
Quick answer
Unified formula
ExcelWPS
=LET(host,TEXTBEFORE(TEXTAFTER(A2,"//"),"/"), TEXTBEFORE(host, "."))View platform differences
Google Sheets
=IFERROR(REGEXEXTRACT(A2, "https?://([^.]+)\."), "")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.