#VALUE! error in vlookup formula

nsaraiva

New Member
Joined
Jan 18, 2013
Messages
4
Hi,

I'm using a vlookup formula, using a description text as the lookup_value. I know it would be better to use some sort of reference number rather than a text description but this is the only unique matching I can do.

The formula works fine for about 70% of the rows, but in the remaining 30% I get a #VALUE! error. I've done some searching on this and other forums and the indicatinon I get is that it should be related to the data type on the lookup_value cell. This is defined as General for all lookup_value cells and for the first column of the table array. In other words if I'm doing the exact same thing for all rows why am I getting an error only in some?

Thanks in advance
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Microsoft Excel may display the #VALUE! error if your formula includes cells that contain different data types.
 
Upvote 0
Thanks Prince,

Not sure if this is what you mean but hereis the formula I'm using:

VLOOKUP(D144,Comments!$E:$S,3,FALSE)
 
Upvote 0
you are looking at column 3.. what for put till $s? $e:$g will do?

that what i think.. correct me if i am wrong..
 
Upvote 0
can you please attach a sample set of data?

comercially sensitive information, sorry...

i did try to erase the text and type something random on both tables (like: asioufbhasuiofsduio), and now the formula does work! could it be that the text being compared is just too long? is there a limit to the number of characters a vlookup can compare?
 
Upvote 0

Forum statistics

Threads
1,214,989
Messages
6,122,622
Members
449,093
Latest member
catterz66

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