Lookup then copy and paste the data

Nivian

New Member
Joined
Jun 8, 2018
Messages
13
I have a workbook with sheet 1 the data for clients. I need to lookup the client name and pull through specific data from sheet 1, their website address located in column D and copy that website address to sheet 2 column B. Their website address is a hyperlink and if I use the normal vlookup it doesn't bring through that hyperlink. Its a pain to go through and set the hyperlink again for all the data retrieved using vlookup. I have no experience using VBA thus I am hoping someone could assist with the VBA code to do this.

Thanks in advance.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Hi Nivian,

You can use Hyperlink with vlookup formula in Excel to create active hyperlink. An example is given below.

=HYPERLINK(VLOOKUP(F13,F13:H13,3,FALSE))

Saba
 
Upvote 0
Good morning

Thank you for your reply, the hyperlink formula does create the hyperlink but the address of the hyperlink still needs to be set. This means that for all retrieved data I will still need to go and set the hyperlink address again. The hyperlink addresses have already been set in the client table and I would like that data to be retrieved. I have read on multiple forums that cannot be done with excel formula only VBA.

Hi Nivian,

You can use Hyperlink with vlookup formula in Excel to create active hyperlink. An example is given below.

=HYPERLINK(VLOOKUP(F13,F13:H13,3,FALSE))

Saba
 
Upvote 0
Morning all

I believe i require a custom formula for this to lookup copy and paste data from the client data sheet into the various other sheets/workbooks

I have a workbook with sheet 1 the data for clients. I need to lookup the client name and pull through specific data from sheet 1, their website address located in column D and copy that website address to sheet 2 column B. Their website address is a hyperlink and if I use the normal vlookup it doesn't bring through that hyperlink. Its a pain to go through and set the hyperlink again for all the data retrieved using vlookup. I have no experience using VBA thus I am hoping someone could assist with the VBA code to do this.

Thanks in advance.
 
Upvote 0

Forum statistics

Threads
1,215,488
Messages
6,125,092
Members
449,206
Latest member
ralemanygarcia

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