openoffice calc 2 in pictures

151
Calc 2.0 In Pictures by Jill & Kevin Jordan www.inpics.net

Upload: leon

Post on 25-Jan-2016

234 views

Category:

Documents


0 download

DESCRIPTION

OpenOffice Calc 2 in Pictures

TRANSCRIPT

Page 1: OpenOffice Calc 2 in Pictures

Calc 2.0 In Pictures

by Jill & Kevin Jordan

www.inpics.net

Page 2: OpenOffice Calc 2 in Pictures

Calc 2.0 In Pictures

Copyright

This book is provided under a Creative Commons license at: creativecommons.org/licenses/by-nc-nd/2.5/ You are free to download, copy, and share this electronic book with others. However, it is illegal to sell this book, or change it in any way. If you’d like to sell or change it, just contact us at [email protected].

Trademarks and Disclaimer Visibooks™ is a trademark of Visibooks, LLC. All brand and product names in this book are trademarks or registered trademarks of their respective companies. Visibooks™ makes every effort to ensure that the information in this book is accurate. However, Visibooks™ makes no warranty, expressed or implied, with respect to the accuracy, quality, reliability, or freedom from error of this document or the products described in it. Visibooks™ makes no representation or warranty with respect to this book’s contents, and specifically disclaims any implied warranties or fitness for any particular purpose. Visibooks™ disclaims all liability for any direct, indirect, consequential, incidental, exemplary, or special damages resulting from the use of the information in this document or from the use of any products described in it. Mention of any product does not constitute an endorsement of that product by Visibooks™. Data used in examples are intended to be fictional. Any resemblance to real companies, people, or organizations is entirely coincidental. ISBN 1597061204

Page 3: OpenOffice Calc 2 in Pictures

TABLE OF CONTENTS i

Table of Contents Basic Calculations .......................................... 1

Add ........................................................................................................13

Subtract.................................................................................................21

Multiply..................................................................................................24

Divide ....................................................................................................28

Calculate averages...............................................................................31

Find the maximum value .....................................................................35

Formatting Worksheets ................................ 37

Format text............................................................................................38

Format cells ..........................................................................................47

Adjust columns and rows....................................................................58

Print worksheets ..................................................................................63

Page 4: OpenOffice Calc 2 in Pictures

TABLE OF CONTENTS ii

Manipulating Data .........................................71

Move, copy, and paste......................................................................... 72

Add/delete columns............................................................................. 82

Add/delete rows ................................................................................... 88

Employ multiple worksheets .............................................................. 93

Employ AutoFill ................................................................................... 96

Insert/delete worksheets ................................................................... 102

Advanced Calculations ...............................107

Create formulas across worksheets ................................................ 108

Employ absolute references ............................................................. 114

Employ the function wizard .............................................................. 123

Making Data Visible ....................................131

Add notes ........................................................................................... 132

Freeze panes ...................................................................................... 134

Freeze panes ...................................................................................... 135

Create charts...................................................................................... 139

Page 5: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 1

Basic Calculations

In this section, you’ll learn how to:

• Add

• Subtract

• Multiply

• Divide

• Calculate averages

• Find the maximum value

Page 6: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 2

1. Start Calc.

You should see a screen that looks like this:

Page 7: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 3

2. Click in cell A1 to place the cursor there.

3. Type: Party Palace

Page 8: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 4

4. Click in cell A3. Cell A3 should now be highlighted:

5. Type: Per Costume Costs

6. Press the ENTER key on your keyboard. Cell A4 should now be highlighted.

Page 9: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 5

7. Type: Material

8. Press the ENTER key on your keyboard.

9. In cell A5, type: Elastic

Page 10: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 6

10. Press the ENTER key. In cell A6, type: Labor

11. Press the ENTER key. In cell A7, type: Total

Page 11: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 7

12. Click in cell B4 to highlight the cell. Type: 3.09

13. Press ENTER to move to cell B5. Type: 0.37

Page 12: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 8

14. Press ENTER to move to cell B6. Type: 6.92

15. Press ENTER to move to cell B7.

