I have a column with hyperlinks formula in it, for example:
=HYPERLINK(\"http://example.com\", \"Link\")
I want to get additional column, w
You can use Google Apps Script and a combination of Macros, Menus, and Custom Functions to extract the value of the hyperlink out of the cell's formula.
Here's how it would work:
Code.gs
Code.gs
with the contents from this Pastebin, taken from this Google Docs Help Forum
topic=HYPERLINK
functionsExtract -> Replace formulas with Text strings
to initiate the scriptThe macro will recursively extract out the URL of the hyperlink function, leaving you with just the value.
Note: Always make a backup of your work before making any changes.
I would recommend performing this task on a duplicate spreadsheet or at a minimum a copy of the original cells in case anything should go wrong of if you wish to retain the original cell's content or formatting.