N A Excel Vlookup Error
Depending on your business needs you may want to disguise the error with your own text zero or a blank cell.
N a excel vlookup error. Before head into fixing this problem we need to know why it is giving error as n a. There is a spelling error in the lookup value or the values in the lookup array. If range lookup is set to false and the lookup value does not exist in your table array vlookup returns a n a. When vlookup can t find a value in a lookup table it returns the n a error.
If the range lookup argument is set to true and the lookup value is smaller than the smallest value in the array you will see the n a error. For example your lookup value doesn t exist in the source data. The iferror function allows you to catch errors and return your own custom value when there is an error. This error usually comes due to any one of the many reasons.
In this case there is no banana listed in the lookup table so vlookup returns a n a error. N a in approximate match vlookup. Select the cell you want to use vlookup function and type this formula iferror vlookup a13 a 2 c 10 3 0 0 drag the autofill handle to the range you need. If vlookup returns a value normally there is no error and the looked up value is returned.
To return zero instead of n a when the vlookup function cannot find the correct relative result you just need to change the ordinary formula to another one in excel. N a in exact. It s always a good idea to check the most obvious thing first. If the lookup value is smaller than the smallest value in the lookup array.
No match is found. Vlookup wrong column order error. Iferror vlookup formula to replace all errors with your own text. The lookup value is not located in the first column of the table array to be searched.
The lookup value is not found in the lookup array. N a means simply not available is the result of the vlookup formula if the formula is not able to find the required value. When excel vlookup fails to find a lookup value it throws an n a error like this. There is a leading trailing or double space in the lookup value or in the table array.
The syntax for vlookup is. With the vlookup if you get the n a error it could be that the value you are searching for is not properly specified within the vlookup formula s text. Vlookup function may return a n a error due to any of the following reasons. You can handle all these causes of error with the combination of iferror and vlookup.
Vlookup value table array col index range lookup it returns a n a error if it cannot find a match to the lookup value. Fixing vlookup n a error in excel 1. 8 most common vlookup errors. True looks for an approximate match in the array and returns the closest value lesser than the lookup value.