VLookup - #REF! value returned

jlugo

Board Regular
Joined
Aug 12, 2011
Messages
146
What does this mean? I usually get the basic #N/A or a value but not sure why this was my result for every value that is "TRUE".
 

Some videos you may like

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

dave3009

Well-known Member
Joined
Jun 23, 2006
Messages
7,002
Office Version
  1. 365
  2. 2016
It would mean you are probably looking for a value in a column that your lookup table doesn't extend to.
 

rilzniak

Active Member
Joined
Jul 20, 2012
Messages
254
Usually means that a cell being referenced by the formula is no longer in existence (it may have been deleted, or the row or column containing it was deleted, or the worksheet containing it was deleted).
 

jlugo

Board Regular
Joined
Aug 12, 2011
Messages
146
What does this mean? I usually get the basic #N/A or a value but not sure why this was my result for every value that is "TRUE".


I changed the 2 to 1 and it worked. Ok please forgive me it's FRIDAY!!!
 

jlugo

Board Regular
Joined
Aug 12, 2011
Messages
146

I SPOKE TOO SOON!!!!! YIKES!


Ok when I change the column index to return a value in another column.. I get the #REF! error. The other columns have words and some numeric value.

Any reason why only column index = 1 works?

=VLOOKUP(G:G,Sheet1!A:A,1,FALSE) = SUCCESS
=VLOOKUP(G:G,Sheet1!A:A,2,FALSE) = FAILURE
=VLOOKUP(G:G,Sheet1!A:A,3,FALSE) = FAILURE
ETC.
 

T. Valko

Well-known Member
Joined
May 9, 2009
Messages
16,623
I SPOKE TOO SOON!!!!! YIKES!


Ok when I change the column index to return a value in another column.. I get the #REF! error. The other columns have words and some numeric value.

Any reason why only column index = 1 works?

=VLOOKUP(G:G,Sheet1!A:A,1,FALSE) = SUCCESS
=VLOOKUP(G:G,Sheet1!A:A,2,FALSE) = FAILURE
=VLOOKUP(G:G,Sheet1!A:A,3,FALSE) = FAILURE
ETC.
In the formulas that fail, the table_array is just a single column. Also, the lookup_value should be a reference to a single cell, not a whole column. Try it (them) like this...

=VLOOKUP(G1,Sheet1!A:C,1,0)
=VLOOKUP(G1,Sheet1!A:C,2,0)
=VLOOKUP(G1,Sheet1!A:C,3,0)
 

jlugo

Board Regular
Joined
Aug 12, 2011
Messages
146
And all I had to do was highlight a few more columns.
Thanks so much!!! It's definitely Happy Hours time!

Cheers

:)
 

Watch MrExcel Video

Forum statistics

Threads
1,122,691
Messages
5,597,562
Members
414,156
Latest member
WDMix

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