To locate the Exact function, click on the Formulas tab and then select the Text button.When you use this function, Excel will return a value of TRUE if the numbers match, and the value of FALSE if they don’t. For example, if you want to check cells A1 and B1, you can use the Exact function in the C1 cell.
Here we discuss how to use VLOOKUP For Text in excel along with practical examples and a downloadable excel template.To make sure that cells from column A don’t have a duplicate in the corresponding column B cells, use the Exact function.
Now we should get values of pin code against each country code.
Select the lookup table, mention column index number and range lookup type. Open VLOOKUP & VALUE in the same formula as shown in the below image. Firstly before we supply the lookup value to the VLOOKUP function, we need to convert the numerical looking text value to the actual number, so nest the function VALUE inside the VLOOKUP to convert it to a number. Using this function, we can convert number looking text values to number format in excel. If you are aware, we have a function called VALUE in excel. Method #4 – Convert Text Values to Numerical Values using VALUE Function Once you complete this process, you should get the result with the VLOOKUP function. Keep the VLOOKUP formula as it is already applied.Įnter number 1 in cell H1 and Copy the number.Īfter copying the cell H1, select the range D3 to D22.Īfter selecting the range D3 to D22, press ALT + E + S + M. We can convert all the number looking text values to numerical values using Paste Special method. There are several ways you get rid of this.Įxample #3 – Convert Text Values to Numerical Values using Paste Special Method
Nothing to worry I will show you the way to get rid of this such situation. I think you must have encountered this kind of situation when the actual data is coming from different servers. You can say we can convert these numbers from text values to number values, yes we can, but still, we do not get the results. This seems to be unrealistic at this point in time, isn’t it? One of the common problems in these cases is numbers are stored as text values. We have got an error value of #N/A against all the city codes. Let’s apply the VLOOKUP function to extract the Pin Code for each city. The first thing that comes to our mind is the VLOOKUP function yes, you are correct we can fetch the data by applying the VLOOKUP function. In table 2, we have only City Code and based on this we need to extract the Pin code from table 2.
In table 1, we have city code and pin code against city code. Example #2 – VLOOKUP Function to Extract the Data This is the scenario in excel when the numbers stored as text values. Let’s apply the SUM formula in cell B5.Īfter applying the formula, we will get the result.Īfter applying the formula, the result is shown below. In Column B, Numerical Values are stored as Numbers, and in Column C, Numbers are stored as text values so we can get the total of the numbers.
You can download this VLOOKUP For Text Excel Template here – VLOOKUP For Text Excel Template Example #1 – Numbers Stored as Text Value