Vlookup problems

katiapro93

Board Regular
Joined
Jun 25, 2009
Messages
140
Hello everyone, it seems lately I am getting stuck alot. I am hoping that someone can give me a fix to this problem. First, I am working on Excel 2007. I have a spreadsheet that had alot of columns which are doing various things including vlookups and mathamatical equations. What I need now is for 1 column say "B" to look at "A" (which has its information by a vlookup and inputted into the cell as a number) and bring back what it finds, but I keep getting #N/A or #REF. Can someone help? Here is an example below.

A B
610200 billbacks

Key is as follows: (the key is on the same workbook just a different worksheet)

A B
610200 billbacks
610300 shows
610400 rebates
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
in the value cell "A" I have:

=VLOOKUP($G767,'C:\DOCUME~1\afraga\LOCALS~1\Temp\[SPR Form Version 14.1 ATLANTA.xls]SPRRECAP'!$B$2:$Y$2000,11,FALSE)

in the cell where I want my answer "B" I have this formula:

=vlookup(A4,key!$G$397:$H$428,2,false)
 
Upvote 0
and the second one doesn't work?

It's probably a "data type mismatch", your lookup values are numbers and the lookup array is text...or vice versa? Does either of these work?

=vlookup(A4+0,key!$G$397:$H$428,2,false)

=vlookup(A4&"",key!$G$397:$H$428,2,false)
 
Upvote 0
AWESOME!!!! the +0 worked. What does +0 do? You are just unbelievable. I wish I can know half of what you guys know.
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,879
Members
452,948
Latest member
Dupuhini

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