Forum Discussion
tachyglossus
Apr 06, 2020Copper Contributor
How can I extract URL from hyperlinks?
I have a worksheet where one column contains hyperlinks (like created with =HYPERLINK(link;text)). How can I create a formula extracting link urls from those hyperlinks? I've tried dozen of search qu...
SergeiBaklan
Jan 01, 2022Diamond Contributor
As variant
=LET(
range, A1:A2,
str, FORMULATEXT( range ),
start, FIND( """", str )+1,
end, FIND( """", str, start ),
MID( str, start, end-start ) )
anupambit1797
Dec 17, 2023Iron Contributor
HiSergeiBaklan , I tried to use this LET function, to extract the URL, but getting #NA, can you please share a sample spreadsheet with this function used?
Thanks in Advance,
Br,
Anupam
- LanserJMay 15, 2024Copper Contributor
the #N/A is caused by FormulaText function if the Hyperlink is set by the Edit Hyperlink editor then there is no formula to extract the text from.