+ Reply to Thread
Results 1 to 6 of 6

VLOOKUP and return multiple relative hyperlinks

  1. #1
    Registered User
    Join Date
    05-24-2017
    Location
    Melbourne
    MS-Off Ver
    2013
    Posts
    3

    VLOOKUP and return multiple relative hyperlinks

    I have a complex data set for which I would like to create a search function. A search of the code name should return working links to all documents in the row referencing that code. The data set of 1150 codes is almost complete so we are not looking to reconfigure it.

    Relative hyperlinks to the documents have been created but when using the VLOOKUP code, a message pops up saying 'Cannot open the specified file'.

    I have attached a mock workbook on Sheet1 and have been working on creating a VLOOKUP search on Sheet2.

    Sheet3 is what we initally hoped a search page would look like but it feels like that is probably a long shot hah

    More details below

    Overview
    - I have created a workbook directory with a list of codes
    - Each code has a unique description and belongs to a category
    - On the same row as the code, relative links and friendly names to documents related to each code are contained in cells D-I.
    - All relative links are working.

    Objective
    - To create a Vlookup that returns all documents related to a code.
    - The data must be secured - we require only certain people to have editting permission
    - It must be scalable
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,434

    Re: VLOOKUP and return multiple relative hyperlinks

    Can you show your expected results from YOUR conditions, and not something that bears no relationship to your data.... In what way is your current formula NOT working? What do you want it to show/do?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

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

    Re: VLOOKUP and return multiple relative hyperlinks

    try this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by sandy666; 05-30-2017 at 06:31 AM. Reason: file added

  4. #4
    Registered User
    Join Date
    05-24-2017
    Location
    Melbourne
    MS-Off Ver
    2013
    Posts
    3

    Re: VLOOKUP and return multiple relative hyperlinks

    Apologies if my explanation was not clear enough. I've not done anything like this before and wanted to see if a search of this kind could actually be done.

    I would like to create a search function for the database where a search by code name would return all relative linked documents containing that code.

    It is possible my current formula is not what is required to perform the search. If you have any other ideas/suggestions, I am all ears.

    On sheet2, I have tried to create a Vlookup to return the relative link to the DDD Drawing document. When entering the formula

    =HYPERLINK(VLOOKUP(lookup_value, table_array, col_index, [range_lookup]), VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup],0))

    The relative link appears as a working link but when I click on it, a message pops up saying 'Cannot open the specified file.'

    Does this answer your questions?

  5. #5
    Registered User
    Join Date
    05-24-2017
    Location
    Melbourne
    MS-Off Ver
    2013
    Posts
    3

    Re: VLOOKUP and return multiple relative hyperlinks

    Thank you @sandy666. I have tried the formula you suggested and the same message pops up 'Cannot open the specified file.'

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

    Re: VLOOKUP and return multiple relative hyperlinks

    VLOOKUP is not designed (complicated ) to be a hyperlink because VLOOKUP return value not address of the cell, that is why I used ADDRESS (much easier) and it works. Did you check this on my attachment (your file)? It should work and after click move to another sheet and select target value.
    About database: did you try any D-functions? They are just designed to database.
    If you want I'll attach example (without description , sorry) how it works.

    Edit: I added example (3 files: xlsx, docx and pdf) and it works. First click jumping from sheet2 to packaging to proper place, second click open file.
    Try APC checklist | AAA and BBB

    With your paths you can try this "[File 1\AAA\Approved documents\AAA_Drawing.docx]"
    Path should be a full, ie. =HYPERLINK("B:\Folder 1\Folder 2\folder3\Folder4\ads.xlsm","ads") or if files are in the same folder: =HYPERLINK("ads.xlsm","ads")
    also you can try set links to your documents from INSERT | LINKS | LINK (shortcut: Left Alt, N, I2)
    Attached Files Attached Files
    Last edited by sandy666; 05-30-2017 at 09:43 PM.

+ 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] Hyperlinks - Relative references
    By jamsta1972 in forum Excel General
    Replies: 11
    Last Post: 08-18-2021, 01:19 PM
  2. [SOLVED] Create bulk relative hyperlinks
    By Adam10541 in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 06-27-2016, 09:15 AM
  3. [SOLVED] Very Tricky Formula/Macro ... Multiple Conditions return a relative value
    By mysticmoron109 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-03-2015, 07:30 PM
  4. Vlookup to return formula (instead of value), along with its relative address
    By bobbywillmes in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-23-2015, 04:37 PM
  5. Hyperlinks and relative reference
    By giacc in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-10-2011, 12:50 PM
  6. [SOLVED] Using Relative Hyperlinks
    By Chaim in forum Excel General
    Replies: 5
    Last Post: 09-06-2005, 03:05 PM
  7. [SOLVED] Hyperlinks:copy as a relative.
    By mike at calgary in forum Excel General
    Replies: 0
    Last Post: 05-31-2005, 08:05 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