+ Reply to Thread
Results 1 to 4 of 4

Inserting hyperlinks on excel

  1. #1
    Registered User
    Join Date
    05-02-2012
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2007
    Posts
    36

    Inserting hyperlinks on excel

    Hi again dear Wizards,

    Please help me to automate my spreadsheet.

    I want to automate cell A1 for example that if I encode particular data and data itself will convert to a hyperlink that will direct to a particular website.

    If a A1 contains letters "SAFM"+any number like (SAFM556483055) it will convert to a hyperlink and whenever I click it, it will direct me to this website address [http://mysaf2.safmarine.com/wps/port...afmarine/Home]

    and, MAEU999999999 to http://www.maerskline.com/appmanager...g3_trackSimple

    and MSCHH9999999 to http://www.mscgva.ch/tracking/index.html

    Please... and thank you sooooo much!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Inserting hyperlinks on excel

    Create a table on the side of the 4 letter acronymns and in the next column put the associated websites.

    Now assuming you have MAEU999999999 in A1, and you put the table in J2:K3, then use formula:

    =HYPERLINK(VLOOKUP(LEFT(A1,4),$J$2:$K$4,2,0))

    adjust ranges to suit.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-02-2012
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2007
    Posts
    36

    Re: Inserting hyperlinks on excel

    Hi sir! Nice to meet you again here.

    Is the MAEU999999999 itself here will become a hyperlink? like it will show as an underlined blue-colored text?

    Thnaks.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Inserting hyperlinks on excel

    No, that would require VBA... my suggestion was to use a formula in an adjacent cell.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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