Vlookup not recognizing the second column value

topswim

Board Regular
Joined
May 14, 2002
Messages
133
Office Version
  1. 365
Platform
  1. Windows
When creating my Vlookup formula I am having issues with getting both columns in my array, but I also notice when I only want the value in the second column, it doesn't find the value. The below formula (column D) comes back with #N/A instead of C. When I change the column from 2 to 1 (=vlookup(A4,B1:C5,1,false)) it brings back the first column value, which in this case would be 3. when I enter a formula (=vlookup(A4,B1:C5,{1,2},false) I only receive back the first column value again (3) instead of 3 and C

example:

column A column B column C column D

1App3=vlookup(C1,B1:C5,2,false)
2Burr
3grey
4yellow
5E
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Considering all those formulae are looking for a number in col B, I would expect all of them to return #N/A
 
Upvote 0
Considering all those formulae are looking for a number in col B, I would expect all of them to return #N/A
Let me try that again as I turned a couple items around when I posted the formula- =vlookup(C1,A1:B5,2,false)) or =vlookup(C1,A1:B5,{1,2},false))
 
Upvote 0
With the exception of the extra bracket at the end, that works for me
+Fluff 1.xlsm
ABCDE
11App33grey
22Burr
33grey
44yellow
55E
Lists
Cell Formulas
RangeFormula
D1:E1D1=VLOOKUP(C1,A1:B5,{1,2},FALSE)
Dynamic array formulas.
 
Upvote 0
Solution
With the exception of the extra bracket at the end, that works for me
+Fluff 1.xlsm
ABCDE
11App33grey
22Burr
33grey
44yellow
55E
Lists
Cell Formulas
RangeFormula
D1:E1D1=VLOOKUP(C1,A1:B5,{1,2},FALSE)
Dynamic array formulas.
Cell Formulas
RangeFormula
Dynamic array formulas.
 
Upvote 0
i ended up restarting my computer and that seemed to resolve the issue. thanks again
 
Upvote 0
Glad it's sorted & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,868
Members
449,053
Latest member
Mesh

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