+ Reply to Thread
Results 1 to 11 of 11

Merge multiple hyperlinks into one cell

Hybrid View

Simon133 Merge multiple hyperlinks... 01-23-2024, 11:00 PM
6StringJazzer Re: Looking for a script... 01-23-2024, 11:39 PM
Simon133 Re: Looking for a script... 01-24-2024, 12:32 AM
Simon133 Re: Looking for a script... 01-29-2024, 10:19 AM
6StringJazzer Re: Looking for a script... 01-29-2024, 11:46 AM
Simon133 Yes this is what I need, can... 01-29-2024, 03:17 PM
6StringJazzer Re: Merge multiple hyperlinks... 01-23-2024, 11:40 PM
AliGW Re: Merge multiple hyperlinks... 01-24-2024, 03:02 AM
ByteMarks Re: Merge multiple hyperlinks... 01-24-2024, 08:37 AM
Simon133 Thanks for the reply but... 01-29-2024, 03:21 PM
6StringJazzer Re: Merge multiple hyperlinks... 01-29-2024, 04:03 PM
  1. #1
    Registered User
    Join Date
    01-23-2024
    Location
    Canada
    MS-Off Ver
    2013 64 bits
    Posts
    6

    Merge multiple hyperlinks into one cell

    Hi, I'm new here, I'm looking for help please

    I have a excel table with Product name in column A and picture links in column B

    Each link have its own row example column A there's product row X1 X2 X3 (the same product) because there 3 picture links for the same product and Y1 Y2 Y3 Y4 = 4 links etc

    I need to merge the links in one cell for each products

    I don't know if that's clear

    Thanks in advance
    Screenshot 2024-01-23 215209.png
    Last edited by 6StringJazzer; 01-23-2024 at 11:40 PM. Reason: better titles please

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,995

    Re: Looking for a script please

    Welcome to the Forum Simon133!

    In Excel you cannot have more than one hyperlink in one cell.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    01-23-2024
    Location
    Canada
    MS-Off Ver
    2013 64 bits
    Posts
    6

    Re: Looking for a script please

    ok what about regular text how can i do it ?

  4. #4
    Registered User
    Join Date
    01-23-2024
    Location
    Canada
    MS-Off Ver
    2013 64 bits
    Posts
    6

    Re: Looking for a script please

    yes you can have multiple hyperlink in the same cell if they are separated by this symbol |
    is there a visual basic script for something similar to xlookup for this i have over 12,000 links that i need to merge

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,995

    Re: Looking for a script please

    ByteMarks has the best solution.
    Quote Originally Posted by Simon133 View Post
    yes you can have multiple hyperlink in the same cell if they are separated by this symbol
    You can have the text for multiple URLs in the same cell, but a cell can only have one hyperlink. They are not the same thing.

  6. #6
    Registered User
    Join Date
    01-23-2024
    Location
    Canada
    MS-Off Ver
    2013 64 bits
    Posts
    6
    Quote Originally Posted by 6StringJazzer View Post
    ByteMarks has the best solution.

    You can have the text for multiple URLs in the same cell, but a cell can only have one hyperlink. They are not the same thing.
    Yes this is what I need, can you help me merge them as text
    ?

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,995

    Re: Merge multiple hyperlinks into one cell

    Administrator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #1 requires good titles. I have updated it for you this time because you are a new member. --6StringJazzer

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,064

    Re: Merge multiple hyperlinks into one cell

    Shall I move this to the Formulas section? It seems to be in the wrong forum section.

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  9. #9
    Forum Expert ByteMarks's Avatar
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    3,086

    Re: Merge multiple hyperlinks into one cell

    I was thinking you could perhaps create a data validation list for each of the hyperlinks (programmatically), then in an adjacent column use the =Hyperlink formula to follow whichever one is chosen.

    For example:
    Attached Images Attached Images

  10. #10
    Registered User
    Join Date
    01-23-2024
    Location
    Canada
    MS-Off Ver
    2013 64 bits
    Posts
    6
    Quote Originally Posted by ByteMarks View Post
    I was thinking you could perhaps create a data validation list for each of the hyperlinks (programmatically), then in an adjacent column use the =Hyperlink formula to follow whichever one is chosen.

    For example:
    Thanks for the reply but that's not what I want to do for exemple I need to merge link from row 2,3,4 into one cell same for 5,6 into one cell and 7 to 12 into one cell is there a way to automate this I have a couple thousand to do

  11. #11
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,995

    Re: Merge multiple hyperlinks into one cell

    If you don't need to click on them to go to those URLs, and you just care about the text, then you can use this in row 1 and copy down

    Formula: copy to clipboard
    =TEXTJOIN(",",TRUE,C1:Z1)

    where C1:Z1 is the range of columns that could contain a URL. Use the row with the most URLs to set this range; blank ones will be ignored.

+ 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. Office Script (Not VBA) To Grab Username who Initiated Script?
    By Norcal1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-16-2023, 04:15 AM
  2. Need A Fast Script To Copy 80000 Cells But My Current Script Is Too Slow
    By Genus Max in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-20-2019, 09:54 AM
  3. calling the vb script from the shell script(unix platform)
    By chandanp in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2014, 06:21 AM
  4. Integrating Mainframe emulator script with excel's vba script
    By Himanshu Mishra in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-07-2012, 10:30 AM
  5. Create VBA script to short, dedicated button in excel for script?
    By realized in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-01-2009, 11:54 PM
  6. Script that edits the text printed on the button that runs the script
    By petalred in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-18-2008, 02:41 PM

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