# looking for someone help finnishing a function

#### frenchface

##### New Member
Ok, lets see if i can explain this well. I am playing a game called tribalwars.net where you have a village that is on a coordinate system. I want to duplicate that coordinate system in excel. I have data that looks like this

ID X | y
1 502|343
.
.
.
4934 139|201
etc.

I have this function
this is what things are
where the second if is searching for the x and y coordinate

now the hyperlink is what i am stuck on; i know this part of the hyperlink is always that same
http://en34.tribalwars.net/staemme.php?village=92912&screen=place&mode=command&target=
now at the end there is an = sign. that = sign has to be sent the the ID number for the coordinates so for 139|201 it would be this
http://en34.tribalwars.net/staemme.php?village=92912&screen=place&mode=command&target=4934

now any idea how to do that in my forumla?

Thanks

### Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
i quess a simpler question is, if i have two columns

a 1
b 2
c 3

how can i search for b and have it display 2?

The answer to the second question is the VLOOKUP function.

Replies
31
Views
3K
Replies
15
Views
4K
Replies
1
Views
1K
Replies
7
Views
7K
Replies
22
Views
7K

1,196,254
Messages
6,014,270
Members
441,810
Latest member
LouLou1234

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