+ Reply to Thread
Results 1 to 7 of 7

Pulling a Hyperlink through to a cell using INDEX and MATCH

  1. #1
    Registered User
    Join Date
    04-14-2015
    Location
    Lincoln, UK
    MS-Off Ver
    2013
    Posts
    37

    Pulling a Hyperlink through to a cell using INDEX and MATCH

    Hi All -

    This is my first post. I have had a forum search but I'm sorry if I've posted this in any way incorrectly.

    I am just wondering if there is any way to pull a 'live' hyperlink through from an existing table on a spreadsheet to another part of the spreadsheet and it still operate. The only thing is that this is going through an INDEX/MATCH function and usually just appears as text. The text displays correctly but the link is not there.

    My existing (working link is):

    =IFERROR(INDEX($AH$3:$AH$349,MATCH(C6,$AA$3:$AA$349,0))," ").

    I have tried adding '+HYPERLINK' after this, which seems to activate the potential link (i.e. blue and underline) but can't get it to pull through correctly.

    This formula displays everything as required but the link won't operate:

    =IFERROR(INDEX($AH$3:$AH$349,MATCH(C6,$AA$3:$AA$349,0))," ")+HYPERLINK(MATCH(C6,$AA$3:$AA$349,0),0)

    I basically didn't want to keep attempting this if I'm heading down a dead-end.

    Does anyone know if there is an easier/more effective method of pulling a link through this way?

    Please note I am not amazing in Excel, but I do enjoy learning it.

    Thanks,

    Stuart

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,720

    Re: Pulling a Hyperlink through to a cell using INDEX and MATCH

    It's not clear what your INDEX/MATCH formula is returning, but try it this way:

    =IFERROR(HYPERLINK(INDEX($AH$3:$AH$349,MATCH(C6,$AA$3:$AA$349,0)),"Click to Jump"),"")

    Hope this helps.

    Pete

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Pulling a Hyperlink through to a cell using INDEX and MATCH

    I think result of INDEX/MATCH should be an address (reference) like A1 or Sheet!A1, whatever... but address
    example:
    in the same sheet
    =HYPERLINK("#A1","click")
    in the same workbook
    =HYPERLINK("#Sheet5!A1","click")
    to another workbook (must be open!)
    =IFERROR(HYPERLINK("#'[series and sequences.xlsm]ConcatenateRange'!$A$1","click"),"") (IFERROR doesn't work because HYPERLINK() [Excel] has own error handling)
    to a(the?) site
    =HYPERLINK("http://www.excelforum.com/excel-formulas-and-functions/","click") - in this case: no #

    red is important

    Link is a text so you can use text functions between "# ", ie. =HYPERLINK("#INDIRECT(C4)","click") where value of cell C4 is text VIP1, so after click it will jump directly to cell VIP1 (here is a link in the same sheet)

    but maybe I am wrong

    note: all above was tested with success

    would be fine to see any attachment with example excel file or try: HYPERLINK("#INDEX($AH$3:$AH$349,MATCH(C6,$AA$3:$AA$349,0))","click") - it works , moving selector to the result of formula. [on my ranges but it doesn't matter]. I just simply forgot that result 'in background' is an address. shame on me
    Last edited by sandy666; 10-07-2015 at 01:35 AM. Reason: some corrections with hyperlink and formulas

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Pulling a Hyperlink through to a cell using INDEX and MATCH

    Hi, welcome to the forum

    I think the problem is this...
    I am just wondering if there is any way to pull a 'live' hyperlink through from an existing table on a spreadsheet to another part of the spreadsheet and it still operate.
    I dont believe there is anyway to pull a hyperlink from somewhere else, using a formula, and have it work...sort of like sheet1!A1 contains a HL, and sheet2 B2 =sheet1!A1 and then want that HL in sheet2 to work

    You may be able to do a work-around by pulling in the contents of "A1", and then creating a HL from that - but a direct reference - I dont think that can be done
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    04-14-2015
    Location
    Lincoln, UK
    MS-Off Ver
    2013
    Posts
    37

    Re: Pulling a Hyperlink through to a cell using INDEX and MATCH

    Thanks all for the help.

    It looks like it's not do-able but I'll have to make it 'jump' to the correct cell instead. I may link it to a separate document alternatively.

    Thanks,

    Stuart

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Pulling a Hyperlink through to a cell using INDEX and MATCH

    If you do this:
    Please Login or Register  to view this content.
    it will shows result of formula and will be as link to .... somewhere

    example:
    Please Login or Register  to view this content.
    If result of formula will be an address like A1 put the same formula in two places. Don't forget about quotation marks where they are or .... not.
    hope it's what you want
    Last edited by sandy666; 10-09-2015 at 08:46 AM.

  7. #7
    Registered User
    Join Date
    11-14-2019
    Location
    Nairobi, Kenya
    MS-Off Ver
    Ms 2016
    Posts
    3

    Re: Pulling a Hyperlink through to a cell using INDEX and MATCH

    This formula may work well, if you need to pull your sheet name directly as an hyperlink.
    Define the SheetNames
    =HYPERLINK("#'"&INDEX(SheetNames,A5)&"'!A1",INDEX(SheetNames,A5))

+ 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] Pulling Match and Index for nth lowest values
    By RedWings9 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 08-24-2015, 01:29 PM
  2. [SOLVED] MATCH/INDEX Formula Help - Pulling Data
    By mlbdc2012 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-03-2015, 01:43 AM
  3. Index-Match Formula is pulling incorrect value
    By wghalim in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-17-2014, 08:16 AM
  4. [SOLVED] Help-> Index+Match formula pulling wrong values
    By sashafierce in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-29-2013, 07:13 PM
  5. [SOLVED] Index(match not pulling only 2 of five records
    By mmayna03 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-25-2012, 10:45 AM
  6. Index Match not pulling in correct info
    By jeremiahbret in forum Excel General
    Replies: 1
    Last Post: 02-07-2012, 03:48 PM
  7. Index/Match formula not pulling through desired results
    By Climaxgp in forum Excel General
    Replies: 0
    Last Post: 08-02-2010, 08:14 AM

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