+ Reply to Thread
Results 1 to 4 of 4

Issues with creating an array of hyperlinks

Hybrid View

paul_cranberry Issues with creating an array... 03-13-2025, 11:27 AM
windknife Re: Issues with creating an... 03-13-2025, 10:49 PM
paul_cranberry Re: Issues with creating an... 03-14-2025, 11:03 AM
windknife Re: Issues with creating an... 03-14-2025, 02:00 PM
  1. #1
    Registered User
    Join Date
    03-13-2025
    Location
    USA
    MS-Off Ver
    365 for Business (Build 16.0.18702.20002) 64-bit
    Posts
    2

    Question Issues with creating an array of hyperlinks

    In my sample workbook (see attached), I have a number of tables organized horizontally across Sheet1. I want cell A2 to contain an alphabetized vertical array containing all table names as hyperlinks. Clicking a hyperlink should direct the user to the appropriate table. The array should expand or shrink as tables are added or removed. Needing a non-VBA solution.

    I've made a few attempts using the following formulas, but as you'll see in the attached file, no luck yet :/

    =HYPERLINK("#" & ADDRESS(1, COLUMN(C1:Q1)), TRANSPOSE(C1:Q1))

    =HYPERLINK("#" & ADDRESS(ROW(C1:Q7), COLUMN(C1:Q7)), C1:Q7)

    Thanks in advance for your help!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,873

    Re: Issues with creating an array of hyperlinks

    Hyperlink does not seem to work on spill array.
    Try this in A2 and copy down.
    =LET(
       a,FILTER($C$1:$Q$1,$C$1:$Q$1<>""),
       b,ADDRESS(1,FILTER(COLUMN($C$1:$Q$1),$C$1:$Q$1<>"")),
       c,SORT(TOCOL(a)),
       d,TOCOL(SORTBY(b,a)),
       IFERROR(HYPERLINK("#"&INDEX(d,ROW()-1,1),INDEX(c,ROW()-1,1)),"")
    )
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    03-13-2025
    Location
    USA
    MS-Off Ver
    365 for Business (Build 16.0.18702.20002) 64-bit
    Posts
    2

    Re: Issues with creating an array of hyperlinks

    Thank you so much! Awesome solution.

  4. #4
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,873

    Re: Issues with creating an array of hyperlinks

    You are welcome.

+ 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. [SOLVED] creating hyperlinks
    By pratu in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-01-2015, 07:24 AM
  2. Creating dynamic hyperlinks with VBA.
    By excellenthelp in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-30-2013, 08:25 AM
  3. Creating new Hyperlinks
    By rich_drummer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-30-2010, 08:45 PM
  4. Creating hyperlinks using VBA
    By vt804boy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-02-2009, 05:37 PM
  5. Creating hyperlinks in VBA
    By I Am Herenow in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-26-2008, 05:29 AM
  6. creating hyperlinks
    By Archana Jain in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-14-2005, 12:56 AM
  7. Issues with Hyperlinks in XL97
    By JK in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-27-2005, 09:05 PM

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