#### imjustarookie

##### New Member
Hi everyone, Im kinda newbie here in excel thingy but I found it interesting and now Ive been practicing for quite a while. Here's the thing, I want my contact (with its details) to appear in another sheet using the vlookup and hyperlink functions, Is it possible to do this? kindly see the pic below. Answers are very much appreciated!

### Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

#### bobsan42

##### Well-known Member
Well i think i can help you with this one. Will try to be as clear as possible.
Step one is to fill in the desired value in B2 by clicking on a hyperlink:

1. Make all hyperlinks lead to cell \$B\$2 (th one with the lookup value.
2. Add the following VBA code to Sheet1 (or as you case is):
Code:
``````Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
ActiveCell.Value = Target.Range.Value
Exit Sub
End If
End Sub``````

Step two is the formula to fill in the contact details:
1. I take it that contact1, contact2 etc. may be some contact alias. this means you have five columns of data for each alias. This doesn't really matter.
2. Use the following formula to get the name of the contact:
=IFERROR(VLOOKUP(\$B\$2,Sheet2!A:F,2,0),"")
3. Adjust it to you particular situation and values. Change the red number to get the rest of the contact details.

Hope this helps.

P.S. I managed to observe some strange behaviour of the hyperlinks if i use Filling to multiply them. Maybe make a cell with a hyperlink and then use copy to multiply it, but avoid fill down or fill right or whatever.

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,669
Messages
5,838,685
Members
430,563
Latest member
Raeyven

### 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.

### Which adblocker are you using?

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

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