18.11.2014 Views

Microsoft Office

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Part V<br />

Analyzing Data with Excel<br />

Query Wizard: Filtering data<br />

In the second Query Wizard dialog box, you specify your record selection criteria — how you want to filter<br />

the data. This step is optional. If you want to retrieve all the data, just click the Next button to proceed.<br />

Figure 33.7 shows the Filter Data dialog box of the Query Wizard.<br />

FIGURE 33.7<br />

In the second step of the Query Wizard, you specify how you want to filter the data.<br />

For the example, not all records are needed. Recall that you’re interested only in the records in which one of<br />

the following applies:<br />

n<br />

n<br />

n<br />

The Division is N. America.<br />

The Department is Training.<br />

The Category is Compensation.<br />

n The Year is 2006.<br />

n The Month is Jan, Feb, or Mar.<br />

The criteria are entered by column. In this case, you have five criteria (one for each of five columns):<br />

n<br />

n<br />

n<br />

n<br />

n<br />

In the Column To Filter list, select Division. In the right panel, select equals from the first dropdown<br />

list and select N. America from the second drop-down list.<br />

In the Column To Filter list, select Department. In the right panel, select equals from the first<br />

drop-down list and select Training from the second drop-down list.<br />

In the Column To Filter list, select Category. In the right panel, select equals from the first dropdown<br />

list and select Compensation from the second drop-down list.<br />

In the Column To Filter list, select Year. In the right panel, select equals from the first drop-down<br />

list and select 2006 from the second drop-down list.<br />

In the Column To Filter list, select Month. In the right panel, select equals from the first dropdown<br />

list and select Jan from the second drop-down list. Because this column is filtered by multiple<br />

values, click on the Or option and then select equals and Feb from the drop-down lists in the<br />

second row. Finally, select equals and Mar from the drop-down lists in the second row.<br />

To review the criteria that you’ve entered, just select the column from the Column To Filter list. The Query<br />

Wizard displays the criteria that you entered for the selected column.<br />

When you’ve entered all the criteria, click Next.<br />

582

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

Saved successfully!

Ooh no, something went wrong!