从子域中提取 URL 根域(Google 电子表格)

问题描述 投票:0回答:1

我需要从谷歌电子表格上的子域中提取根域 Google 表格示例

我想要的结果如下: ddd.example.com > example.com www.ddd.example.com -> example.com

从子域列表中获取根域

google-sheets google-sheets-formula
1个回答
0
投票

尝试以下公式-

=TEXTJOIN(".";1;CHOOSECOLS(SPLIT(A2;".");-3;-2;-1))

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.