+ Reply to Thread
Results 1 to 3 of 3

can you dislplay a hyperlink as an answer?

  1. #1
    Registered User
    Join Date
    02-14-2012
    Location
    High Desert, CA
    MS-Off Ver
    Excel 2010
    Posts
    37

    can you dislplay a hyperlink as an answer?

    I need a spreadsheet that produces an output with a hyperink. All the formulae are worked out, it is a logical with AND condition, when both conditions are met, I need to return a clickable url, not merely a text to be copied into a browser's adrees bar, is that doable? By the way, ideally, if the conditions are false, I want to diplay text that is NOT a hyperlink, if true dispaly a hyperlink.

    Not idea but acceptable, i can return a hyperlink if true, and nothing if false.

    Any ideas?

    Thaks in advance

    here is the formula in the cell in question:

    =IF(AND(A3="test",E3<=101),"http://google.com","Data entered in the above cells is incorrect")
    Last edited by Omegaman2; 11-19-2012 at 04:39 PM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: can you dislplay a hyperlink as an answer?

    you could try
    =IF(AND(A3="test",E3<=101),HYPERLINK("http://google.com","google"),"Data entered in the above cells is incorrect")
    then to make it look like a hyperlink as at the moment although it says google and is clickable itys not obvious
    conditional format as cell value ="whatever your friendly name is" in this case ="google"
    chose blue font and underscore
    Last edited by martindwilson; 11-18-2012 at 07:22 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    02-14-2012
    Location
    High Desert, CA
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: can you dislplay a hyperlink as an answer?

    Thanks so much, this worked fine. I din't try making the link blue and underlined, I just made my friendly name "Click Here", good enough for my purposes. I did have an issue where Excel told me my link was invalid (or something to that effect). The URL was to a subdomain, but when I pointed it to the main domain it worked fine. Later, i specified a subdomain and it worked, maybe I had a comma instead of a period or some other sort of typo or syntax error that I missed, I don't know. Anyway, thanks again.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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