# Need help with a Vlookup formula

#### hnybnch80

##### New Member
I am completely lost when it comes to a VLookUp formula. My instructions are as follows from the book.

This file has a table in cells I7 through J10 used as part of the VLOOKUP function. Name the range used in the table as "ClassStanding" (without the quotes and no space). Then use this range name as the appropriate argument in the lookup function.

then

Enter the appropriate formula in cell G4 to determine the year in school for the first student. (Hint: Use the VLOOKUP function based on the table identified in item #4 above.) Copy the formula to the other cells in column G.

I am not sure how to post a picture of the file. But I can email it to anyone.

Any help would be great please.
[/img]

### Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
=VLOOKUP(A1,ClassStanding,1,FALSE)

where A1 is the cell reference containing first student
ClassStanding is the named range
1 is the column number in the table containing the year to return
False tells Excel to look for an exact match (true would look for closest match)

Excel help file for Vlookup is very good and gives examples.

To name a range, select (highlight) the entire table and the go to Insert/Name/Define and enter a name.

Hi NBVC, I suspect the formula should be =VLOOKUP(A1,ClassStanding,2,FALSE) otherwise a MATCH would have done.

Replies
4
Views
118
Replies
0
Views
140
Replies
3
Views
111
Replies
4
Views
101
Replies
3
Views
240

1,211,839
Messages
6,104,295
Members
447,901
Latest member
boy3hc2004

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