sheets VLOOKUP

Example:
VLOOKUP(10003, A2:B26, 2, FALSE)
Syntax:
VLOOKUP(search_key, range, index, [is_sorted])

 - search_key - The value to search for. For example, 42, "Cats", or I24.
 - range - The range to consider for the search.The first column in the
			range is searched for the key specified in search_key.
 - index - The column index of the value to be returned, where the first
 			column in range is numbered 1.
        	Note: If index is not between 1 and the number of columns in
              	range, #VALUE! is returned.
 - is_sorted - [TRUE by default] - Indicates whether the column to be
 				searched (the first column of the specified range) is sorted.
                FALSE is recommended in most cases.
                Note: It’s recommended to set is_sorted to FALSE.
                	If set to FALSE, an exact match is returned.
                    If there are multiple matching values, the content of the
                    cell corresponding to the first value found is returned,
                    and #N/A is returned if no such value is found.
        			If is_sorted is TRUE or omitted, the nearest match
                    (less than or equal to the search key) is returned.
                    If all values in the search column are greater than the
                    search key, #N/A is returned.

Are there any code examples left?
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source