+ Reply to Thread
Results 1 to 4 of 4

Is it possible to populate a cell with a hyperlink but only show a shorter code?

  1. #1
    Registered User
    Join Date
    09-22-2011
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    13

    Is it possible to populate a cell with a hyperlink but only show a shorter code?

    Column A is for Product codes
    Column B is to be a hyper link which will be populated from column A.

    I am currently using this code In B1
    =IF(ISBLANK(A1),"",HYPERLINK("www.mydomain.co.uk/"&A1))

    If I typed zoo123 in column A1 then B1 will be http://www.mydomain.co.uk/zoo123

    But I would just like zoo123 to show in the field so as to not take up so much room.
    Or I would still like the A1 to populate B1 with the code but text saying "link" could always be there.
    Please help as this is the final piece of the puzzle. If it is not possible to do this then please let me know and I will give up on my quest.
    Kind regards
    Simon

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Is it possible to populate a cell with a hyperlink but only show a shorter code?

    Hi,

    =IF(ISBLANK(A1),"",HYPERLINK("www.mydomain.co.uk/"&A1,A1))

    or

    =IF(ISBLANK(A1),"",HYPERLINK("www.mydomain.co.uk/"&A1,"Link"))
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    02-12-2012
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Is it possible to populate a cell with a hyperlink but only show a shorter code?

    If(ISBLANK(A1),"",HYPERLINK("www.mydomain.co.uk/"&A1,a1))

    revert with result
    Click star icon of my post if my reply was of help

  4. #4
    Registered User
    Join Date
    09-22-2011
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Is it possible to populate a cell with a hyperlink but only show a shorter code?

    Thank you both are of great use. Many thanks!!!!!
    Kind regards
    Simon

+ 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