16. On the Toolbar, click the icon.

Page 13: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 9

17. When the Save as window appears, make sure the My Documents folder appears as the Save in folder.

18. Click the icon.

Page 14: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 10

19. When the New Folder window appears, type: Practice Calc Files in the Name box.

Then press ENTER. The Practice Calc Files folder will appear in the list.

Page 15: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 11

20. Double-click the Practice Calc Files folder. The Practice Calc Files folder should now appear as the Save in folder:

21. In the File name box, type: Party Palace

Page 16: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 12

Click the button. Tip: So far, only Sheet 1 has been used. That’s an individual worksheet.

All the worksheets—Sheet 1, Sheet 2, Sheet 3, etc. (you’ll work with them later) make up a workbook.

Page 17: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 13

Add

1. Click in cell B7.

2. Type: =

3. Click in cell B4.

Page 18: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 14

4. Type: +

5. Click in cell B5.

6. Type: +

Page 19: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 15

7. Click in cell B6.

8. Press the ENTER key. The total in cell B7 should be 10.38.

9. Click in cell B7.

Page 20: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 16

Look in the Formula Bar. It should read: =B4+B5+B6

Tip: You just created a formula that adds up the per costume costs for the material, elastic, and labor. Formulas always begin with an =.

10. On the Toolbar, click the icon.

11. Click in cell D3.

Page 21: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 17

12. Type: Price

13. In the cells below, type:

A B C D E1 Party Palace 2 3 Per Costume Costs Price 4 Material 3.09 Costume 17.995 Elastic 0.37 Packaging 1.256 Labor 6.92 Total 7 Total 10.38 8

14. Click in cell E6.

Page 22: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 18

15. On the Toolbar, click the icon.

The worksheet should look like this:

Page 23: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 19

16. Press the ENTER key. The total in E6 should be 19.24.

17. Click in cell E6.

The Formula Bar should show: =SUM(E4:E5)

Page 24: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 20

Tip: This is just a different way of adding numbers. By clicking

the icon, you told Calc to SUM the numbers from E4 through E5.

Page 25: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 21

Subtract

1. Click in cell G3. Type: Profit Per Costume

2. Click in cell G4. Type: =

Page 26: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 22

3. Click in cell E6. Type: –

4. Click in cell B7. The worksheet should look like this:

Page 27: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 23

5. Press the ENTER key. The Profit Per Costume should be 8.86:

6. Click in cell G4. The Formula Bar should look like this:

Page 28: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 24

Multiply

1. Click in cell A9 and type: Sales

2. Press the TAB key on your keyboard. It should move the cursor to cell B9.

Page 29: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 25

3. In cell B9, type: 2250

4. In cell A11, type: Profits

Page 30: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 26

5. In cell B11, type : =

6. Click cell B9, then type: *

Tip: This is the multiplication symbol. To type it, hold down the SHIFT key, then press the number 8 key.

Page 31: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 27

7. Click cell G4, then press the ENTER key. The Profits should read 19935:

8. Click cell B11. The Formula Bar should read: =B9*G4

Page 32: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 28

Divide

1. Click cell I3, then type: Profit Margin

2. Click cell I4, then type: =

3. Click cell G4, then type: /

Page 33: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 29

4. Click cell E6, then press the ENTER key. The Profit Margin should be 0.46:

5. Click cell I4. The Formula Bar should read: =G4/E6

6. Change the price of the costume to 15.97, then press the ENTER key.

Page 34: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 30

See how the profit margin changes along with the price (cell E4) used in the formula:

7. Change the price of the Costume back to 17.99.

8. On the Toolbar, click the icon.

Page 35: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 31

Calculate averages

1. Click in cell A13, then type: Subsidies

2. In cells A14 through C14, type :

2003 2004 2005

Page 36: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 32

3. In cells A15 through C15, type:

2003 2004 20051000 800 1200

4. In cell E14, type: Average

Page 37: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 33

