=VLOOKUPreturnstowrongrow

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Hi - welcome to the board!

You're going to have to give us a bit more info to work on than that ;)

How about posting the formula you're using and a representative sample of the data..?
 
Upvote 0
=vlookup(“New York”,A2:C100,3,False). Col A was sorted and is the City. Col B is the emp-name. Col C is where I want the emp-name it finds to go. Ex. Found “New York” hit in Row37 ColA. Next column cell B37 is his name which I want put in Col C row 37. It is going into row 2 of col. C. Ps. Thank you for replying. Am new to vlookup. I say I am advanced beginner ready to go into the intermediate category.
 
Upvote 0
I think you want this:
Code:
[COLOR=#333333]=vlookup("New York",A2:B100,2,False)[/COLOR]
You were telling it to look up "New York" in column A, and return the value from column C in that row. But it sounds like you actually want to return the value from column B.
In the formula, you don't tell it which cell to return the value to. The value will be returned to whatever cell you have placed the formula in.

For more on VLOOKUP, take a look at the examples here:
https://www.ablebits.com/office-addins-blog/2014/07/17/excel-vlookup-tutorial-beginner/
 
Upvote 0

Forum statistics

Threads
1,214,940
Messages
6,122,361
Members
449,080
Latest member
Armadillos

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