VLOOKUP Function | Smartsheet Learning Center (2024)

To learn more about Smartsheet Regions,click here.

Looks up a value and returns a corresponding value in the same row but from a different column.

Sample usage

VLOOKUP("Task E", [Task Name]1:Done5, 2, false)

Syntax

VLOOKUP(search_value, lookup_table, column_num, [match_type])
  • search_value

    The value to search for, which must be in the first column of lookup_table.

  • lookup_table

    The cell range in which to search, containing both the search_value (in the leftmost column) and the return value.

  • column_num

    A number representing the column position (in lookup_table) of the value to return, with the leftmost column of lookup_table at position 1.

  • match_type—[optional]

    The default is true. Specifies whether to find an exact match (false) or an approximate match (true).

Usage notes

Use a VLOOKUP formula to automatically bring in associated content based on criteria in your sheet. For example, bring in someone's role using their name as the criteria.

  • You can use VLOOKUP to reference a cell from another sheet and look up a value from a table in another sheet.
  • If VLOOKUP doesn't find a result, you receive a #NO MATCH error message.
  • You also receive a #NO MATCH errorif there isn't a number within the range that's greater than or equal to the search_value.
  • If lookup_table isn't sorted in ascending order by the first column, then VLOOKUP returns incorrect results.
  • The search_value must be in the leftmost column (position 1) of lookup_table.
  • To look up text strings, you must enclose the lookup value in quotation marks (for example, “Task E”).
  • With the match_type argument:
    • Set match_type to false if your lookup_table isn't sorted.
    • True (the default value) assumes that the range is sorted ascending and returns the nearest match that's less than or equal to ( <= ) search_value.
    • False returns the first exact match.
  • You can insert the column number into a formula to indicate which column you're retrieving the value from.

    For example, the formula =VLOOKUP([Inventory Item]3, [Inventory Item]1:[Number of Items in Stock]4, 3, false) returns the value 4. The formula is written to retrieve a value from the third column (Number of Items in Stock) in the table below.

    Brandfolder Image

    VLOOKUP Function | Smartsheet Learning Center (2)

Examples

This example references the following sheet information:

Clothing ItemUnits SoldPrice Per UnitIn Stock?StatusAssigned To
1T-Shirt78$15.00trueGreen[email protected]
2Pants42$35.50falseRed[email protected]
3Jacket217$200.00trueYellow[email protected]


Based on the table above, here are some examples of using VLOOKUP in a sheet:

