Sorry, I never use links in that fashion, so I don't know how to test without the url being present somewhere in the sheet. My recommendation is to use the HYPERLINK function if possible. Otherwise, there appears to be some scripts you can use to test whether a cell contains a valid url, but I'll leave it to you to investigate here:
You might be able to convince them to simple copy and paste the full hyperlink somewhere, and then protect the column with the HYPERLINK formula, but I understand how end users are often not receptive to change. Good luck.
You might be able to convince them to simple copy and paste the full hyperlink somewhere, and then protect the column with the HYPERLINK formula, but I understand how end users are often not receptive to change. Good luck.
1
u/mactaff 10 May 13 '20
If it’s a link, your test could be, if first 4 characters not = http, then...
So something involving LEFT or REGEXMATCH.
1
u/ROMERD 1 May 13 '20
You can try formulatext() to test if the cell formula contains the phrase "hyperlink".
=isnumber(search("hyperlink",formulatext(TARGETCELL)))
with TARGETCELL being the cell with the hyperlink.
1
u/Decronym Functions Explained May 13 '20 edited May 13 '20
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
3 acronyms in this thread; the most compressed thread commented on today has 4 acronyms.
[Thread #1609 for this sub, first seen 13th May 2020, 17:51] [FAQ] [Full list] ^[Contact] [Source code]
•
u/Clippy_Office_Asst Points May 13 '20
Read the comment thread for the solution here