RFNXVfwQQPS4J

A spreadsheet as a database

Source: licencja: CC 0.

Arkusz kalkulacyjny jako baza danych

You will learn
  • to create tables in a spreadsheet,

  • organize data in a table,

  • create data forms in a spreadsheet,

  • filter data in a table according to specified criteria.

R1ASccdskMEpB1
nagranie abstraktu

databasedatabasedatabase is a set of organized data associated with a specific issue. Basically a database can be treated as a tool for:

The simplest way of visualising the stored data is to organize them into tables. Begin creating a databasedatabasedatabase with designing it. It is important what data you want to store. It is crucial that particular columns (fields) contain data of the same type. Particular rows (records) store data referring to the values of the columns.

Creating a table in Excel facilitates managing and analysing data, and enables accessing the built‑in features of filteringfilteringfiltering, sorting and shading rows. It also enables using various formulas in the so called Total Row at the bottom of the table. You can create a table by using one of the two methods:

RT4HV7WQjDgXh
Ilustracja interaktywna przedstawia dwa okna programu MS Excel ułożone jedno pod drugim. Widoczne są polecenia pozwalające na wstawienie tabel do dokumentu. W pierwszym oknie na zakładce Insert wyróżniony jest przycisk Table. W drugim oknie na zakładce Home wyróżniony jest przycisk Format as a Table. Na ilustracji widoczne są numery, a na nich podpisy. 1. On the Insert tab select Table. {audio}, 2. On the Home tab select Format as Table in the Styles group. {audio}
Creating tables
Source: GroMar, licencja: CC BY 3.0.
R1IdYkLzMuVAX1
nagranie abstraktu

In both cases Excel displays the Create Table dialogue box, which enables specifying the range of cells in the table. After creating the table, you will see the Table Tools with the Design tab. By using the tools on the Design tab you can adjust or edit the table. You can enter data into the table directly in worksheet cells or by using a special data formdata formdata form.

Task 1
RDONKtDiiFhlV1
nagranie abstraktu

In a spreadsheet, insert the table shown in the illustration by using one of the presented methods. Sort the students alphabetically in an ascending order, and then again by the record numbers.

R1ROK9XXsHXUm
A table in a spreadsheet
Source: GroMar, licencja: CC BY 3.0.
R1FLUBm9t97qX1
nagranie abstraktu

The Form buttonbuttonbutton is not included on the ribbon in Excel and if you want to use it, you must add it to the Quick Access Toolbar.

RgXJ5ckt66U79
Adding the Form button
Source: GroMar, licencja: CC BY 3.0.
R1Yr0HNwzj6v51
nagranie abstraktu

After placing the cursor in any part of your table, select the Form buttonbuttonbutton. Excel will automatically create a data formdata formdata form for the selected table.

The data form contains buttons that enable:

  • insertinginsertinginserting a new row,

  • deletingdeletingdeleting an existing row,

  • moving to the previous or next row,

  • finding only rows that meet specified criteria.

Task 2
Rqj4sjCuPWecs1
nagranie abstraktu

In a spreadsheet, create a data formdata formdata form for the table you used in the previous task. Practice the effect of the available buttons.

RAp9YeAJDimbD1
nagranie abstraktu

Filtered data include only rows that meet the specified criteria, other rows are hidden. You can copy, find, edit, format and print the filtered data and create charts based on them.

Task 3
RI3hj79Zjoa8D1
nagranie abstraktu

Find the filter commands in your programme for designing spreadsheets. Use the table from the previous task. Display all the persons:

  • whose first name begins with A,

  • who got the highest mark (A) in computer science,

  • whose first name contains the letter J or M.

RQDnaCTy4R7Tp1
nagranie abstraktu

A table in which particular columns (fields) contain data of the same type, while rows (records) store data referring to the values of the columns can be treated as a tabular databasedatabasedatabase. You can perform typical database operations on such a table, like sortingsortingsorting (organizing records in a specified order) or filteringfilteringfiltering (displaying records meeting specified criteria).

Exercises

Exercise 1
R1LxmeYMywSdU
Wersja alternatywna ćwiczenia: Determine which sentences are true. Możliwe odpowiedzi: 1. Columns in a table correspond to fields in a database, and rows correspond to records., 2. The Form button is not included on the ribbon in Excel and if you want to use it, you must add it to the Quick Access Toolbar., 3. Filtered data include only rows that meet the specified criteria, other rows are hidden. , 4. The command for inserting a table is on the Data tab.
zadanie
Source: GroMar, licencja: CC BY 3.0.
Exercise 2

Create a table in a spreadsheet. Select 10 European cities which you would like to visit. Fill in the following fields:

  • city,

  • country,

  • population of the city.

Then create a data form and add three more cities. Sort the cities in a descending order by population.

By using the filter options, select:

  • cities with the letter ‘a’ as the second letter of their names,

  • cities which do not have the letter ‘o’ in their names,

  • cities with the population exceeding 1 000 000.

Exercise 3

Describe in English the difference between sorting and filtering data.

Exercise 4
RsHgC2EL1fJYh
Wersja alternatywna ćwiczenia: Indicate which pairs of expressions or words are translated correctly. Możliwe odpowiedzi: 1. baza danych - database, 2. przechowywanie - storing, 3. przeglądanie - browsing, 4. wyszukiwanie - searching, 5. wstawienie - filtering, 6. formularz - inserting
zadanie
Source: GroMar, licencja: CC BY 3.0.
R1cxWIIdD8yvR1
Interaktywna gra, polegająca na łączeniu wyrazów w pary w ciągu jednej minuty. Czas zaczyna upływać wraz z rozpoczęciem gry. Jeden ruch to odkrywanie najpierw jednej potem drugiej karty z wyrazem. Każdy wyraz jest odczytywany. Kolejny ruch to odkrywanie trzeciej i czwartej karty. W ten sposób odsłuchasz wszystkie wyrazy. Nawigacja z poziomu klawiatury za pomocą strzałek, odsłuchiwanie wyrazów enterem lub spacją. Znajdź wszystkie pary wyrazów.
Source: Zespół autorski Politechniki Łódzkiej, licencja: CC BY 3.0.

Glossary

browsing
browsing

przeglądanie

RJ8LOqhuDNNuk1
wymowa w języku angielskim: browsing
button
button

przycisk

R1aUHRKC2Av1s1
wymowa w języku angielskim: button
data form
data form

formularz

RqTp7hZZ6Sxx81
wymowa w języku angielskim: data form
database
database

baza danych

R1S2rRmrphx271
wymowa w języku angielskim: database
deleting
deleting

usunięcie

RdXBCDcTgUBqd1
wymowa w języku angielskim: deleting
field
field

pole

RxYH504i9ib3R1
wymowa w języku angielskim: field
filtering
filtering

filtrowanie

RdCMOpnpI41iq1
wymowa w języku angielskim: filtering
inserting
inserting

wstawienie

RNihsQlYKoEGy1
wymowa w języku angielskim: inserting
record
record

rekord

R1W0GkCPWlCh61
wymowa w języku angielskim: record
searching
searching

wyszukiwanie

RT3Tun0DRQyjX1
wymowa w języku angielskim: searching
sorting
sorting

sortowanie

RaPHMab5WGDM31
wymowa w języku angielskim: sorting
storing
storing

przechowywanie

R186y8DhzeG1x1
wymowa w języku angielskim: storing

Keywords

browsingbrowsingbrowsing

databasedatabasedatabase

searchingsearchingsearching

sortingsortingsorting

storingstoringstoring