Need vlookup or hlookup formula to populate cell

Rock5150

Board Regular
Joined
Nov 16, 2012
Messages
76
Office Version
  1. 365
Platform
  1. Windows
Hello all

I have data below (sorry i can't use the xl2bb file format on my work computer) where i need the xxx cells below populated with the single number. I want to be able to add names on the right for whatever pairing i desire and show the number. The names should be able to be looked up regardless if i choose the name horizontally first or vertically. I guess it won't matter as its finding the 'coordinate'

So on the right Bea Baker and Dave Morris should populate "67". Is there a formula i can put in the cells that have the 'xxx' in there?

Just assume the first column you see is "A" and the xxx data is column "K"

Then the first row of data is row '1' down to row '6'.

If you need the xl2bb file to make it easier, let me know and i'll have to download offline.

Bea BakerTony BristerDave MorrisJerry HillMike Archuleta
Bea Baker
62​
67​
65​
63​
Bea BakerDave Morrisxxx
Tony Brister
62​
69​
66​
65​
Dave MorrisJerry Hillxxx
Dave Morris
67​
69​
72​
72​
Mike ArchuletaTony Bristerxxx
Jerry Hill
65​
66​
72​
74​
Mike Archuleta
63​
65​
72​
74​
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Try:
Book1
ABCDEFGHIJK
1Bea BakerTony BristerDave MorrisJerry HillMike Archuleta
2Bea Baker62676563Bea BakerDave Morris67
3Tony Brister62696665Dave MorrisJerry Hill72
4Dave Morris67697272Mike ArchuletaTony Brister65
5Jerry Hill65667274
6Mike Archuleta63657274
Sheet3
Cell Formulas
RangeFormula
K2:K4K2=INDEX($B$2:$F$6,MATCH($I2,$A$2:$A$6,0),MATCH($J2,$B$1:$F$1,0))
 
Upvote 0
Solution

Forum statistics

Threads
1,214,596
Messages
6,120,438
Members
448,966
Latest member
DannyC96

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