VLOOKUP issue thats VERY strange

bdosky

New Member
Joined
Mar 4, 2011
Messages
3
I am trying to use VLOOKUP to take a name, look for that name in a table and output a sentence containing that name. As follows:


  • Kelly | Waiting for approval from Kelly
  • James | " " " " " James
  • Chris | " " " " " Chris
  • Michael | " " " " "Michael
Testing this out, Kelly output: Waiting for approval from James.

But everything else worked. James output " James. Experimenting, I changed the output for James to "there is an error here" and tried Kelly again, Kelly output "there is an error here".

Later, I switched up the names and replaced James with Benton. Kelly output Benton.

I opened a whole new spreadsheet and basically made the same thing, no copying or pasting either. Kelly actually outputs Kelly. However, on the new spreadsheet, I made a table of 6 names and wrote VLOOKUP accordingly. Both the names Benton and Chris returned Value not available errors and said #N/A.

I need this table to work with all of these names, and I have no clue what the issue is. Please help?!
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Welcome to the forums!

What is the formula you are currently using?
 
Upvote 0
E6=VLOOKUP(E5, A1:B6, 2, 1)

this is on the new spreadsheet I told you about. My name list is as follows:
James, Kelly, Michael, Chris, Sam, Benton and associated outputs.
 
Upvote 0
Change that last argument to a 0. That way it will return an exact match. Otherwise, your list must be sorted ascending.

VLOOKUP(E5, A1:B6, 2, 0)
 
Upvote 0

Forum statistics

Threads
1,224,517
Messages
6,179,233
Members
452,898
Latest member
Capolavoro009

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