https://flavorsrecipes.blogspot.com/?m=1 be more attractive: How to Use Vlookup With an Excel Spreadsheet

lundi 29 janvier 2018

How to Use Vlookup With an Excel Spreadsheet

This wikiHow 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.

EditSteps

  1. Open your Excel document. Double-click the Excel document that contains the data for which you want to use the VLOOKUP function.
    Use Vlookup With an Excel Spreadsheet Step 1 Version 5.jpg
    • If you haven't yet created your document, open Excel, click Blank workbook (Windows only), and enter your data by column.
  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.
    Use Vlookup With an Excel Spreadsheet Step 2 Version 5.jpg
    • If your data is organized by rows instead, you'll won't be able to use VLOOKUP to find a value.
  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]
    Use Vlookup With an Excel Spreadsheet Step 3 Version 5.jpg
    • 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 for this value. For an estimate, you can type in instead.
  4. Select an empty cell. Click a cell in which you want to store the result of the VLOOKUP formula.
    Use Vlookup With an Excel Spreadsheet Step 4 Version 4.jpg
  5. Add the VLOOKUP formula tag. Type in to start the VLOOKUP formula. The rest of the formula will go between the open parenthesis and a closed one at the end.
    Use Vlookup With an Excel Spreadsheet Step 5 Version 4.jpg
  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]
    Use Vlookup With an Excel Spreadsheet Step 6 Version 4.jpg
    • For example, if the lookup value is written in cell A12, you'd type into the formula.
    • You'll separate each section of the formula with a comma, but you don't need to use spaces.
  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.
    Use Vlookup With an Excel Spreadsheet Step 7 Version 4.jpg
    • For example, if your table goes from cell A2 to cell C20, you'd type into the VLOOKUP formula.
  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.
    Use Vlookup With an Excel Spreadsheet Step 8 Version 4.jpg
    • 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 here.
  9. Type in 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:
    Use Vlookup With an Excel Spreadsheet Step 9 Version 4.jpg
  10. Press . Doing so will run your formula and display the result in the formula's cell.
    Use Vlookup With an Excel Spreadsheet Step 10 Version 4.jpg

EditTips

  • 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.
  • 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.

EditWarnings

  • 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.

EditRelated wikiHows

EditSources and Citations


Cite error: <ref> tags exist, but no <references/> tag was found




source How to of the Day http://ift.tt/2np34HO

Aucun commentaire:

Enregistrer un commentaire

https://warriorplus.com/o2/a/x8g6yk/0

How to React to a Gift You Do Not Like

Respond to unwanted gifts with grace and tact Your great aunt knitted you the world's ugliest sweater. Your friend got you a CD by a b...

https://warriorplus.com/o2/a/x8g6yk/0