Download Article
A beginner's guide to the Vlookup function in Microsoft Excel
Download Article

This How.com.vn teaches you how to find a cell's corresponding information in Microsoft Excel using the VLOOKUP formula. The VLOOKUP formula is useful for finding things like employee salary values or your budget on a given date. You can use VLOOKUP in both Windows and Mac versions of Excel.

  1. How.com.vn English: Step 1 Open your Excel document.
    Double-click the Excel document that contains the data for which you want to use the VLOOKUP function.
    • If you haven't yet created your document, open Excel, click Blank workbook (Windows only), and enter your data by column.
  2. How.com.vn English: Step 2 Make sure that your data is properly formatted.
    VLOOKUP only works with data that's organized in columns (e.g., in vertical sections), meaning that your data most likely has headers in the top row of cells but not in the far-left column of cells.
    • If your data is organized by rows instead, you'll won't be able to use VLOOKUP to find a value.
    Advertisement
  3. How.com.vn English: Step 3 Understand each aspect of the VLOOKUP formula.
    The VLOOKUP formula consists of four main parts, each of which refers to a piece of information in your spreadsheet:[1]
    • Lookup Value - The cell across from which the data that you want to look up is in. For example, if you want to look up data in cell F3, your lookup value will be in the third row of the spreadsheet.
    • Table Array - Your entire table's span from the top-left cell to the bottom-right cell (not including headers). For example, if your table starts at A2, goes down to A20, and extends over to the F column, your table goes from A2 to F20.
    • Column Index Number - The index number of the column in which the value that you want to look up is in. A column's "index number" refers to its order number; for example, in a spreadsheet that has data in columns A, B, and C, the index number of A would be 1, B would be 2, and C would be 3. The index number starts at 1 for the far-left column of data, so if your data starts in column F, its index number is 1.
    • Range Lookup - You'll normally want a precise answer for the VLOOKUP result, which can be achieved by typing in FALSE for this value. For an estimate, you can type in TRUE instead.
  4. How.com.vn English: Step 4 Select an empty cell.
    Click a cell in which you want to store the result of the VLOOKUP formula.
  5. How.com.vn English: Step 5 Add the VLOOKUP formula tag.
    Type in =VLOOKUP( to start the VLOOKUP formula. The rest of the formula will go between the open parenthesis and a closed one at the end.
  6. How.com.vn English: Step 6 Enter the lookup value.
    Find the cell in which the lookup value is written, then enter the cell's name into the VLOOKUP formula followed by a comma.[2]
    • For example, if the lookup value is written in cell A12, you'd type A12, into the formula.
    • You'll separate each section of the formula with a comma, but you don't need to use spaces.
  7. How.com.vn English: Step 7 Enter the table array value.
    Find the top-left cell in which data is stored and enter its name into the formula, type a colon (:), find the bottom-right cell in the data group and add it to the formula, and then type a comma.
    • For example, if your table goes from cell A2 to cell C20, you'd type A2:C20, into the VLOOKUP formula.
  8. How.com.vn English: Step 8 Enter the column index number.
    Find the index number of the column that contains the value that you want VLOOKUP to display, then type it into the formula with a comma after it.
    • For example, if your table uses the A, B, and C columns and the data that you want is in C, you would type in 3, here.
  9. How.com.vn English: Step 9 Type in FALSE) to close the formula.
    This will allow VLOOKUP to find the exact value in your specified column for the selected item. Your formula should look something like this:
    • =VLOOKUP(A12,A2:C20,3,FALSE)
  10. How.com.vn English: Step 10 Press ↵ Enter.
    Doing so will run your formula and display the result in the formula's cell.
  11. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Can I put Vlookup formula for 5 raw data in one command?
    How.com.vn English: NurtureTech Academy
    NurtureTech Academy
    Community Answer
    Yes, you can get 5 raw data on a single command with array function. For example; Vlookup (A1,A1:F5,{2,3,4,5,6},0) after than do not hit enter you have to press ctrl+shift+enter.
  • Question
    How do I find repetitive information?
    How.com.vn English: Community Answer
    Community Answer
    Use Conditional Formatting under the Home Tab in Excel. You can highlight duplicates. It is also possible to downright remove duplicates using another function under the Data Tab
  • Question
    What is excel coding?
    How.com.vn English: Community Answer
    Community Answer
    Excel uses VBA. To access this, you need to edit your ribbon banner and select the "Developer" option to be added to your ribbon. This is typically used for things like Macros.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      • To keep the cell value from changing in your VLOOKUP code when you add or adjust cells in your table, put a '$' before each letter and number of each cell name. For example, A12 would become $A$12, and A2:C20 would become $A$2:$C$20.
      • A common application of VLOOKUP for an inventory sheet entails plugging an item's name into the "lookup value" section and using the item's cost column as the "column index number" value.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      • Double-check your column index number before plugging it into the VLOOKUP formula, as the column index number changes depending on which column your data starts in—not the order of the columns themselves.
      Advertisement

      About This Article

      How.com.vn English: Jack Lloyd
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for How.com.vn. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. This article has been viewed 600,088 times.
      How helpful is this?
      Co-authors: 17
      Updated: March 5, 2024
      Views: 600,088
      Article SummaryX

      When you need to search for certain information in a range of cells, you can write a formula using the VLOOKUP function. To use VLOOKUP, you'll need to know what you want to look up, the range of data to search, which column contains the data you're looking for, and whether the answer should be exact or estimated. To start your VLOOKUP formula, click an empty cell, and then type an equals sign, followed by VLOOKUP. Now, type a left parenthesis, followed by the range of cells you want to search separated by a colon. For example if your data starts with A2 and ends with E10, you'll enter A2:E10. Type a comma immediately after the range, followed by the index number of the column containing the answer you're looking for. The index number is based on the column letter—column A is 1, B is 2, C is 3, and so on. Immediately after the index number, type another comma, and then the word FALSE to indicate that you want to see exact matches. End the formula by typing a right-parenthesis, and then press the Enter or Return key to see if the formula finds the data in the range you selected.

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 600,088 times.

      Reader Success Stories

      • How.com.vn English: Anonymous

        Anonymous

        Feb 10, 2019

        "It is very useful to us for auditing as well as stock keeping."
        Rated this article:
      Share your story

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement