Consolidating Data Quick Guide
Consolidating Data Quick Guide
Understanding You can use a nested function to test for more than one condition. Here is an example
of an IF formula that ranks data:
Nested Functions
=IF(F2<500, 1, IF(F2<1000, 2,3))
This means, if F2 is less than 500, the rank is 1; if F2 is between 500 and 1000, the
rank is 2; for all other values the rank is 3.
Creating a Nested IF
1. Click the cell where the formula results should be displayed
2. From the formula bar, click Insert Function
3. Click the Or select a category drop-down arrow and choose Logical
4. From the Select a Function list box, choose IF and click OK
5. Click in the Logical_test field and type the expression you want to evaluate
6. Click in the Value_if_true field and type the result if the argument is True
7. Click in the Value_if_false field
8. To begin a new IF function, click the function list drop-down arrow at the left edge
of the formula bar and choose IF
A new Function Arguments window is displayed for the nested IF function.
9. Repeat steps 5-8 to insert additional nested functions
Note: The final nested IF function’s Value_if_false field should contain the return result if all
previous conditions are not met. The maximum number of nested levels is seven.
You can use Named Ranges to assign meaningful names to a cell or range of cells Printed 11/20/2005 9:19:59 PM
Understanding
(i.e., an array). For example, you can assign the name "TaxRate" to cell F1.
Named Ranges • Named cells or arrays used in a formula retain their value when copied or when
using AutoFill (i.e., they are absolute cell references)
• Formulas using descriptive names are easier to understand when the file is shared
• Move around a large worksheet quickly and accurately by assigning names to
sections of data
Creating a Named Range
You can name a range of cells using the Name box on the formula bar.
1. Choose the cell or range of cells you want to name
Note: Cells need not be contiguous.
2. Click the Name Box on the formula bar
1
3. Type the desired name for the cell range
Note: Range names cannot begin with numeric characters, nor can they contain spaces or hyphens.
4. Press [Enter]
Understanding You can use Lookup functions to find a value in another data table. For example, you
Lookups may have a table of part numbers and unit prices. A simple lookup function, like
VLookup or HLookup can return the unit price for a specific part number.
Excel lookup functions include:
VLookup VLookup allows you to look up a value in a vertical list and
insert it into another. It returns a value in the same row from a
column you specify in the table.
HLookup HLookup allows you to look up a value in a horizontal list. It
returns a value in the same column from a row you specify in
the table or array.
Understanding You can use the Index and Match functions together when you want to find a value
Index and Match based on two variables - a row and a column index. For example, you may have a
table that has product names and monthly sales. You want to find the number of units
a product has sold in the month. You use the Match function to find the row (product)
and column (month) number. The Index function will return the value (monthly sales
figure) in the cell at the intersection of row_num and column_num.
2
Understanding the Match Function Return Types
Match_type Return Type
1 Finds the largest value that is less than or equal to lookup_value
Note: Lookup_array must be in ascending order.