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.

Chapter 19: Conditional Formatting and Data Validation 553<br />

Creating a dependent list<br />

Figure 19-31 shows a simple example of a dependent list created by using data validation. Cell E2<br />

contains data validation that displays a list from the range A1:C1 (Vegetables, Fruits, and Meats).<br />

When the user chooses an item from the list, the choice in a second list (in cell F2) displays the<br />

appropriate items.<br />

This worksheet uses three named ranges:<br />

Vegetables: A2:A5<br />

Fruits: B2:B9<br />

Meats: C2:C5<br />

Cell F2 contains data validation that uses this formula:<br />

=INDIRECT($E$2)<br />

Therefore, the list displayed in the drop-down list depends on the value displayed in cell E2.<br />

Figure 19-31: The items displayed in the list in cell F2 depend on the list item selected in cell E2.

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

Saved successfully!

Ooh no, something went wrong!