Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
laboratory.doc
Скачиваний:
6
Добавлен:
01.07.2025
Размер:
5.68 Mб
Скачать

Exercise 4

Functions : min, max, average, rank, countif, counta, dcount, countifs.

Fill these data in your spreadsheet

Order Details

Order ID

Product

Unit Price

Quantity

Discount

10248

Queso Cabrales

14

12

0

10248

Singaporean Hokkien Fried Mee

9.8

10

0

10248

Mozzarella di Giovanni

34.8

5

0

10249

Tofu

18.6

9

0

10249

Manjimup Dried Apples

42.4

40

0

10250

Jack's New England Clam Chowder

7.7

10

0

10250

Manjimup Dried Apples

42.4

35

0.15

10250

Louisiana Fiery Hot Pepper Sauce

16.8

15

0.15

10251

Gustaf's Knäckebröd

16.8

6

0.05

10251

Ravioli Angelo

15.6

15

0.05

10251

Louisiana Fiery Hot Pepper Sauce

16.8

20

0

10252

Sir Rodney's Marmalade

64.8

40

0.05

10252

Geitost

2

25

0.05

10253

Camembert Pierrot

27.2

40

0

10253

Gorgonzola Telino

10

20

0

10253

Chartreuse verte

14.4

42

0

With the Order Details table above, please

  1. Highlight product(s) with cheapest price

  2. Highlight product(s) with highest price

  3. Calculate the total quantity of the product with Order ID=10260

  4. Count the products with Order ID=10250

  5. Count the products with Order ID=10248 and their quantities are greater than 30 and less than 70

  6. Count the products with their names beginning with “ch”

  7. Count the products with their unit prices > 40 and their quantities >30

  8. Calculate the average of unit prices of products with Order ID =10252

  9. Use rank function to rank the products based on their unit prices

Exercise 5

Fill these data in your spreadsheet

Name

Sex

Attendance

Assignment

Mid-term

Final

Total

Grade

Description

Virak

M

9

12

14

45

80

Soa

M

13

11

12

34

70

Vibol

M

8

8

12

26

54

Theary

F

8

14

14

25

61

Sokha

M

12

12

14

40

78

1.By using if function, determine the student grade based on the following rules:

Total score>=90 then grade A

90>Total score>=80 then grade B

80>Total score>=70 then then grade C

70>Total score>=60 then grade D

60>Total score>=50 then grade E

Else then grade F

2. By using if function, display the word "Pass" or "Fail" under the Description column

Students who pass need to have total score greater than or equal to 50.

Exercise 6

You are required to create a spreadsheet to document and calculate costs in business over the period of a year on a monthly basis. Start by entering in the data below into a blank (Format the amounts as Euro)

January

Wages

2000.00

Services

1500.00

Materials

5000.00

Total costs

  1. Using the AutoSum function total the costs in the appropriate cell

  2. Select the cell containing January. Grab the 'fill handle' (dot on the bottom right of the cell) and drag it 11 cells to the right. It should generate the names of all the months of the year.

  3. Generate numbers for wages, services and materials as follows:

    • Wages stay the same for each month of the year

    • Services increase by €50 each month

    • Materials increase by €100 each month

  4. Now copy the formula for 'Total costs' to all the other months.

  5. Save it again and close it.

Exercise 7

A spreadsheet is require to predict cash flow for a company over the four quarters of a year. Open a blank spreadsheet, enter in the data below. If you type in the Euro symbol, or copy and paste, the numbers may go in as text and you will be unable to do any calculations on them. Enter them in as numers and format them as Euro afterwards.

Month

Jan-Mar

Apr-Jun

Jul-Sep

Oct-Dec

Opening Bank Balance:

€20000

Expenditures

Wages:

€2340

€2340

€2340

€2340

Electricity:

€760

€860

€960

€1060

Overheads:

€1080

€1280

€1480

€1680

Materials:

€6000

€6500

€7000

€7500

Total (expenditures)

Sales Income:

€13290

€13290

€13290

€13290

Profit this quarter

Closing bank balance:

  1. Enter in formulae to calculate 'Total (expenditures) for each quarter. (The sum of all the individual expenditures)

  2. Enter in formulae to calculate the 'Profit' for each quarter. (Sales income less Total expenditures)

  3. Enter in formula to calculate the closing balance for each quarter (The Opening balance plus the profits)

  4. Enter in formulae for the 'Opening balance' for each quarter after the first one (=the closing balance of the previous quarter)

  5. Now to test that your spreadsheet is working, change the Opening balance for the first quarter to €10000 and see if the closing balance for the final quarter reduces by €10000.

  6. Save the spreadsheet again before closing it.

Exercise 8

