vlookup lookup_value

rzml

New Member
Joined
Dec 24, 2020
Messages
40
Office Version
  1. 2016
Platform
  1. Windows
XLookup_Example_XelPlus.xlsx
ABCDEFGH
1serial#Student NameStudent ID No.Assignment 1Assignment 2Assignment 3Midterm ExamFinal Exam
21Wilson, Wade4438#N/A
32Warren, Miles9701
43Rogers, Steve8187
54Richards, Franklin9605
65Rasputin, Piotr6795
76Pym, Henry2323
87Olsen, Jake4898
98Myers, Fred7650
109Marko, Flint8834
1110Marko, Cain9912
1211Macendale, Jason Phillips8423
1312Kingsley, Roderick1682
1413Kasady, Cletus8998
1514Jones, Angelica3923
1615Hardy, Felicia9474
1716Foswell, Frederic2180
1817Essex, Nathanial9680
1918Esks, Basil7048
2019Dillon, Maxwell9180
2120Creed, Victor3985
2221Cassidy, Sean4362
2322Blonsky, Emil4692
2423Batroc, Georges2586
2524Barton, Clinton Francis2665
2625Baldwin, Robbie7807
2726Astrovic, Vance3956
Sheet2
Cell Formulas
RangeFormula
D2,C2:C27D2=VLOOKUP(C2,Sheet1!$A$3:$G$30,MATCH(D$1,Sheet1!$A$3:$G$3,0),0)
A2:A27A2=ROW()-1



hi guys,
Is there a better way to get the value of the cell based on the row and column header. I use vlookup and match but once I try to use the formulae in the adjacent cell N/A due to lookup_value, so I always have to change it to the correct row header.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hi, don't you just need to lock the column reference.

=VLOOKUP($B2,Sheet1!$A$3:$G$30,MATCH(C$1,Sheet1!$A$3:$G$3,0),0)
 
Upvote 0
Solution
Hi, don't you just need to lock the column reference.

=VLOOKUP($B2,Sheet1!$A$3:$G$30,MATCH(C$1,Sheet1!$A$3:$G$3,0),0)
oops, sorry for the stupid question for some reason I thought that won't work, but it did. Thanks
 
Upvote 0

Forum statistics

Threads
1,215,217
Messages
6,123,670
Members
449,115
Latest member
punka6

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