+ Reply to Thread
Results 1 to 9 of 9

Simple Test To Return "YES" or "NO" if an adjacent cell contains a hyperlink to a link

  1. #1
    Registered User
    Join Date
    09-18-2021
    Location
    UK
    MS-Off Ver
    2013
    Posts
    25

    Simple Test To Return "YES" or "NO" if an adjacent cell contains a hyperlink to a link

    Dear all is there a non-VBA way to test if a cell has a hyperlink property within it that points to a google drive file? If not can you please help with some VBA to be able to return a "YES" or "NO" if an adjacent contains a hyperlink

    Many Thanks and happy new year to you all

  2. #2
    Valued Forum Contributor
    Join Date
    06-23-2021
    Location
    Romania
    MS-Off Ver
    2021, 365 v 2208
    Posts
    722

    Re: Simple Test To Return "YES" or "NO" if an adjacent cell contains a hyperlink to a link

    Maybe this UDF
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Diana Tanase


    If the solutions offered helped you to solve your problem, then mark the thread as SOLVED (thread tools in the top menu) and you can click on * to add reputation to those who helped you, as a way to say thank you !

  3. #3
    Registered User
    Join Date
    09-18-2021
    Location
    UK
    MS-Off Ver
    2013
    Posts
    25

    Re: Simple Test To Return "YES" or "NO" if an adjacent cell contains a hyperlink to a link

    Tanasedn

    Thank you - reading over my question maybe I was not 100% clear in the way I asked the question. The hyperlink is not really in the cell as opposed to inserting a hyperlink as a property IE right-click > hyperlink
    I have inserted a screenshot to show how I insert the hyperlink - thank you Attachment 812059

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Simple Test To Return "YES" or "NO" if an adjacent cell contains a hyperlink to a link

    Hi there.

    A picture is worth 1,000 words. An Excel sheet is worth 1,000 non-editable pictures.

    Please read the yellow banner about sample worksheets, at the top of the screen. Act on its guidelines and post a SMALL sample sheet complete with an explanation and some expected results.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Registered User
    Join Date
    09-18-2021
    Location
    UK
    MS-Off Ver
    2013
    Posts
    25

    Re: Simple Test To Return "YES" or "NO" if an adjacent cell contains a hyperlink to a link

    Ah yes I see what you mean - thank you for the heads up. I will do this

    Many Thanks

    -Peter

  6. #6
    Registered User
    Join Date
    09-18-2021
    Location
    UK
    MS-Off Ver
    2013
    Posts
    25

    Re: Simple Test To Return "YES" or "NO" if an adjacent cell contains a hyperlink to a link

    SO here attached is the example sheet
    what I would like to do for the column E to show either YES or NO if the adjacent column D has a hyperlink within its properties IR right click > hyperlink ( and not simply within the cell )

    Thank you
    Attached Files Attached Files

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Simple Test To Return "YES" or "NO" if an adjacent cell contains a hyperlink to a link

    Please Login or Register  to view this content.

    Paste into a module and save as xlsm.

    =IF(ishyperlink(D4),"Yes","No")
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    09-18-2021
    Location
    UK
    MS-Off Ver
    2013
    Posts
    25

    Re: Simple Test To Return "YES" or "NO" if an adjacent cell contains a hyperlink to a link

    wow works great - thank you soooooooo much - 20 minutes on here is 100% better than hours and hours on google -

    Thank you

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Simple Test To Return "YES" or "NO" if an adjacent cell contains a hyperlink to a link

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 02-05-2019, 12:03 AM
  2. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  3. Replies: 5
    Last Post: 01-23-2014, 11:02 AM
  4. [SOLVED] Test for blank cell should be "True" but "False" action is taken.
    By Aceso in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 02-09-2013, 05:47 PM
  5. Return "green", "yellow" or "red" from date/age and priority ranking
    By Cantaloop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-04-2013, 12:12 AM
  6. Replies: 3
    Last Post: 02-16-2011, 02:55 PM
  7. Replies: 1
    Last Post: 01-30-2006, 06:10 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1