XLOOKUP or VLOOKUP to return a hyperlink

thewiseguy

Well-known Member
Joined
May 23, 2005
Messages
1,019
Office Version
  1. 365
Platform
  1. Windows
Hi all,

Is it possible to have a table containing webpages, and then an XLOOKUP or VLOOKUP formula to bring those values back as hyperlinks?
Currently, the value in O2 is NOT a hyperlink. I tried adding the HYPERLINK function to the formula but im getting a trusted source error?

v2023.8.xlsm
IJ
2ShipperURL
3A. Duie Pylewww.aduiepyle.com
4Daylightdylt.com
5EDI Expressediexpressinc.com
6Estes
7FedEx
8N/a
9New Penn
10Old Dominion
11Pickup
12R+L Carriers
13UPS
Project (validations)


v2023.8.xlsm
GKLMNO
1QuantityPO #Qty OrderedShipper 1Tracking 1Link
2 A. Duie Pylewww.aduiepyle.com
Full BOM (prd.mat.ren.)
Cell Formulas
RangeFormula
G2G2=H2&""&I2&""&J2
O2O2=(XLOOKUP(M2,TblShipperFull[Shipper],TblShipperFull[URL],""))
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
You need to wrap your formula in the HYPERLINK function, if you want what is returned to also be a hyperlink, i.e.
Excel Formula:
=HYPERLINK(XLOOKUP(M2,TblShipperFull[Shipper],TblShipperFull[URL],""))
If you still get a "Trusted Source" message, that probably has to do with your company's security policy, saying it doesn't trust the web site.
 
Upvote 0
You need to wrap your formula in the HYPERLINK function, if you want what is returned to also be a hyperlink, i.e.
Excel Formula:
=HYPERLINK(XLOOKUP(M2,TblShipperFull[Shipper],TblShipperFull[URL],""))
If you still get a "Trusted Source" message, that probably has to do with your company's security policy, saying it doesn't trust the web site.

i was actually able to get it to work. I needed to add: https://

thanks
 
Upvote 0

Forum statistics

Threads
1,224,826
Messages
6,181,192
Members
453,021
Latest member
pingpong7117

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