Training Manual - Spreadsheets
Training Manual - Spreadsheets
Table of Contents
1. Section 1 - Introduction ........................................................................................................................ 2
1.1. Module Learning Outcomes.......................................................................................................... 2
1.2. Tools required: .............................................................................................................................. 2
2. Section 2: Interface with Spreadsheets ................................................................................................ 3
2.1. Session 1A – Introduction to spreadsheets .................................................................................. 3
2.2. Session 1B – Working with cells and basic formulas .................................................................. 10
3. Section 3 – Working with Worksheets ................................................................................................ 19
3.1. Session 2A – Managing worksheets and user interface ............................................................. 19
3.2. Session 2B: Managing advanced spreadsheet user environment .............................................. 30
4. Section 4 – Working with formulas and creating charts ..................................................................... 37
4.1. Session 3A Basic formulas and Cell Referencing ......................................................................... 37
4.2. Session 3B – Creating and Formatting Charts ............................................................................. 45
5. Section 5 – Advanced Formatting ....................................................................................................... 58
5.1. Session 4A – Data Manipulation with Formatted Data .............................................................. 58
5.2. Session 4B: Formatting for Enhanced User Interface ................................................................. 66
6. Section 6 – Advanced formatting........................................................................................................ 72
6.1. Session 5A: Rules-based Data Manipulation and Formatting..................................................... 72
6.2. Session 5B: Working with Variables and Data Types .................................................................. 83
7. Section 7 – Creating and printing data reports ................................................................................... 90
7.1. Session 6A: Report Generation ................................................................................................... 90
7.2. Session 6B: Managing Headers/Footers and Page setups .......................................................... 97
1|Page
1. Section 1 - Introduction
The goal of this module is to give skills to leaners on how to interact with spreadsheets
to solve various needs of an organization. Spreadsheets are digital workspaces that
allow users to manipulate data and generate summaries in graphical format.
2. Use formulas and functions to get data summaries using formula libraries
1.2.Tools required:
Microsoft Excel 2010 or higher,
OpenOffice Calc,
Google Sheets
2|Page
2. Section 2: Interface with Spreadsheets
Introduction:
3|Page
When a new document is opened it has the default name Workbook and contains
Sheet1 as the first worksheet. As many worksheets as necessary can be added to a
Workbook. Only one sheet can be active at a time.
Other cells can be used to refer to the data or formulas in a cell. This is known as
referencing.
Characteristic of spreadsheets
1) They allow users to see data in a graphical format using bar graphs, scatter
diagrams, trend lines etc.
2) They do automatic calculations of data once the formulas are put in.
4|Page
3) They perform complex data analysis using
built in formulas in statistics, engineering,
finances etc
Examples of Spreadsheets
5|Page
Platform and Price Comparisons
1
2
3
6|Page
4) Formula Bar-Has two sections. The left shows the cell address of the cell where
the cursor is located. The right contains the actual contents of the cell. Cell
formulas are also visible in this bar.
5
6
5) Status bar- displays the current view and a description of what the application is
currently doing. Results of formulas are also displayed on the status bar.
6) Tab bar-Shows the sheets on the workbook. Select a tab to make a sheet active.
Class Exercise
1. Open the Microsoft Excel application installed on your computer and select
“New workbook”. Use the search icon on the status bar to search for the
application
2. Using the mouse, click in cell A2 to place the cursor and type Student Name, use
the right arrow key on the keyboard to move to cell B2 and type Course.
7|Page
3. Using the arrow keys or the mouse to place the cursor in the respective cells,
populate cells A3-A9 with student names, B3-B9 with courses.
4. To insert an additional row, select row 7 (the row where a new row will be
inserted above), which is where we want to insert a new row. Select the same
number of rows as you want to insert. To insert four rows, select four rows. In our
example, we have selected only one row, therefore only one row will be added.
8|Page
5. Populate the new row with the student name “Moses Musa” taking a course in
“EXD 101 - Exodus”.
6. To insert an additional column, select column A (the column where a new
column will be inserted before)
a. Method I- right-click on column A and in the popup, select insert. This
will automatically shift the rest of the columns to the right, to make from
for the new column.
b. Method II - On the Home tab, Cells grouping, select Insert Sheet Rows.
This will automatically shift the rest of the rows down, to make room for
the new row.
7. Populate the new column with the heading Student Number and populate the
rest of the cells with student numbers as shown.
8. Adjust the Column width by taking the mouse pointer between the two columns
and double click the mouse button.
Added columns appear to the left of the selected cell or above selected column.
When new rows and columns are added, cell references are automatically adjusted.
9|Page
9. To delete rows or columns, select the row or column to delete, on the Edit menu,
click delete. Rows or columns shift up or to the left to fill the space left by the
deleted for or column.
Note: Spreadsheet applications also adjust formulas if a cell is deleted. The #REF
error is displayed if a formula references a deleted cell.
10. Select cells A2,B2 and C2,set the font to Bold and alignment to Center.
11. Save the workbook as StudentMarks1.xlsx, in your class folder.
Class Exercise 1
Class exercise:
10 | P a g e
By the end of this session, you will be able to:
The Merge capability is a common tool used to join selected cells into one or separate
joined cells into single cells. The cells to be merged must be adjacent to each other.
When merging, only the contents of the leftmost column are retained.
Class Exercise
To unmerge the cells, select the merged cell, on the Home tab under
Alignment, highlight Merge and click unmerge.
11 | P a g e
4. Select the merged cell A1, change the font to Times New Roman, 14pt , Bold and
select the fill color Blue, Accent 1, Lighter 60%
12 | P a g e
b. Method II- on the Home Cells grouping, Format Visibility
Hide & Unhide Hide Columns
Note:
9. Select column C and F, right-click and pick unhide from the drop down menu, or
Home Cells grouping, Format Visibility Hide & Unhide Unhide
Columns.
13 | P a g e
10. Add a column before column D and label it “Intake Year”. Fill in 2016 in cell D3.
To auto fill data, select cell D3, and get the + sign on the cell. drag
the fill handle down to D9. This should fill in 2016 in all the cells.
Note:
Using the auto fill feature users can enter a data series faster. A data series refers to a
set of repeated data. You can continue a series of numbers, text, text/number
combinations or formulas using auto fill. Simply add the data in two cells and use the
auto fill handle to populate the rest of the cells. The fill handle can only be dragged
down a single column or across a single row. Auto Fill options include
Copy Cells- copy the entire contents of the cell including formatting
Fill Formatting only- copy only the cell formatting
Fill without formatting- copy the contents of the cell but not the formatting.
Class Activity.
14 | P a g e
6. Alternatively, select cells A3 and A4, get the cross hair, hold down the left mouse
button and scroll downwards. You achieve the same autofill. When the mouse
button is pressed down, a status information is given to the user a the bottom of
the page.
15 | P a g e
Create a hyperlink to a Web page
Class Activity
1. Select the cell C11 (the cell where you want the hypelink to be placed.
2. To on the Insert tab, click group, select Hyperlink. Insert Link Hyperlink
3. The dialogue box appears where you can type in the address (location which you
would like to open) and the Text to display. Text to display is what makes sense
to the user. A file path or a URL may not make much sense to the user. Enter the
following details and select Ok.
16 | P a g e
A link is inserted in the appropriate cell, C11, showing the display text.
4. To activate the link, drag the mouse pointer to get the mouse pointer to change
and get a tool tp.
To edit a hyperlink
5. Hold down the mouse button for at least two seconds on the cell that contains
the hyperlink, and then release the button.
6. Alternative, right click on the cell where the link is and select “Edit Hyperlink”.
This opens the window that enables you to make changes to the hyperlink.
7. To remove a hyperlink, hold down Ctrl key, click the hyperlink, and press delete
on the keyboard. This removes the hyperlink. Or, right click and select “Remove
Hyperlink”.
17 | P a g e
Class Exercise 2
Class exercise:
18 | P a g e
3. Section 3 – Working with Worksheets
i. Name worksheets
ii. Insert and delete worksheets
iii. Copying worksheets
iv. Use different views of worksheets and modify pages with
page break view
v. Adding Headers and Footers in a Worksheet
The default name for Excel worksheets is Sheet1, Sheet2,….Sheetn. When working with
multiple sheets of data, it is necessary to give meaningful names for easier access and
reference. It is important to remember that:
Microsoft Excel
19 | P a g e
Google spreadsheets
1. Open the application Apache Open office Calc from the start menu
2. Click on sheet 1 to rename. In the Dialogue window, type an name with a special
character (<>?/!@#$%^&*). When you select OK, you will get an error message
20 | P a g e
Class activity – Adding Worksheets
Note:
Pressing F11 on its own adds a special worksheet for charts alone.
The worksheet is added to the right of the selected worksheet i.e. N + 1
Chart worksheets are added to the left of the selected sheet i.e. N – 1
5. In the blank area after Communication tab, click once. A dialogue window
appears.
21 | P a g e
6. Select the radio button “From File”. Browse to the location of Studentmarks1.xlsx
and insert the worksheet names “This is an extremely long name”
1. Aside from changing the name, the tab color of a worksheet can also be changed.
Right click on the tab. From the short cut menu, select Tab Color. Select a color of
your choice.
22 | P a g e
2. Open OpenOffice Calc, open the file University Data.Ods and colour the
departments
Hiding Worksheets.
In Excel, one can hide any worksheet in a workbook to remove it from view. You can
also hide the workbook window of a workbook to remove it from your workspace. The
data in hidden worksheets and workbook windows is not visible, but it can still be
referenced from other worksheets and workbooks. You can display hidden worksheets
or workbook windows as needed. By default, all workbook windows of workbooks that
you open are displayed on the taskbar, but you can hide or display them on the taskbar
as needed.
Class Exercise
23 | P a g e
4. You can hide a workbook using the Hide tool in the Window grouping of View
tab. View Hide. This clears the workbook from view and the excel application
is left grey. Close the application and save changes.
5. Open the file StudentMarks1.xlsx in the class folder. Excel loads without the file.
24 | P a g e
2. Rename the Worksheet “This is an extremely long name” to Marks
3. Create a copy of the worksheet Marks.
Right click on the worksheet Marks and select “Move or Copy”
Tick the field “Create a Copy” and select OK
4. An exact copy of the worksheet is created with addition of the copy number
5. Right click on the worksheet named “Copy for Deleting”. Select Delete. A
warning is issued for confirmation. Select Delete.
25 | P a g e
Using Page Layout
1. In the View tab, select “Page Break Preview”. Select OK in the dialogue box that
pops on Page Break Preview. DO NOT tick.
26 | P a g e
The marks now fit in one page and the orintout will be OK.
4. Select File Print. You will see a preview of how the page will look on paper
after printing.
5. A user can also set a print area. Select cells A2 to D9, normal indicated as A2:D9
6. From the Page Layout tab, select Print Area Set Print Area.
7. A print area is set and shown with dotted line. Select File Print. The preview is
the set print area. This can be cleared and reset.
27 | P a g e
Adding Headers and Footers
1. To add Header/Footer and other page settings, select Insert tab, and select
Header/Footer tool. The page is altered to allow Header to be typed in.
4. In the Footer section, add 3 tools. As follows. Note you need to type “Page” and
“of”. The other fields are available in the tools. File Name | Page Number |
Number of pages.
28 | P a g e
Class Exercise 3
29 | P a g e
3.2.Session 2B: Managing advanced spreadsheet user environment
Learning outcomes
When working with large volumes of data, it is possible to view and compare this data
either by opening it in a new window or by splitting a worksheet into different panes. It
is possible to open multiple windows for a single workbook at the same time.
Once the windows are arranged in the preferred format, click the window you want to
view to activate it.
When working with large amounts of data, it is possible to split panes to lock rows or
columns in different areas to compare data.
Class Exercise
30 | P a g e
3. The Workbook will appear in a new window. If you select the Excel tool on the
taskbar, you will see the two Windows open, labeled with a postfix 1 and 2.
5. On the View tab in the Window group, click Arrange All and select an option. A
menu loads where you select arrangements.
31 | P a g e
Tiled – the windows are resized and arranged so
that they all fit side by side on the screen in the
order in which they were opened.
Horizontal- the windows are sized equally above
each other from top to bottom.
Vertical- the windows are resized equally and
placed side by side from left to right.
Cascade- the windows are resized and arranged in an overlapping manner with
only their title bars visible.
6. Compare the medal standings for the three years. In one window, display Beijing
2008 worksheet, in the second Window, London 2012 worksheet and the third
Window, Rio 2016 worksheet.
7. To activate a window, click on the title section of the window.
8. To restore a window, activate the window the select Maximize at the top-right
corner of the workbook.
9. In the View tab, Window grouping, select and click Side By Side. You get an
option to specify which other window you want to view.
32 | P a g e
10. To scroll both worksheets at the same time, click Synchronous viewing
4. Click Split under the Window group in the view tab and the worksheet will be
split horizontally.
33 | P a g e
5. Click, drag and hold the new split put to the middle of the screen.
6. Using the scroll bar, locate Qatar in the lower pane and compare its performance
against Kenya.
7. You can also slip a window horizontally without selecting a row. Take the mouse
pointer to the top if the scroll bar. The mouse shape changes to 2 horizontal bars.
Hold down mouse key, and drag the spilt down.
8. To split a worksheet vertically, select the column to the right of the column
where you want the split and select Split on the Window menu.
9. To undo a split, click Split again OR double click on the split.
10. Close the workbook.
34 | P a g e
Freezing Panes.
To keep an area of a worksheet visible while you scroll to another area of the worksheet,
go to the View tab, where you can Freeze Panes to lock specific rows and columns in
place, or you can Split panes to create separate windows of the same worksheet.
When you freeze panes, Microsoft Excel keeps specific rows or columns visible when
you scroll in the worksheet. For example, if the first row in your spreadsheet contains
headers, you might freeze that row to make sure that the column headers remain visible
as you scroll down in your spreadsheet.
Class Activity.
35 | P a g e
4. To remove the free, select View Freeze Panes Unfreeze Panes. The freeze
lines go.
5. Other options will be freezing first Row, or first column.
6. Close the workbook and save changes.
Class Exercise 4
36 | P a g e
4. Section 4 – Working with formulas and creating charts
Formulas are used to perform calculations on numeric data in cells. All formulas begin
with an equals sign (=). Formulas can be applied to:
Cell values for instance where small amounts of data are being computed, you
can use =C1+C2+C3
Cell range (adjacent or non-adjacent cells), using =SUM(C1:C40)
Whenever the value in the cells is changed, results are automatically recalculated.
37 | P a g e
3. Constants: Numbers or text values entered directly into a formula, such as 2.
4. Operators: The ^ (caret) operator raises a number to a power, and the * (asterisk)
operator multiplies numbers.
Class activity
3. Click on the arrow and select more functions. This loads Insert Menu dialogue
box. You can search a function, or select a category and then a function in that
category.
38 | P a g e
When using formulas, spreadsheets use absolute and relative cell referencing. The
default is relative referencing. A relative reference changes based on the relative
position of the rows and columns. For example, if you copy the formula =G3+H3 to row
four, the formula will now become =G4+H4 and so on. An absolute reference contains
a $ before the row, column or both. This tells the application that the formula has to
repeatedly point to a specific cell. Select the cell that you want to have an absolute
reference and click F4.
Conditional formulas are used to perform logical comparisons. The most common
logical function is IF. Using the IF function tests a condition and if the condition is met,
performs an action, otherwise does something else. Other logical functions include
39 | P a g e
AND, FALSE, NOT, IFERROR, OR and TRUE. Conditional formulas are helpful in
highlighting certain aspects of data.
Class Exercise
1. Open the file ExamRecords.xls in your class folder. Save the file as Filled Exam
Records.xlsx
2. In cell I2, enter the Text Average.
3. Click cell I3 under the column-heading Total, type “= (G3+H3)/2”
40 | P a g e
10. In cell G78 type the formula=AVERAGE(G3:G72)
Average function returns the average of the range of cells
11. Use auto fill to replicate the formulas on columns H and I.(Hint: Drag the auto
fill handle to the right). Final results should be as follows.
1. Open the workbook titled Products.xlsx. Save the file as Filled Products.xlsx
2. In cell D2 type the formula =B2*C2. Use the fill handle to drag the formula to the
rest of the cells in column D. Put comma (,) separator in the cells from the Home
tab, Number grouping. Further, reduce the decimal points to no decimal point.
3. In Cell B16, the VAT has been set as 16%. We would like to calculate the VAT for
each of the items the customer has purchased. In cell E2, type =B16*D2 and drag
the formula to the rest of the cells below. The rest of the cells read 0 as the VAT.
This is because the application is using relative referencing and has moved the
formula in the next cell to read =B17*E3.
41 | P a g e
Note: We want the formula to consistently refer to cell B16 which has our VAT,
so we set an absolute reference point (cell).
4. Select cell E2. In the formula bar, click on B16 and press F4 to insert a $ and make
the column absolute. Press again to insert another $ and make the row absolute.
Your formula in E2 should now read = $B$16*D2
5. Press enter.
6. Use the fill handle to replicate the formula in column E2, to drag to E6.
7. Insert a formula to calculate the Amount Due in column F (Hint: sum of Total
and VAT column).
8. Change the number format for column B to Currency. Select the cells range
B2:B6. In the Home tab, number grouping, change from general to currency.
42 | P a g e
9. Save the worksheet and close.
Explanation: Use an IF function to determine the grade that the student got. The
score is held in column I. If they scored above 70, award an A, if they scored
between 60 and 70 award a B, if they scored between 50 and 60 award a C, if they
scored between 40 and 50 award a D, otherwise if their score was less than 40,
they failed.
Note: Always start from highest to lowest.
3. Replicate the formula up to cell J72. Save the worksheet.
43 | P a g e
To generate the number of students per grade:
1. In cell F81 Type “Grade Summary” and enter the grade values A,B,C,D,Fail in
cell F82-F86.
2. In cell G82, we will use the COUNTIF function to check the data in column J for
A’s, cell G83 for B’s and so on.
3. In cell G82 type the formula =COUNTIF(J3:J72,"A")
4. In cell G83 type the formula =COUNTIF(J3:J72,"B")
5. In cell G84 type the formula =COUNTIF(J3:J72,"C")
6. In cell G85 type the formula =COUNTIF(J3:J72,"D")
7. In cell G82 type the formula =COUNTIF(J3:J72,"Fail")
Grade Count
As 26
Bs 21
Cs 11
Ds 8
Fail 4
Total 70
44 | P a g e
8. Save the worksheet.
Class Exercise 5
45 | P a g e
Spreadsheet applications provide an excellent tool for creating charts. They offer
different types of charts to represent different types of information in a graphical
format.
46 | P a g e
Stock Chart-show the fluctuation of stock prices or scientific data
Surface Chart- find optimal combinations between two sets of data
Doughnut Chart- can contain more than one data series and shows the
relationship of parts to a whole.
Radar Chart- compares the aggregate values of several data series.
A Sparkline is a small chart that fits inside a cell on a sheet and can reveal patterns and
show trends.
47 | P a g e
Class Exercise
48 | P a g e
3. Spreadsheets allow you to use data even if it is not in the current worksheet. To
count the number of male and female students in the worksheet August2016, in
Cell B2:
a) Method I-type =COUNTIF(
b) Click on sheet August2016 and select data in the column C3 to C72 to
create a reference to the worksheet
=COUNTIF(August2016!C3:C72
c) And a ‘, ’ after 72 and type “M”) . this will count the number of
students whose gender is male.
=COUNTIF(August2016!C3:C72,"M")
d) Do the same for female. Replace “M” with “F”. Remember:
Spreadsheets use relative referencing by default. Confirm that your
formula begins count from cell C3 to C72.
=COUNTIF(August2016!C3:C72,"F")
1. To create a Pie Chart to show gender distribution: Select the rows A1 to B3.
2. On the Charts tab, under Insert Chart, select Pie and pick Pie in 3D
49 | P a g e
3. In the Design tab, Chart Layout grouping, Change the chart layout to Layout 6.
4. Any change to the data set in the worksheet August2016 will automatically be
updated on the chart.
5. Save the worksheet.
1. Copy the grade summary data in cell F81 to G86 from the worksheet
August2016.
2. Return to the worksheet Charts and in cell H1, right-click and under Paste
Special pick Paste Values.
50 | P a g e
3. (Unlike in the previous example, this method will paste the number of students
per grade as static text. If there is a change in the August2016 worksheet, it will
not be reflected.) . Change the column Headers as shown:
Grade Number of
Summary students
A 26
B 21
C 11
D 8
Fail 4
51 | P a g e
The column inserted is as follows:
Grade Summary
30
25
20
15
Count
10
0
As Bs Cs Ds Fail
6. To change the emphasis from number of students to grades, click the chart. From
the Design tab, Data grouping, select Switch Row/Column.
7. Select the text in the Chart Title box, and type the chart title: ”Grades Summary”.
52 | P a g e
Grade Summary
30
25
20 As
Bs
15
Cs
10 Ds
Fail
5
0
Count
Postgraduate
Diploma Degree diploma
2011 1 2 2
2012 0 2 3
2013 2 3 1
2014 8 9 0
2015 1 1 1
2016 7 10 1
2. Select the cells A27:D33. From the Insert tab Charts grouping, select 2 – D Line,
Line. (Insert Line 2D Line Line.)
53 | P a g e
3. In the Design tab, Chart Layout grouping, select Layout 5
4. Change the chart title to “Intake- Trends 2011-2016” and the Axis on the left to
“Number of Students”.
54 | P a g e
Intake- Trends 2011-2016
12
Intake- Trends 2011-2016
10
8
6
4
2
0
2011 2012 2013 2014 2015 2016
Diploma 1 0 2 8 1 7
Degree 2 2 3 9 1 10
Postgraduate diploma 2 3 1 0 1 1
55 | P a g e
4. Click cell E28, hold down the mouse button and scroll to cell E33. The range is
automatically added to the small dialogue window. Click on the pointer that
takes you back to the formula
56 | P a g e
7. You can specify the areas of interest that are required for highlight. In the Design
(Sparkling Tools) Tab, Show Grouping, select what you want to highlight.
57 | P a g e
Class Exercise 6
58 | P a g e
Spreadsheets allow a user to sort data by specifying various criteria. Sorting can be
done on numbers, text or custom lists. Sorting rearranges the contents of a column.
When sorting a table with multiple columns, all the rows are rearranged based on the
contents of a particular column.
To sort the lowest values to the top of the column, sort Ascending
To sort the highest values to the top of the column, sort Descending
Class Activity
1. Open the file ChurchActivities.xls in your class folder. Save the File As Church
Activities – Filled.xlsx
2. Select the worksheet ChildrenMinistry.
Applying borders
59 | P a g e
a. Method I- On the Home tab, in the Font grouping, click the arrow besides
the Borders Button. Select All Borders for a line to appear as the border for
the selected cells.
b. Method II – Right click on the selected cell, and select Format Cells. In the
Format Cells dialogue box, select Border tab. Select the style/thickness of
the lines you want, and click on the Outline button and Inside button.
60 | P a g e
2. Select A1-D2 and Merge the cells. Add a Top and Thick Bottom border to the
merged cell from the Borders toolbox
Formatting Colours
3. Choose a color of your choice on the right, and on the left, select the border you
want to apply the style to.
4. In the Home tab, Font grouping, click on drop down arrow to get the Border
menu option. Select the different lines you want to colour following this process.
61 | P a g e
5. Save the document.
1. Change the font “Upcoming Children’s Ministry Activities” to a color and font of
your choice, and font size 14. (Font Style – Bradley Hand ITC, Font Colour – Dark
62 | P a g e
3. Save the worksheet.
4. Resize the Comment box to have less space after the comment
5. For all rows that have children less than 6 years old, add the comment “Please
pack a snack”.
6. To delete a comment, right click on the cell that has the comment and select.
Sorting Data
To sort a column
63 | P a g e
3. Click on any cell in the Location column.
4. On the Data tab under Sort & Filter grouping, click the arrow next to Sort
5. Sort Ascending.
This will sort the Olympic hosts in alphabetic order and move the respective year
to the sorted row. This automatically sorts data ROW-WISE, that is, not just the
selected column.
6. Save the worksheet
64 | P a g e
- In Sort By, select “Nation”, in Sort on, select “Values” and Order, “A to Z”
Next to Then by, “Total” Sort on “Values” and Order “Largest to Smallest”.
Class Exercise 7
65 | P a g e
5.2.Session 4B: Formatting for Enhanced User Interface
Learning outcomes
2. Select the file. In the File type box you can restrict the selection to certain file
types.
66 | P a g e
3. Click the Link box if you want a link to the original file.
If the Link box is marked, whenever the document is updated and loaded the bitmap
image is reloaded. The editing steps that you have carried out in the local copy of the
image in the document are re-applied and the image is displayed.
If the Link box is not marked, you are always working with the copy created when the
graphic was first inserted.
To embed graphics that were first inserted as links, go to Edit - Links and click the
Break Link button.
Class Activity
1. Start MS Excel. Open the file ChurchActivities - Filled.xlsx in your class folder
and locate the ChildrenMinistry worksheet.
2. Insert 5 rows above the heading “Upcoming Children’s Ministry Activities”.
Right click row one and select Insert Row. This adds one row.
Press F4 key on the keyboard 4 times. This repeats the last action by the
user (which was to Insert a row).
1. Insert the image church.jpg from the class folder: In the Insert tab, Illustrations
grouping, select Picture.
67 | P a g e
2. With your mouse, move the cursor to the bottom right of the image until you get
a double-headed arrow. Holding down the SHIFT key, resize the image to fit at
the top left of the rows we have just added.
3. To add an effect to the image, double click on the image to bring up the Format
(Picture Tools) tab. In the Picture style grouping, select Soft Edge Oval or one
you are comfortable style.
68 | P a g e
Inserting and Formatting SmartArt graphic
2. From the Choose a SmartArt Graphic, select the Process category on the left side
pane of the dialogue window. On the right side of the dialogue window, select
Step up process and click OK.
69 | P a g e
5. Click on the new Text Pane to select it. In the Design tab, Create Graphic
category, select Text Pane tool.
6. In the new Text Pane dialogue box, add “Crossroads” in the new pane.
7. Under each of the levels, indent using the right arrow on the text pane and type
the ages for each group.
70 | P a g e
8. To format the Smart Art graphic, select the Canvas. From the Design tab
SmartArt Styles grouping, select Change Colors tool Colorful Colorful –
Accent Colors.
9. Change the color for each of the titles of each level to match the color of the step.
Adjust Font Size and style to suit the sizes.
71 | P a g e
Class Exercise 8
72 | P a g e
data, charts or shapes and are predefined in the spreadsheet application. The following
styles can be applied to a worksheet:
- Cell styles – used to ensure that all cells have consistent formatting: font size,
number formats, cell borders and cell shading
- Table styles – select predefined alternate row styles on table rows
- Chart Styles - apply a predefined style to a chart
- Pivot table styles – select a predefined alternate-row style
Using styles makes it faster to apply a style and multiple formatting attributes to a
worksheet or to multiple worksheets as opposed to changing each element individually.
Using the menu command Format - Conditional formatting, the dialog allows you to
define up to three conditions per cell, which must be met in order for the selected cells
to have a particular format.
73 | P a g e
With conditional formatting, you can, for example, highlight the totals that exceed the
average value of all totals. If the totals change, the formatting changes correspondingly,
without having to apply other styles manually.
Class Activity.
Conditional formatting helps you visually answer specific questions about your data.
You can apply conditional formatting to a cell range, a Microsoft Excel table, or a
PivotTable report. There are important differences to understand when you use
conditional formatting on a PivotTable report.
1. Open MS Excel. Select the cells to which you want to apply a conditional style.
A1:M20
74 | P a g e
2. On the Home tab, in the Styles group, click the arrow next to Conditional
Formatting, and then click Color Scales.
Manage Rules – View or edit the conditions that have bee set
When more than one condition is used, the conditions are applied in the order in which
they appear in the “Rules Manager” window.
Tables can be formatted to make reading data easier. Rows and columns that have been
formatted as tables can be managed independently from the rest of the data.
Class Exercise
75 | P a g e
.
1. Open the file ExamRecords Filled.xlsx from your class folder and activate the
worksheet August2016. Save the file as ExamRecords Formatted.xlsx
2. In the worksheet “August2016”, select the column headings (A2:J2)
3. On the Home tab , in the Styles group, click Cell Styles
4. Select a style and click the worksheet to deselect and see the effect.
5. In the charts worksheet, apply the same style to the headings for the tables
(Gender, Grades and Intake). Click the worksheet to deselect and see the effect.
6. Go back to the worksheet August2016 and select any cell on row 2.
7. In the Styles drop-down, right-click the style you applied in step 3/4 above.
Select Modify from the pop-up menu.
76 | P a g e
8. In the dialog box, view what formatting options are included in the style. Click
the Format button.
9. Change the Font, Font Size, Font color and Font weight. In the Fill tab, choose a
darker color and in the Alignment tab, in vertical alignment select Center.
77 | P a g e
10. Select OK on the Format Cells dialogue box, and OK on the Style dialogue box.
11. In both worksheets, the column headers that have the same style applied will
change to reflect the new formatting options.
4. In the dialog window that opens, enter Cell value is equal to Fail. Pick light red
fill with dark red text from the Format with drop down.
78 | P a g e
5. Click OK. All the cells that have a Fail grade will be highlighted.
6. Using the same process, apply cell formatting to all cells that have a Grade –D.
Apply a different format color.
7. Save the worksheet.
1. In the Home tab, Styles group, Click the Cells Styles tool and select New Cell
Style
2. Set the Style Name as Sheet Titles and select all the checkbox options except
Number.
79 | P a g e
3. Click Format and set the properties for font, Fill, border and alignment. Click
OK.
4. Select the heading Student Marks on row A1 and apply the custom style Sheet
Titles. Select Home Cells Style Custom. You will see the custom made
titles.
To format a table
1. In the workbook ExamRecords Formatted.xlsx, select the cells the (A2:J72) within
the grades table.
2. In the Insert tab, select Table. Specify that the table has headers.
80 | P a g e
3. This loads a new tab, Design (Table Tools). On the Design tab, in the Table
Styles group, select a style to apply.
5. To convert this table back to a normal range of cells and keep the formatting,
a. Method I -Right click on any cell with the column heading. From the
Design Tab, Tools group, select Convert to Range tool.
81 | P a g e
When prompted to save changes, select Yes.
Method II.
Right click on the cells with the Table Header
82 | P a g e
Class Exercise 9
83 | P a g e
In the Home tab, number group, there are different menus available. The currency
format, percentage and decimal points are the default formats for numbers.
Class Activity
84 | P a g e
3. In the Home tab, Number group, set the format to Currency from the drop down
menu. This will automatically insert the coma delimiter and decimal points. And
a dollar sign is added to show it is currency.
5. Highlight cells (A3:D3) and change the font to Comic Sans MS, Size 14 and Bold.
Change the fill color to Orange.
6. To change the currency from Dollars ($) to Kenya Shillings (Kes), select the data
in Cell (B4:B17).
7. Right click select Format Cells from the short cut menu. In the Format Cells
dialogue box, in the Number tab, under Symbol, select KES.
85 | P a g e
8. Save the worksheet.
86 | P a g e
4. On the Home tab, Clipboard group click once on the paintbrush. The mouse
pointer changes to a brush wen moved over the cells.
5. Click on cell A2. The font type, size and merging of cells gets repeated in the new
selection. The paint brush changes back to normal mouse pointer.
6. Center the cell content of cell A2 with the center tool.
1. In cells B21 fill a date in the format date-Month-year e.g. 8th February 2017.
2. Place the cursor in the bottom right corner till the mouse pointer changes to (+).
87 | P a g e
Hold down the left mouse button and drag down to cell B28. This automatically
adds a day to the date.
3. Click on Undo button to change the changes.
5. Select Cells (B20:B28). Right click and select Format Cells. In the number tab of
the Format Cells dialogue box, under Category, select custom.
6. Under Type text box, type the british style date format. dd/mm/yyyy.
88 | P a g e
7. Select Cells (D21:D28) and set the number format to Time.
8. Select cells (D21:D28) and use a date format of your choice, using the custom
option of Format Cells menu.
9. Save the workbook.
89 | P a g e
Class Exercise 10
90 | P a g e
Data filters applied in a spreadsheet sift the data so that only data that meets set
conditions is displayed. This makes it easier to focus on specific information. Filtering
focuses on rows of data. If the row does not meet the condition, it is filtered out by
temporarily hiding it from view. Data filtering can be applied to
Numeric data – this can be filtered on the whether the data equals a certain
number, the data is above or below the average value or whether the data is
greater /less than a specific number.
Text data – this can be filtered on whether the word begins/ends with a specific
letter of the alphabet, contains one or more letters or matches a certain word.
By filtering information in a worksheet, you can find values quickly. You can filter on
one or more columns of data. With filtering, you can control not only what you want to
see, but what you want to exclude. You can filter based on choices you make from a list,
or you can create specific filters to focus on exactly the data that you want to see.
You can search for text and numbers when you filter by using the Search box in the
filter interface.
When you filter data, entire rows are hidden if values in one or more columns don't
meet the filtering criteria. You can filter on numeric or text values, or filter by color for
cells that have color formatting applied to their background or text.
Class Activity
91 | P a g e
5. This adds filters for the data on the top row as follows
6. To filter courses the courses, Uncheck the (Select All) check box. This deselects all
the programmes. Select Level Filter and tick “Diploma” by clicking on it once.
7. Select OK. This lists all the Diploma courses only. 19 records only.
8. Filter the Diploma students with grade A.
92 | P a g e
9. To get back to the original record set, select “(Select All)” in both categories that
had filters applied.
1. Clear the filters by selecting Home Editing Sort and Filters Filters
2. Click on any cell with data. Select Home Editing Sort and Filters Custom
Sort.
3. Sort the records to have the programmes sorted based on the Column= Level, Sort =
Values and Order = A to Z. Always “My data has headers” to ensure the row with
header rows does get included in the data.
4. The default for sorting is only one column. To sort multiple columns, select “Add
Level” tab.
5. Add three column to sort with. Then select the following values.
93 | P a g e
6. This sorts The courses first, then the Gender then the grade.
If you have a list of data that you want to group and summarize, you can create an
outline of up to eight levels, one for each group. Each inner level, represented by a
higher number in the outline symbols displays detail data for the preceding outer level,
represented by a lower number in the outline symbols.
Use an outline to quickly display summary rows or columns, or to reveal the detail data
for each group. You can create an outline of rows (as shown in the example below), an
outline of columns, or an outline of both rows and columns.
1. Open the file Exam Records Filled with Filters.xlsx, if not already open.
2. Make a copy of “August2016” worksheet by right clicking on the worksheet name,
and selecting “Move or Copy Create a Copy
94 | P a g e
3. Delete Row 1 with the data “Student Marks”
4. Delete all the content between Row 73 and Row 86
5. Move the first five columns to the end, so that Level becomes the first column.
6. Delete the five columns (A to E) so that Level becomes the first Column.
7. Select cell range A1:J71
8. From the Data tab Sort & Filter Sort Ascending (A to Z). This lists degree as top
and PostGraduate at the bottom.
9. In the Data tab, Outline group, select Subtotal. Fill in the Subtotals of the level as
follows.
95 | P a g e
10. This gives a Count of the different Levels in the first column and a total of the
Levels.
11. Click on the collapsing icons on the levels on the left side to create a view of
summary data only.
96 | P a g e
7.2.Session 6B: Managing Headers/Footers and Page setups
Learning outcomes
Using the Page Layout view, it is possible to organize pages before printing. On the
page layout,
97 | P a g e
Page Margins.
Note: Page margins that you define in a given worksheet are stored with that worksheet
when you save the workbook. You cannot change the default page margins for new
workbooks
Page Layout
98 | P a g e
Class Exercise
Alternatively, on the Page Layout tab in the Page Setup group, select the drop
down arrow on the bottom right corner of the menu.
4. On the Page Tab, under Scaling, click Adjust To and enter a percentage. To
reduce the worksheet choose a percentage less than 100%, to enlarge the
worksheet select a percentage larger than 100%.
99 | P a g e
To change the page margins
5. Under the Page Setup dialog, select the margins tab and adjust the Top/Bottom,
Left/Right margins.
1. On the Page Layout tab in the Page Setup group, select Orientation. Change
from Portrait to Landscape.
2. From the View tab, Workbook Views group, select Page Break Preview. This
view shows a user where pages will break when the document is printed.
100 | P a g e
3. You get a dialogue box informing you the purpose of the blue lines inserted in
the document. Do not Tick the checkbox. If you check, the dialogue box will not
show again in the future and a new user may not know how to manipulate the
blue line.
4. Take the mouse pointer to the line that separates “Page 1” from “Page 5” as
indicated in the page water marks.
5. The mouse pointer changes to double edged arrow, hold down the mouse button
and drag right, to move the page boundary.
101 | P a g e
Adding Headers and Footers
2. This changes the worksheet to show the user how the print version will look
like.
3. Type the Header as follows:
102 | P a g e