11.08.2013 Views

Excel's Formula - sisman

Excel's Formula - sisman

Excel's Formula - sisman

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

214<br />

Part II: Using Functions in Your <strong>Formula</strong>s<br />

Figure 8-1: Lookup formulas in row 2 look up the information for the employee name in cell B2.<br />

This particular example uses four formulas to return information from the EmpData range. In<br />

many cases, you’ll only want a single value from the table, so use only one formula.<br />

Functions Relevant to Lookups<br />

Several Excel functions are useful when writing formulas to look up information in a table. Table<br />

8-1 lists and describes each of these functions.<br />

Table 8-1: Functions Used in Lookup <strong>Formula</strong>s<br />

Function Description<br />

CHOOSE Returns a specific value from a list of values (up to 254) supplied as arguments.<br />

VLOOKUP Vertical lookup. Searches for a value in the first column of a table and returns a<br />

value in the same row from a column you specify in the table.<br />

HLOOKUP Horizontal lookup. Searches for a value in the top row of a table and returns a value<br />

in the same column from a row you specify in the table.<br />

INDEX Returns a value (or the reference to a value) from within a table or range.<br />

LOOKUP Returns a value either from a one-row or one-column range. Another form of the<br />

LOOKUP function works like VLOOKUP but is restricted to returning a value from<br />

the last column of a range.<br />

MATCH Returns the relative position of an item in a range that matches a specified value.<br />

OFFSET Returns a reference to a range that is a specified number of rows and columns from<br />

a cell or range of cells.<br />

The examples in this chapter use the functions listed in Table 8-1.<br />

Basic Lookup <strong>Formula</strong>s<br />

You can use Excel’s basic lookup functions to search a column or row for a lookup value to return<br />

another value as a result. Excel provides three basic lookup functions: HLOOKUP, VLOOKUP, and

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!