5. In cell F14, type: =average(

Tip: Don’t forget to type the ( opening parenthesis. It tells Calc to begin averaging a series of cells.

6. Highlight cells A15 through C15. The worksheet should look like this:

Page 38: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 34

7. Press the ENTER key. The average subsidy should be 1000:

8. Click cell F14. The Formula bar should show: =AVERAGE(A15:C15)

Page 39: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 35

Find the maximum value

1. Click in cell E15, then type : Maximum

2. Click in cell F15, then type: =MAX(A15:C15)

Page 40: OpenOffice Calc 2 in Pictures

BASIC CALCULATIONS 36

3. Press ENTER. The worksheet should look like this:

4. Click the icon.

5. Click the icon to close the Party Palace spreadsheet.

Page 41: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 37

Formatting Worksheets

In this section, you’ll learn how to:

• Format text

• Format cells

• Adjust columns and rows

• Print worksheets

Page 42: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 38

Format text

Modify fonts

1. Open the Party Palace workbook from the Practice Calc Files folder.

2. Click cell A1.

3. On the Toolbar, click the icon.

4. Click the drop-down arrow beside the Font Size box.

Page 43: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 39

5. When the menu appears, click 18.

6. In the Font list, click Lucida Sans.

Page 44: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 40

The text should look like this:

7. Double-click on cell A3.

8. Highlight the text Per Costume Costs.

Page 45: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 41

9. Click the icon, then the icon. The text should look like this:

10. Make this text bold and italic: Price Profit Per Costume Profit Margin Sales Profits Subsidies The worksheet should look like this:

Page 46: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 42

Format numbers

1. Highlight cells B4 through B7.

On the Toolbar, click the icon.

Page 47: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 43

Tip: If the icon isn’t present on the Toolbar, click the arrow at the end of the Toolbar, then Visible Buttons, then Number Format: Currency.

Page 48: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 44

2. Click the worksheet. The numbers should look like this:

3. In the same way, format all the numbers in the worksheet (except the Subsidies years and Profit Margin) as currency. The worksheet should look like this :

4. Click cell I4.

Page 49: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 45

5. On the Toolbar, click the icon three times.

6. Click the icon. There should be four decimal places remaining:

7. On the Toolbar, click the icon.

Page 50: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 46

The number should change to percent:

Page 51: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 47

Format cells

Change cell color

1. Drag from cell E14 to E15 to highlight both cells.

Page 52: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 48

2. On the Menu Bar, click Format, then Cells.

Page 53: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 49

3. When the Format Cells window appears, click the Background tab.

Page 54: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 50

4. In the Color grid, click the light gray square.

5. Click the button.

Page 55: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 51

6. Click the worksheet. The cells should look like this:

Page 56: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 52

Add borders

1. Click and drag from cell E14 to cell F15 to highlight the four cells.

2. On the Menu Bar, click Format, then Cells.

Page 57: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 53

3. When the Format Cells window appears, click the Borders tab.

Page 58: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 54

4. Click the button.

5. Click the button.

Page 59: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 55

6. Click the worksheet. The cells should be outlined:

Page 60: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 56

Shift alignment

1. Highlight cells A4 through A7.

2. On the Toolbar, click the icon.

3. Click the worksheet. The text in the cells should be right-aligned:

Page 61: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 57

4. Highlight the same cells again.

5. Click the icon.

The text should be centered in the cells:

Page 62: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 58

Adjust columns and rows

Adjust column width

1. Place the cursor on the divider between the A and B column headers.

It should turn into a double-arrow:

2. Drag the divider to the left to make column A narrower.

Some of the cells should display signs:

Page 63: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 59

Tip: This means the column is too narrow to display the cells’ contents.

3. Drag the divider back to the right until you can see the contents of the cells in column A:

4. Double-click on the divider between the G and H column headers.

It will make column G as wide as it needs to be to display all the contents of cells in that row:

Page 64: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 60

Adjust row height

1. Click the box in the corner at the intersection of the column and row headings:

This will select the entire worksheet:

Page 65: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 61

2. Place the cursor on the divider between rows 4 and 5. It should become a double-arrow.

3. Drag the divider down. This will make all rows taller:

Page 66: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 62

4. On the Toolbar, click the icon.

The worksheet should return to normal row height.

5. Click the worksheet to de-select it.

Page 67: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 63

Print worksheets

Page preview

1. On the Toolbar, click the icon.

This will show how the worksheet will look when printed:

Page 68: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 64

2. Click the button.

3. When the Page Style window appears, click each tab.

4. Click the button.

5. Click the button.

Page 69: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 65

Adjust page breaks

1. On the Menu Bar, click View, then Page Break Preview.

2. Drag the blue line between columns G and H to the right until it merges with the blue line between columns I and J.

Page 70: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 66

3. Drag the bottom blue solid line down until it shows all the page’s content.

4. On the Menu Bar, click View, then Normal.

Page 71: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 67

The worksheet should return to normal view.

Tip: in the normal view, you can now see a heavier line between columns I and J. This represents the new page break.

Page 72: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 68

Print a region

1. Select cells A3 through J7.

Page 73: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 69

2. On the Menu Bar, click File, then Print.

Page 74: OpenOffice Calc 2 in Pictures

FORMATTING WORKSHEETS 70

3. When the Print window appears, click the Selection radio button.

To print the selection, click the button.

Tip: To skip printing, click the button.

4. Save and close the Party Palace workbook.

Page 75: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 71

Manipulating Data

In this section, you’ll learn how to: • Move, copy, and paste

• Add/delete columns

• Add/delete rows

• Employ multiple worksheets

• Employ AutoFill

• Insert/delete worksheets

Page 76: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 72

Move, copy, and paste

Move cell contents

1. Open the Party Palace workbook from the Practice Calc Files folder.

2. Highlight cells G3 and G4.

3. Place the cursor on the highlighted cells.

Page 77: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 73

4. Click and drag the cells one cell to the left.

Page 78: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 74

5. Click on the worksheet. It should look like this:

6. Click cell I4.

Page 79: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 75

7. On the Menu Bar, click Edit, then Cut.

8. Click cell G4.

Page 80: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 76

9. On the Menu Bar, click Edit, then Paste.

Page 81: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 77

When you’re done, the cells should look like this:

Page 82: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 78

Copy and paste

1. Highlight cells I3 through J3.

Page 83: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 79

2. On the Menu Bar, click Edit, then Copy.

3. Click cell G3.

Page 84: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 80

4. On the Menu Bar, click Edit, then Paste.

It should look like this:

Page 85: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 81

5. Highlight cells I3—J3.

Then press the DELETE key on the keyboard. The worksheet should look like this:

Page 86: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 82

Add/delete columns

Add a column

1. Click the D column heading.

2. On the Menu Bar, click Insert, then Columns.

Page 87: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 83

A new column should appear:

Page 88: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 84

Add multiple columns

1. Click and drag across column headings D, E, and F.

2. On the Menu Bar, click Insert, then Columns.

Page 89: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 85

Three new columns should appear:

Page 90: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 86

Delete columns

1. Click the D column heading.

2. Right-click the D column heading. When the menu appears, click Delete Columns.

Page 91: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 87

The column should disappear:

3. Right-click the D column heading, then Delete Columns three more times. The worksheet should look like this:

Page 92: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 88

Add/delete rows

Add row

1. Click on the row heading for row 12.

2. On the Menu Bar, click Insert, then Rows.

Page 93: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 89

A new row should appear:

Page 94: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 90

Delete row

1. Right-click the row heading for row 13.

2. When the menu appears, click Delete Rows.

Page 95: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 91

The row should disappear:

Page 96: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 92

Practice

1. Click and drag down the row headings for rows 9 through 15. Right-click the highlighted rows and delete them.

2. Insert a new column in front of column F.

3. Insert a new column in front of column H.

4. Insert two new rows above row 3.

5. In the new row 3, type: Numbers Per Costume

6. Make this text Lucida Sans, 12 point, and bold. The worksheet should now look like this:

Page 97: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 93

Employ multiple worksheets

1. Right-click the Sheet1 tab.

2. When the contextual menu appears, click Rename Sheet.

Page 98: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 94

When the Rename Sheet window appears, the words Sheet1 should be highlighted.

3. Type: Numbers Per Costume

then click the button. The tab should look like this:

4. Rename the Sheet2 tab.

5. Type: Sales

Page 99: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 95

6. Click the Numbers Per Costume tab again. The tabs should now look like this:

Tip: if you cannot see the Numbers Per Costume tab, click the

icon.

Page 100: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 96

Employ AutoFill

1. Click the Sales tab.

2. In cell A1, type: Costume Sales Make this text Lucida Sans, 12 point, bold:

3. In cell A3, type: January

4. In cell B3, type: February

Page 101: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 97

5. In cell C3, type: March

6. Highlight cells A3 through C3.

7. Place the cursor on the Fill Handle.

It should turn into a cross:

Page 102: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 98

8. Drag the cursor to cell L3.

9. Release the mouse button. The months should fill in consecutively:

10. In cell A4, type: 10

11. In cell B4, type: 20

12. Highlight cells A4 and B4, then place the cursor on the Fill Handle.

Page 103: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 99

13. Drag it to cell L4. The numbers should fill in, in increments of 10:

14. In cell N3, type: Total

15. Click cell N4, then click the icon.

Page 104: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 100

Cells A4 through M4 should be surrounded by a blue box.

16. Place the cursor on the lower right corner of the blue box and drag one cell to the left.

Now only the cells with numbers in them should be in the blue box.

Page 105: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 101

17. Press ENTER. The yearly total of 780 costumes sold should appear:

18. Save the workbook.

Page 106: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 102

Insert/delete worksheets

Insert worksheets

1. Click the Sheet3 tab.

2. On the Menu Bar, click Insert, then Sheet.

Page 107: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 103

3. When the Insert Sheet window appears, click the button.

A new tab should appear in front of Sheet3:

Page 108: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 104

Delete worksheets

1. Right-click the new tab, then click Delete Sheet.

2. Click the button in the dialogue box that appears.

The new tab should disappear:

Page 109: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 105

3. Rename the Sheet3 tab: Revenue The tabs should now look like this:

4. Save and close the Party Palace workbook.

Page 110: OpenOffice Calc 2 in Pictures

MANIPULATING DATA 106

Page 111: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 107

Advanced Calculations

In this section, you’ll learn how to:

• Create formulas across worksheets

• Employ absolute references

• Employ the function wizard

Page 112: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 108

Create formulas across worksheets

1. Open the Party Palace workbook.

2. Click the Revenue tab.

3. In cell A1, type: Revenue Make this text Lucida Sans, 12 point, bold:

4. In cell B3, type: January

5. Fill in the cells from C3 to M3 with the months of the year.

Page 113: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 109

6. In cell A4, type: Gross Sales

7. In cell B4, type: =

8. Click the Numbers Per Costume tab.

Page 114: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 110

9. In the Numbers Per Costume sheet, click cell E8.

10. Type: *

Page 115: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 111

11. Click the Sales tab.

12. In the Sales sheet, click cell A4.

Page 116: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 112

13. Press ENTER. On the Revenue sheet, January’s gross sales should be $192.40: The price of a costume times The number of costumes sold in January.

14. Click cell B4. In the Formula Bar is the formula that expresses this: ='Numbers Per Costume'.E8*Sales.A4

Note the sheets are listed before the cell coordinates.

Page 117: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 113

Practice

1. On the Revenue sheet, type: Net Revenue in cell A5.

2. In cell B5, create a formula that multiplies the profit per costume by the number of costumes sold in January. When you’re done, the Net Revenue in January should be $88.60:

Page 118: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 114

Employ absolute references

1. On the Revenue sheet, click cell B4.

Notice the formula in the Formula Bar: ='Numbers Per Costume'.E8*Sales.A4

2. Place the cursor on the Fill Handle, then drag it to cell C4.

Page 119: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 115

Cell C4 should contain only a 0.

3. Click cell C4. Note the formula in the Formula Bar: ='Numbers Per Costume'.F8*Sales.B4

Page 120: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 116

This means Calc is multiplying cell F8 in the Numbers Per Costume sheet with January’s costume sales. When the formula in B4 was moved over to cell C4, Calc moved over the cells used in the formula, too: From E8 to F8 in the Numbers Per Costume sheet:

From A4 to B4 in the Sales sheet:

Page 121: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 117

4. Click the Numbers Per Costume sheet, then look at cell F8—a blank cell.

The formula in cell C4 on the Revenue sheet is multiplying January’s Costume sales by nothing—a blank cell. To fix this, an absolute reference is employed.

5. On the Revenue sheet, click cell C4.

6. Press DELETE.

Page 122: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 118

7. Click cell B4.

8. Click in the Formula Bar, before the E in E8 to place the cursor there.

9. Type: $

Page 123: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 119

10. Click before the 8 in E8 to place the cursor there.

11. Type: $

12. Press the ENTER key.

Page 124: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 120

13. Click cell B4. Notice the formula in the Formula Bar: ='Numbers Per Costume'.$E$8*Sales.A4

14. Place the cursor on the Fill Handle and drag it to cell C4. February’s Gross Sales should be $384.80: The price of a costume ($17.99) times The number of costumes sold in February (20).

Page 125: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 121

15. Click cell B4, then cell C4. Notice the formulas in the Formula Bar. Both formulas use cell E8 in the Numbers Per Costume sheet.

16. Click cell C4, then place the cursor on the Fill Handle.

17. Drag it to cell M4. The worksheet should look like this:

By employing an absolute reference—using the $ symbol to make each formula use the same cell containing the costume price—the formula stays accurate for all months.

Page 126: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 122

Practice

1. Edit the formula in cell B5 in the Revenue sheet to make cell G6 in the Numbers Per Costume sheet an absolute reference.

2. Use the Fill Handle to copy the formula in cell B5 so the Revenue sheet shows each month’s net revenue. When you’re done, the Revenue sheet should look like this:

Page 127: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 123

Employ the function wizard

1. In the Revenue sheet, click cell A7.

2. Type: In how many months were sales greater than $200?

Page 128: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 124

3. Click cell F7.

4. On the Menu Bar, click Insert, then Function.

Page 129: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 125

5. When the Function Wizard window appears, click Mathematical in the Category list:

Page 130: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 126

6. Scroll down the Function list, then click COUNTIF.

7. Click the button.

Page 131: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 127

8. Click in the Range box to place the cursor there.

9. Highlight cells B4 through M4.

Tip: If the Function Wizard window covers the cells, click the icon to minimize it.

To maximize the Function Wizard window, click the icon again.

Page 132: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 128

10. Click in the Criteria box, then type: “>200”

Page 133: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 129

11. Click the button. Cell F7 should show that sales were greater than $200 in 11 months.

12. Save and close the Party Palace workbook.

Page 134: OpenOffice Calc 2 in Pictures

ADVANCED CALCULATIONS 130

Page 135: OpenOffice Calc 2 in Pictures

MAKING DATA VISIBLE 131

Making Data Visible

In this section, you’ll learn how to:

• Add notes

• Freeze panes

• Create charts

Page 136: OpenOffice Calc 2 in Pictures

MAKING DATA VISIBLE 132

Add notes

1. Open the Party Palace workbook.

2. On the Numbers Per Costume sheet, click cell I6.

3. On the Menu Bar, click Insert, then Note.

Page 137: OpenOffice Calc 2 in Pictures

MAKING DATA VISIBLE 133

4. Type: Pretty good profit margin, eh?

5. Click the sheet. The red square in cell I6 indicates that it contains a note.

Page 138: OpenOffice Calc 2 in Pictures

MAKING DATA VISIBLE 134

6. Move the cursor onto cell I6. The note should appear:

Page 139: OpenOffice Calc 2 in Pictures

MAKING DATA VISIBLE 135

Freeze panes

1. Click the Sales tab.

2. In the Sales worksheet, click cell A4.

3. On the Menu Bar, click Window, then Freeze.

Page 140: OpenOffice Calc 2 in Pictures

MAKING DATA VISIBLE 136

4. Scroll vertically in the worksheet. The rows below the months should scroll.

5. On the Menu Bar, click Window, then Freeze again.

Freezing panes Freezing panes is a great help when working with large spreadsheets. As shown in the example above, freezing panes makes it easier to see what numbers in cells represent.

Page 141: OpenOffice Calc 2 in Pictures

MAKING DATA VISIBLE 137

6. Scroll vertically in the worksheet. The view should have returned to normal.

7. Click the heading for column C.

8. On the Menu Bar, click Window, then Freeze.

Page 142: OpenOffice Calc 2 in Pictures

MAKING DATA VISIBLE 138

9. Scroll horizontally in the worksheet. The columns to the right of column B should scroll.

10. On the Menu Bar, click Window, then Freeze again.

Page 143: OpenOffice Calc 2 in Pictures

MAKING DATA VISIBLE 139

Create charts

1. In the Sales worksheet, highlight cells A3 through L4.

2. On the Toolbar, click the icon.

Then click the worksheet.

3. When the Auto Format Chart window appears, click -new sheet- in the Chart results in worksheet dropdown list.

4. Click the button.

Page 144: OpenOffice Calc 2 in Pictures

MAKING DATA VISIBLE 140

5. Make sure the Rows radio button is checked.

Then click the button twice.

6. In the next step, highlight Main Title, then type: Costume Sales in the Chart title box.

Page 145: OpenOffice Calc 2 in Pictures

MAKING DATA VISIBLE 141

7. Click the button.

The chart should appear:

Page 146: OpenOffice Calc 2 in Pictures

MAKING DATA VISIBLE 142

8. Rename the new sheet Costume Sales Chart.

Page 147: OpenOffice Calc 2 in Pictures

MAKING DATA VISIBLE 143

Practice

1. Using the Chart Wizard, create a Bar graph from the data in the Revenue sheet.

2. Save the chart on a new sheet called Costume Sales Revenue Chart. It should look like this:

3. Save and close the Party Palace workbook.

Page 148: OpenOffice Calc 2 in Pictures

MAKING DATA VISIBLE 144

Page 149: OpenOffice Calc 2 in Pictures

GLOSSARY 145

Glossary Absolute Reference A cell reference that remains fixed even if the cell containing the formula is moved. AutoSum An icon used to automatically total a column or row. Cell The basic unit of Calc, formed by the intersection of a row and column. Chart A visual representation of data, such as a pie chart or bar graph. Column A vertical line of cells in a worksheet. Column Header The identifying label at the top of a column. Fill Handle A small solid box in the lower right corner of a selected cell. It is used to copy the contents of a cell or cells into adjacent cells. Formula An equation that tells Calc how to calculate values in a worksheet. Formula Bar A box located at the top of an Calc worksheet that displays the formula within the selected cell. Freeze Selecting rows or columns so they remain stationary when scrolling in a worksheet.

Page 150: OpenOffice Calc 2 in Pictures

GLOSSARY 146

Range An array of selected cells. A range is ndicated with a colon between cell designations. Example: A1:A15 indicates the first 15 cells in column A. Row A horizontal line of cells labeled with a number on the left side of a worksheet. Row Header The identifying number for each row. Select All button The gray square at the upper left intersection of rows and columns. Tab A stub the bottom of a worksheet (like on a file folder) that contains the name of the worksheet. Workbook An entire Calc file comprised of worksheets. Worksheet A single Calc sheet within a workbook.

Page 151: OpenOffice Calc 2 in Pictures

Where To Get In Pictures Books

If you liked this book, and would like to buy more like it, visit:

www.inpics.net

In Pictures offers more than 20 titles on subjects such as:

• Computer Basics

• Microsoft Office

• Desktop Linux

• OpenOffice.org

• Web Site Layout

• Web Graphics

• Web Programming

In Pictures: computer books based on pictures, not text.

www.inpics.net