FormulaDescriptionResult
IF([In Stock?]1 = 1 (true), VLOOKUP("T-Shirt", [Clothing Item]1:Status3, 5))Return the status color. If the In Stock column equals 1 (true) look up the value “T-Shirt” in the Clothing Item column and produce the value of the Status column.Green
IF([In Stock?]2 = 0 (false), VLOOKUP([Row #]1, [Row #]1:[In Stock?]3, 2))Return item out of stock. If the In Stock column equals 0 (false) look up the value of Row 2 and produce the value of the Clothing Item, column 2.Pants
VLOOKUP("Jacket", [Clothing Item]1:[Price Per Unit]3, 3, false) * [Units Sold]3Return total revenue. Look up the value “Jacket” in the Clothing Item column. If found, produce the value in the Price Per Unit column ($200). Then multiply this by the Units Sold column value (217).43400
VLOOKUP([Clothing Item]1, {Range on Reference Sheet}, 2, false)Return the assigned to contact email. Look up the value in the Clothing Item column row 1 on the reference sheet. If found, produce the value in the Assigned To column.[email protected]

Still need help?

Use the Formula Handbook template to find more support, resources, view 100+ formulas, a glossary of every function that you can practice working with in real time, and examples of commonly used and advanced formulas.

Find examples of how other Smartsheet customers use this function or ask about your specific use case in the Smartsheet online Community.

Ask the Community

Related functions

VLOOKUP Function | Smartsheet Learning Center (2024)

FAQs

What are the 5 parts of the VLOOKUP function? ›

Understanding the Syntax of VLOOKUP
  • “lookup_value“: What you want to find.
  • “table_array“: Where to look for it. ...
  • “col_index_num“: This is the number of the column that has the information you want to get.
  • [range_lookup]: This tells Excel how you want to search.
Mar 6, 2024

Is learning VLOOKUP easy? ›

VLOOKUP is an extremely useful tool, and learning how to use it is easier than you think! Before you start, you should understand the basics of functions. Check out our Functions lesson from our Excel Formulas tutorial (or select a specific version of Excel).

What is the exact function of VLOOKUP? ›

In its simplest form, the VLOOKUP function says: =VLOOKUP(What you want to look up, where you want to look for it, the column number in the range containing the value to return, return an Approximate or Exact match – indicated as 1/TRUE, or 0/FALSE).

How does VLOOKUP work for dummies? ›

VLOOKUP is a function that searches for the value you specify. The result returns a matching value from another column. To be more technical, you choose a range, and VLOOKUP looks up the value in the first column. The result it returns is a value from the same row of another column.

How do you use VLOOKUP and if formula together? ›

Using VLOOKUP() with IF() for calculations
  1. VLOOKUP(A2, $A$2:$B$10, 2, FALSE) retrieved the price of the product which is 56.
  2. =IF(VLOOKUP(A2, $A$2:$B$10, 2, FALSE) > 100, ..., ...) ...
  3. Since the condition is true, VLOOKUP(A2, $A$2:$B$10, 2, FALSE) * 0.9 applied a 10% discount.

What are the three rules for VLOOKUP? ›

The VLOOKUP function consists of three required arguments, in the following order: lookup value, table array, and column index number. The lookup value is the value for which you want to find matching data and must appear in the first column of the lookup table; it can be a value, a text string, or a cell reference.

What is VLOOKUP in simple words? ›

What Is VLOOKUP in Excel? VLOOKUP is a powerful function in Excel that searches for a value in the first column of a range (table or array) and returns a corresponding value in the same row from a specified column. The "V" in VLOOKUP stands for "Vertical," indicating that it searches vertically (downward) in a table.

What is the basic VLOOKUP function in Excel? ›

LOOKUP function
  1. Use VLOOKUP to search one row or column, or to search multiple rows and columns (like a table). It's a much improved version of LOOKUP. ...
  2. If you are using Microsoft 365, use XLOOKUP - it's not only faster, it also lets you search in any direction (up, down, left, right).

When should you not use VLOOKUP? ›

This means that the column containing the value you look up should always be located to the left of the column containing the return value. Now if your spreadsheet isn't built this way, then do not use VLOOKUP. Use the combination of INDEX and MATCH functions instead.

What is VLOOKUP disadvantages? ›

The main limitations of the VLOOKUP function are: VLOOKUP can only look up values to the right on the lookup_value. i.e. the lookup only works left to right. You'll need XLOOKUP, or INDEX MATCH for a right to left lookup.

What is better than VLOOKUP formula? ›

The superior alternative to VLOOKUP is INDEX MATCH. While VLOOKUP works fine in most cases, it tends to reveal flaws when you start using it in large and complex sheets. The INDEX MATCH formula is actually two different functions; INDEX and MATCH.

What is the new function for VLOOKUP? ›

Simply put, XLOOKUP is a more flexible and improved version of the VLOOKUP formula.

How to perform VLOOKUP between two sheets? ›

How to do VLOOKUP in Excel with two spreadsheets
  1. Click cell E2 of Sheet 1.
  2. Enter =VLOOKUP(B2,Sheet2!$A$2:$C$10,3,FALSE) . Here's a breakdown of the modified table array: Sheet2!: This is the name of the spreadsheet that contains the given cell range. ...
  3. Press Enter or Return.
Nov 6, 2023

How do I do a VLOOKUP between two sheets? ›

How to do VLOOKUP in Excel with two spreadsheets
  1. Click cell E2 of Sheet 1.
  2. Enter =VLOOKUP(B2,Sheet2!$A$2:$C$10,3,FALSE) . Here's a breakdown of the modified table array: Sheet2!: This is the name of the spreadsheet that contains the given cell range. ...
  3. Press Enter or Return.
Nov 6, 2023

How do I use VLOOKUP to find matches from another sheet? ›

  1. VLOOKUP from another sheet step 1: Identify the common field.
  2. Step 2: Select the range of data.
  3. VLOOKUP from another sheet step 3: Enter the VLOOKUP function.
  4. Step 4: Check the result.
  5. How to get more data from another sheet than VLOOKUP.
  6. Using VLOOKUP in two Excel sheets FAQ.
Apr 21, 2023

How to use the lookup function in Excel? ›

The LOOKUP function in Excel retrieves a value from a one-row or one-column range. It performs a rough match lookup either vertically or horizontally. The vector form syntax is =LOOKUP(lookup_value, lookup_vector, [result_vector]), while the array form is =LOOKUP(lookup_value, array).

How to use VLOOKUP in Excel to compare two columns? ›

The formula in Excel to compare two columns using VLOOKUP is as follows. VLOOKUP(A2,..,..,..) – takes the value in cell A2. VLOOKUP(A2, $B$2:$B$5,..,..) – compares with all the values in cells from B2 to B5. That's why the cells in the range B2:B5 are locked using absolute reference.

Top Articles
What Is FIFO and Why Is It Vital for Good Inventory Management?
The Goldman Sachs Group, Inc.
Use Copilot in Microsoft Teams meetings
How To Fix Epson Printer Error Code 0x9e
Stretchmark Camouflage Highland Park
Trabestis En Beaumont
Nyu Paralegal Program
Cumberland Maryland Craigslist
Athletic Squad With Poles Crossword
Costco in Hawthorne (14501 Hindry Ave)
OnTrigger Enter, Exit ...
Myql Loan Login
Panorama Charter Portal
Missed Connections Dayton Ohio
Straight Talk Phones With 7 Inch Screen
Second Chance Maryland Lottery
Virginia New Year's Millionaire Raffle 2022
Aaa Saugus Ma Appointment
Allybearloves
Contracts for May 28, 2020
Yonkers Results For Tonight
Bethel Eportal
Galaxy Fold 4 im Test: Kauftipp trotz Nachfolger?
Naya Padkar Gujarati News Paper
Horn Rank
Best Middle Schools In Queens Ny
Belledelphine Telegram
Top 20 scariest Roblox games
Phoenixdabarbie
Ihs Hockey Systems
Nikki Catsouras: The Tragic Story Behind The Face And Body Images
Siskiyou Co Craigslist
Texas Baseball Officially Releases 2023 Schedule
Sinfuldeeds Vietnamese Rmt
Flashscore.com Live Football Scores Livescore
Aveda Caramel Toner Formula
Babylon 2022 Showtimes Near Cinemark Downey And Xd
My.lifeway.come/Redeem
Trivago Myrtle Beach Hotels
Convenient Care Palmer Ma
Kutty Movie Net
Despacito Justin Bieber Lyrics
Mychart Mercy Health Paducah
Pulaski County Ky Mugshots Busted Newspaper
Senior Houses For Sale Near Me
Swsnj Warehousing Inc
Tacos Diego Hugoton Ks
Madden 23 Can't Hire Offensive Coordinator
Runescape Death Guard
Product Test Drive: Garnier BB Cream vs. Garnier BB Cream For Combo/Oily Skin
A Snowy Day In Oakland Showtimes Near Maya Pittsburg Cinemas
Latest Posts
Article information

Author: Kieth Sipes

Last Updated:

Views: 6773

Rating: 4.7 / 5 (67 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Kieth Sipes

Birthday: 2001-04-14

Address: Suite 492 62479 Champlin Loop, South Catrice, MS 57271

Phone: +9663362133320

Job: District Sales Analyst

Hobby: Digital arts, Dance, Ghost hunting, Worldbuilding, Kayaking, Table tennis, 3D printing

Introduction: My name is Kieth Sipes, I am a zany, rich, courageous, powerful, faithful, jolly, excited person who loves writing and wants to share my knowledge and understanding with you.