=VLOOKUPreturnstowrongrow

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

PaddyD

MrExcel MVP
Joined
May 1, 2002
Messages
14,234
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..?
 

Elmac511

New Member
Joined
Jan 22, 2018
Messages
3
=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.
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
63,289
Office Version
  1. 365
Platform
  1. Windows
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/
 

Elmac511

New Member
Joined
Jan 22, 2018
Messages
3
Yes, thank you for explaining that. I am much more knowledgeable of the vlookup function.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,715
Messages
5,833,284
Members
430,201
Latest member
Deepakpilla36

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
Top