Why can't I find the results I need by using the VLOOKUP function

Why can't I find the results I need by using the VLOOKUP function

2 min read
I. Issue
You get a message that the result cannot be found when using the VLOOKUP function.
II. Causes and solutions
Cause 1: The value you're looking for is not in the lookup range.
You can try the following to troubleshoot:
Method 1: Re-select the lookup range to ensure that it contains the value you're looking for.
Method 2: Set the fourth argument of the VLOOKUP function to approximate match to look for the best match instead.
Cause 2: The format of the value being looked up is not consistent with the value in the search range
In Sheets, you can change a value's number format, but that won't necessarily change how the value appears in the cell. For example, a value's number format can be number or text.
  • Number: By default, they are right-aligned in the cell and can be used for formula calculations. There are a few number format options that specify how numbers are rounded or how many decimal places are there.
250px|700px|reset
You can try the following to troubleshoot:
Method 1: To unify all the data to text format, select the cells containing the data, and press Ctrl + Shift + S (Windows)/⌘ + Shift + S (Mac) or double-click the cell to convert the data to text format.
Method 2: To unify all the data to number format, select the cells with a green mark, click the Exclamation mark icon, then click Convert to number, or double-click the cell.
III. FAQs
Why can't I find the result even though the format and the content are the same?
When you select a cell, the number format shown on the menu may not be its actual data format. To find values in number format, you should check whether there is a green triangle icon in any cell in your search range. If there is, you need to convert the data in the cells with a green triangle icon to number format first.
To find numbers in text format, select the cell range, and press Ctrl + Shift + S (Windows)/⌘ + Shift + S (Mac) to convert numbers in number format to text format.
Why can't I directly convert numbers in text format to number format and vice versa?
You can't simply change a value's number format by changing the number format from the top toolbar.
To ensure you have the right number format, select an empty cell, and change the number format to the one you want before you enter any data. For instance, if you want numbers in text format, select an empty cell, set the number format to plain text, and then enter the numbers.
Written by: Lark Help Center
Updated on 2024-11-21
How satisfied are you with this content?
Thank you for your feedback!
Need more help? Please contact Support.
0
rangeDom
rangeDom
rangeDom