How to get url text out of field with HYPERLINK in it

后端 未结 4 1101
醉梦人生
醉梦人生 2021-01-11 20:29

I have a column with hyperlinks formula in it, for example:

=HYPERLINK(\"http://example.com\", \"Link\")

I want to get additional column, w

4条回答
  •  粉色の甜心
    2021-01-11 20:56

    Try this formulas

    A2=index(SPLIT(SUBSTITUTE(FORMULATEXT(A1),"=HYPERLINK(""",""),""","""),1,1)
    

    example

    A1=HYPERLINK("http://example.com", "Link")
    

    result is

    A2=http://example.com
    

提交回复
热议问题