how strip links

uyus62
uyus62 ✭✭
edited 08/30/22 in Smartsheet Basics

How i can strips links in next sheet

Let Me give you example :https://petseatable.com/what-do-beavers-eat/

wanted to strip this and just write petseatable.com in next column.


How i can do this?

Answers

  • Neil Watson
    Neil Watson ✭✭✭✭✭✭

    This is how I would do it, the formula in the last column is the only one needed, the others show how it works:

    =FIND("//", [Primary Column]@row)

    =FIND("/", [Primary Column]@row, 9)

    =FIND("/", [Primary Column]@row, FIND("//", [Primary Column]@row) + 2)

    =MID([Primary Column]@row, [Find //]@row + 2, [Find / Ver 2]@row - [Find //]@row - 2)

    =MID([Primary Column]@row, [Find //]@row + 2, FIND("/", [Primary Column]@row, FIND("//", [Primary Column]@row) + 2) - FIND("//", [Primary Column]@row) - 2)