The table below shows the number of games played, won and lost by a set of teams playing in a league competition. Enter in this on a blank spreadsheet and and then carry out the instructions below.

Played

Won

Lost

Points

Ballina

7

4

3

Delta Notre Dame

7

7

0

Dungannon

7

4

3

Killarney

7

3

4

Killester

7

3

4

Marian

7

2

5

Neptune

6

0

6

St. Vincent's

7

4

3

Star of the Sea

7

6

1

Tralee

6

2

4

  1. Calculate the points for each team, if they get 2 points for every win.

  2. Sort the table from best to worse

  3. Have a look and see if it correctly sorted them. If it did no, select the "Undo" button on the toolbar and try again.

  4. Save the spreadsheet before closing it down.

Exercise 9

Enter in the data below for a football league and then carry out the instructions below:

Played

Won

Drawn

Lost

Goals for

Goals Against

Points

Bohemians

13

3

8

2

22

14

Cork City

13

8

1

4

20

11

Derry City

13

5

4

4

17

13

Drogheda United

13

0

3

10

8

31

Dundalk

13

5

4

4

17

16

Finn Harps

13

6

2

5

20

18

Kilkenny City

13

1

1

11

9

33

Shamrock Rovers

13

6

3

4

19

14

Shelbourne

13

8

2

3

27

14

Sligo Rovers

13

3

7

3

22

22

St. Patrick's Athletic

13

8

4

1

19

10

U.C.D.

13

3

5

5

12

15

  1. Calcualte the points awarded to each team if they get 3 points for a win and 1 point for a draw.

  2. Sort the data from worst down to best.

  3. Below the Goals For column, calculate the total goals scored in the competition and the average goals per game.

  4. Save the spreadsheet before closing it down.

WORKING WITH GRAPHIC OBJECTS

Adding a Picture. To add a picture:

  • Click the Insert tab

  • Click the Picture button

  • Browse to the picture from your files

  • Click the name of the picture

  • Click Insert

  • To move the graphic, click it and drag it to where you want it

Adding Clip Art. To add Clip Art:

  • Click the Insert tab

  • Click the Clip Art button

  • Search for the clip art using the search Clip Art dialog box

  • Click the clip art

  • To move the graphic, click it and drag it to where you want it

Editing Pictures and Clip Art When you add a graphic to the worksheet, an additional tab appears on the Ribbon.  The Format tab allows you to format the pictures and graphics.  This tab has four groups:

Adjust:  Controls the picture brightness, contrast, and colors Picture Style:  Allows you to place a frame or border around the picture and add effects Arrange:  Controls the alignment and rotation of the picture Size:  Cropping and size of graphic

Adding Shapes To add Shape:

  • Click the Insert tab

  • Click the Shapes button

  • Click the shape you choose

To format the shapes:

  • Click the Shape

  • Click the Format tab

The main methods of representations and processing of charts

In Excel you can represent numbers in a chart. A chart is a graphical representation of numbers. On the Insert tab, you can choose from a variety of chart types, including column, line, pie, bar, area, scatter and more. The basic procedure for creating a chart is the same no matter what type of chart you choose. As you change your data, your chart will automatically update.

You select a chart type by choosing an option from the Insert tab's Chart group. After you choose a chart type, such as column, line, or bar, you choose a chart sub-type. For example, after you choose Column Chart, you can choose to have your chart represented as a two-dimensional chart, a three-dimensional chart, a cylinder chart, a cone chart, or a pyramid chart. There are further sub-types within each of these categories. As you roll your mouse pointer over each option, Excel supplies a brief description of each chart sub-type

Create a Chart To create a chart:

  • Select the cells that contain the data you want to use in the chart

  • Click the Insert tab on the Ribbon

  • Click the type of Chart you want to create

Modify a Chart Once you have created a chart you can do several things to modify the chart.   To move the chart:

  • Click the Chart and Drag it another location on the same worksheet, or

  • Click the Move Chart button on the Design tab

  • Choose the desired location (either a new sheet or a current sheet in the workbook)

  • You can also change the colors of the chart.

To change the data included in the chart:

  • Click the Chart

  • Click the Select Data button on the Design tab

To reverse which data are displayed in the rows and columns:

  • Click the Chart

  • Click the Switch Row/Column button on the Design tab

To modify the labels and titles:

  • Click the Chart

  • On the Layout tab, click the Chart Title or the Data Labels button

  • Change the Title and click Enter

Chart Tools The Chart Tools appear on the Ribbon when you click on the chart.  The tools are located on three tabs:  Design, Layout, and Format.   Within the Design tab you can control the chart type, layout, styles, and location.

Within the Layout tab you can control inserting pictures, shapes and text boxes, labels, axes, background, and analysis.

Within the Format tab you can modify shape styles, word styles and size of the chart.

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]