Hyperlink function to web link

expeo

New Member
Joined
Dec 1, 2017
Messages
17
I have exported a worksheet from a SharePoint library, it has the file name and the hyperlink to the SharePoint location already.

I am attempting to match these to another link that has the same list of file names so I used the command
Code:
=HYPERLINK(VLOOKUP(G2,A:A,1,FALSE),G2)

G2 is the file name reference, column A includes the exported file name with the hyperlink

Now if I click on the original cell (that was exported from SharePoint), it directs me to the location with no issues. But if I click on the new cell with the function, I get the message "Cannot open the specified file."

How can I fix this? Is there an alternative solution to this, possibly something in VBA?
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
What is the exact url... is it preceded by http:// or what? I suspect that may be the problem.
 
Upvote 0
hmmm without the =hyperlink wrapper does it return the entire link?
Code:
=[COLOR=#333333]VLOOKUP(G2,A:A,1,FALSE)[/COLOR]
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top