+ Reply to Thread
Results 1 to 14 of 14

Google search link of text in Column A help?

  1. #1
    Registered User
    Join Date
    09-19-2013
    Location
    Colorado
    MS-Off Ver
    Excel 2007
    Posts
    11

    Google search link of text in Column A help?

    Hi guys, I have been looking for this info and decided to sign up and ask.

    I have a long list of Titles in Column A. I want to be able to paste a link into Column B and it automatically searches the text next to it. I would like it to be simple. Something that is the same for every row, so I can bulk copy and paste.

    Thanks guys! Any help would be appreciated!

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Google search link of text in Column A help?

    Hi,

    "I want to be able to paste a link into Column B and it automatically searches the text next to it."

    And what does it do with the results of this search?

    Also, you say "searches the text next to it" - so a link pasted into cell B1 would search the text in cell A1 only? Search for what? Return what?

    I think you'd be strongly advised to upload a workbook with some examples and your expected results.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    09-19-2013
    Location
    Colorado
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Google search link of text in Column A help?

    OK, thanks for the fast response.

    Here is an example,

    Random Title | LINK
    Randsm Title | LINK

    Where LINK leads to
    https://www.google.com/search?q=Random+Title
    https://www.google.com/search?q=Randsm+Title

    Which opens in a new browser tab/window. Basically googling the info in Column A.

    But I only put a generic script to get me there. So the syntax? is the same for both Column B1 and B2.

    Thanks, Brian

  4. #4
    Registered User
    Join Date
    09-19-2013
    Location
    Colorado
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Google search link of text in Column A help?

    Ok So I found this,

    =HYPERLINK("http://www.google.com/search?hl=en&q=")&A2

    This works, but would require me to enter the target cell every time. Also, if I adjust the rows, which I do frequently, I would break all the changed cells, the links would target the wrong cell. So what I would like help with is changing the above hyperlink to get the value from column A of the current row it is in.

    Thanks, Brian

  5. #5
    Valued Forum Contributor
    Join Date
    05-13-2010
    Location
    Belo Horizonte, Brazil
    MS-Off Ver
    Excel 2003; 2007
    Posts
    441

    Re: Google search link of text in Column A help?

    brianroe88, Good morning.

    Try to use: =HYPERLINK("http://www.google.com/search?hl=en&q=")&INDIRECT("A",ROW())

    Is it what you desire?
    Please tell us if it worked for you.

    Regards from Brazil.
    ...If my answer helped you, Please, click on. * Add Reputation (at left)

    Best regards.
    Marc?lio Lob?o

  6. #6
    Forum Contributor
    Join Date
    09-11-2013
    Location
    Huntsville, AL
    MS-Off Ver
    Excel 2007
    Posts
    180

    Re: Google search link of text in Column A help?

    Brian, assuming there is no line breaks you can double click on the black square on the bottom right of the highlighted cell in B2 and it will correctly carry the formula down the entire row.

  7. #7
    Registered User
    Join Date
    09-19-2013
    Location
    Colorado
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Google search link of text in Column A help?

    Marcilio, That doesn't work. It give me an error, I think 508?

    Gregg, That works, but every time I change the amount of rows, I would have to delete it and redo it. If there aren't any other options it is relatively painless to just delete the column and start again after each edit... So that is an option.

    Thanks so much for your replies! I am still looking for an option if anyone had ideas...

    Brian

  8. #8
    Registered User
    Join Date
    09-19-2013
    Location
    Colorado
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Google search link of text in Column A help?

    OK, so I tried adding some rows, using Gregg's idea of expanding the link to the entire column, (start with =HYPERLINK("http://www.google.com/search?hl=en&q=")&A2 and double click the black box. The links below (that change row numbers, automatically updated to the new cells, keeping their relative positions and working as I thought they should.

    I think this will work, unless someone has an other idea?

    Brian

  9. #9
    Forum Contributor
    Join Date
    09-11-2013
    Location
    Huntsville, AL
    MS-Off Ver
    Excel 2007
    Posts
    180

    Re: Google search link of text in Column A help?

    You could make it an Excel table. Highlight your current region and go to the insert ribbon select table and it will automatically insert a formula when a user creates a new row.

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

    Re: Google search link of text in Column A help?

    Marcilio, That doesn't work. It give me an error, I think 508
    that is not an excel error code

    its from open office i believe

    508 Error: Pair missing For example, closing parenthesis without opening parenthesis
    or missing closing parenthesis in the middle of the formula (missing
    closing parenthesis at the end of a formula is added automatically).
    having said that
    =HYPERLINK("http://www.google.com/search?hl=en&q=")&A2
    works fine in open office
    if you have put in this
    = (start with =HYPERLINK("http://www.google.com/search?hl=en&q=")&A2) you will get a :508 error
    Last edited by martindwilson; 09-19-2013 at 01:36 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

  11. #11
    Registered User
    Join Date
    09-19-2013
    Location
    Colorado
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Google search link of text in Column A help?

    I have this spreadsheet on my mac.... So I have been using OpenOffice instead of buying excel again (since it is on my PC) I should have stated that this needed to work with both. Also would like it to work with Google Spreadsheet as well.

    I think I can make the extend selection work. I have it up and running.

    Unless there are any other suggestions?

    Brian

  12. #12
    Forum Contributor
    Join Date
    09-11-2013
    Location
    Huntsville, AL
    MS-Off Ver
    Excel 2007
    Posts
    180

    Re: Google search link of text in Column A help?

    Can you run a spreadsheet event macro on those products?

  13. #13
    Registered User
    Join Date
    09-19-2013
    Location
    Colorado
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Google search link of text in Column A help?

    I am not that up on excel programing... what would an event macro do?

    Thanks for the extend selection tip. I have resorted and edited it and sorted back, all the links still work

    Brian

  14. #14
    Forum Contributor
    Join Date
    09-11-2013
    Location
    Huntsville, AL
    MS-Off Ver
    Excel 2007
    Posts
    180

    Re: Google search link of text in Column A help?

    Hyperlink.xlsm

    Hi Brian,

    If macros work on the other products, this workbook is updated to add a hyperlink anytime data is inserted in column A.

    Thanks,

    Gregg

+ 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. How to make DataVal predictive text just like google search
    By vietdieu in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-09-2013, 10:06 PM
  2. Get data from Excel + Search in Google only Web + Enter to a new column in Excel
    By markandan26 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-21-2012, 01:27 AM
  3. Get from Table + Search in Google + Enter to a new column
    By tahiryildiz in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-18-2012, 12:02 AM
  4. A Google like search of a arbitrary text string in a complete woorkbook
    By Henrikks in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-11-2011, 12:26 PM
  5. Replies: 0
    Last Post: 11-05-2009, 04:47 AM

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