12
Querying Using Excel

Querying Using Excel

  • Upload
    muriel

  • View
    36

  • Download
    0

Embed Size (px)

DESCRIPTION

Querying Using Excel. Asking questions of the data. If you imagine the master table as a set, when you ask questions of the data you will filter out information into subsets eg all the servants, the women, the children, the male defendants found guilty of murder etc. - PowerPoint PPT Presentation

Citation preview

Page 1: Querying Using Excel

Querying Using Excel

Page 2: Querying Using Excel

Asking questions of the data If you imagine the master table as a set, when

you ask questions of the data you will filter out information into subsets eg all the servants, the women, the children, the male defendants found guilty of murder etc.

In each case go to Data then Filter Next to each heading a box with a down arrow

appears. This will form the basis for our queries.

Page 3: Querying Using Excel
Page 4: Querying Using Excel

Meeting exact conditions For example all those presented at the

Frankpledge court Click on the down arrow next to the ROLE

column. Click on Presented. To return to the whole table, click on the clear

button The bottom line tells you the number of

records filtered from the total.

Page 5: Querying Using Excel
Page 6: Querying Using Excel

Text filters Use the text filters to refine the search For example using does not equal or does not

contain Or begins with/ends with The custom autofilter allows wildcards. So b*r

will select butcher, baker, builder etc. *smith will select blacksmith, gunsmith, coachsmith. Sm?th will select Smith and Smyth

Page 7: Querying Using Excel
Page 8: Querying Using Excel

Ranges It is possible in numerical fields to select data

within a certain range. For example to select all the presentments

between 1600 and 1605 use the Number Filter option and choose greater than 1600 and less than 1605.

The Top Ten… function allows you to select the ten most numerous values.

Page 9: Querying Using Excel
Page 10: Querying Using Excel

Pivot tables To create frequency counts or cross

tabulations use the Pivot Table option The pivot table allows you to select fields to

count or to summarise You can count up all the butchers, bakers and

candlestick makers Or you can compare columns such as age and

sex or role and place

Page 11: Querying Using Excel
Page 12: Querying Using Excel