+ Reply to Thread
Results 1 to 3 of 3

Hyperlink formula needs tweeking

  1. #1
    Registered User
    Join Date
    06-14-2013
    Location
    Hoddesdon
    MS-Off Ver
    Excel 2007
    Posts
    2

    Hyperlink formula needs tweeking

    Hi,

    Not sure if this is the correct place to post, but need help correcting my formula. I'll explain...

    I have an excel of over 1000s companies that I need to individually get the website address for, so far I have used the Hyperlink forumla and a google search url to bring up a hyperlink that when clicked on takes me straight to the google search of that company... for example...

    Company Name
    Apple

    Company Website
    =HYPERLINK("http://www.google.com/search?hl=en&q=" & A2 & "&btnG=Google+Search")

    Which takes me to this url http://www.google.com/search?hl=en&q...=Google+Search

    I don't actually want it to take me to the google search, I want it to pull the first webiste address it finds on the google search (in the same way Google's "I'm feeling lucky" button works).

    So my question is.... Does anyone know how to tweek this formula so that it returns the first result on the google page?

  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: Hyperlink formula needs tweeking

    have you tried
    =HYPERLINK("http://www.google.com/search?q="&A1&"%22&btnI=I%27m+Feeling+Lucky")
    "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
    06-14-2013
    Location
    Hoddesdon
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Hyperlink formula needs tweeking

    Perfect, thank you.

+ 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