4 Excel Notes
4 Excel Notes
EXCEL
STUDENTS TRAINING MANUAL
KEVIN M. OTIENO
&
EMMANUEL OLAAMONG
INTRODUCTION
This spreadsheet package has been developed to simplify the process of
computing data. It’s a super calculator that enables the user to perform
calculations involving rows and columns. A single worksheet is made up of
16,384 columns and 1,048,576 rows by default. Using spreadsheet, you can
create a financial model in rows and columns just as you would on paper.
This powerful analytical tool can be used to analyze data in the following areas;
Production
Sales analysis
Inventory, Tax and profit planning.
Research and development
Budgeting e.t.c
A file in Microsoft word is called a Workbook. You can create new files or
workbook by;
Click on Office button (or file in other versions)
Select New.
From the appearing dialogue box select Blank workbook. A new workbook will
be created.
NB: When opening Excel for the first time a new workbook is always created.
The ribbon
Excel 2007 provides easy access to commands through the Ribbon, which
replaces the menus and toolbars found in previous versions of Excel. The Ribbon
keeps commands visible while you work instead of hiding them under menus or
toolbars.
Name
box
1. HIGHLIGHTING CELLS
a) To work with a range of cells, you need to know how to select multiple cells.
Click the first cell you want to select in the cell range and hold down the
mouse button, drag to select multiple cells. As you drag, the selected cells are
highlighted. Release the mouse button.
b) To highlight a column or row, click on the column title or row title.
c) To highlight the entire sheet click on the button above row 1 and left of
Column A.
Procedure
Point to the column/row header‘s intersection border until the pointer changes
to a sing.
Click and drag to the left or right (for column) or up or down for row to adjust
the width/ height.
A dotted line appears as you drag, showing you where the new column/ row
border will be.
Inserting worksheets
You can easily add worksheets to a workbook or delete unwanted ones.
Procedure
Click the Insert Worksheet tab.
A new worksheet is added to the workbook.
Or, you can right click on any sheet tab and select insert. In the appearing
dialogue box select worksheet then click OK.
Deleting worksheet
Right-click the sheet tab you want to delete and select Delete from the
contextual menu.
The worksheet is deleted.
Renaming a worksheet
By default, Excel worksheets are given the names Sheet1, Sheet2, Sheet3, and
so on. You can give them more meaningful names.
Double-click the sheet tab. The sheet name is selected so that it can be
renamed.
Type a new name for the worksheet.
Press <Enter>. The sheet is renamed.
Or: To Move or Copy a Sheet: Select the sheet(s) you want to move or copy.
Click the Home tab on the Ribbon and click the Format button in the Cells
group. Select Move or Copy Sheet from the list.
NB: The easiest way to move or copy a worksheet within a workbook is with the
mouse. Select the sheet you want to move or copy. Click and drag the sheet tab
to move it to a new location in the workbook.
5. STYLES
Conditional formatting
Conditional formatting formats cells only if a specified condition is true. For
example, you could use conditional formatting to display weekly sales totals that
exceeded Ksh. 5,000 in bright red boldface formatting, and in bright blue italics
formatting if the sales totals were under Ksh. 2,000. If the value of the cell
changes and no longer meets the specified condition, the cell returns to its
original formatting.
Procedure
Select the cell range you want to format.
Click the Home tab on the Ribbon and click the Conditional Formatting
button in the Styles group.
A menu appears. Here you have several conditional formatting rules to
choose from: e.g.
Highlight Cells Rules: These conditions focus on general analysis. Preset
conditions include: Greater Than; Less Than; Between; Equal To; Text That
Contains; Date Occurring; Duplicate Values.
Top/Bottom Rules: These conditions focus on the high and low values in the
worksheet. Preset conditions include: Top 10 Items; Top 10%; Bottom 10
Items; Bottom 10%; Above Average; Below Average. e.t.c
Created by K. M. Otieno & P. E. Olaamong 7
A dialog box appears, allowing you to specify the details relating to the rule.
Complete the dialog box to define the condition.
Click OK.
Procedure
Select the row or column heading(s) for the row(s) or column(s) you want to
hide.
Right-click the heading and select Hide from the contextual menu.
The row(s) or column(s) are hidden.
Or: Select the row or column heading(s) for the row(s) or column(s) you want
to hide. On the Home tab, click the Format button in the Cells group. Point to
Hide & Unhide and select Hide Rows or Hide Columns.
To unhide sheet
Click the Unhide Window button in the Window group.
The window is unhidden.
NB: If there is more than one window hidden, the Unhide dialog box will appear.
Select which window you want to unhide and click OK.
CHARTS
A chart is a pictorial representation of data.
Charts are used for data representation because they are easy to create and
easy to interpret.
Select the cell range containing the data and labels you want to chart. (NB:You can chart non-adjacent cells if you hold
down the <Ctrl> key while selecting the cells.)
Click the Insert tab on the Ribbon.
In the Charts group, there are several chart types to choose from. Each of the
chart types then has several charts to choose from.
Click a chart type button in the Charts group. A list of charts for the selected
chart type appears.
Select the chart you want to use from the list.
The chart appears in the worksheet and the Chart Tools appear on the
Ribbon.
Chart Templates
You can save a template of a chart that you‘ve customized with your own layouts
and formatting. Then you can use the template to create similar charts in the
future.
When you save a chart as a template, that chart‘s properties are saved for easy
future use.
Procedure
Select the chart you want to save as a template.
Under Chart Tools on the Ribbon, click the Design tab and click the Save as
Template button in the Type group.
Delete a template
If you decide you no longer need a certain chart template, you can delete it.
Print titles
The Print Titles command allows you to designate certain rows and columns to
repeat on every printed page.
Procedure
Click the Page Layout tab on the Ribbon and click the Print Titles button in
the Page Setup group.
The Page Setup dialog box appears, displaying the Sheet tab.
In the Print titles area, there are two text boxes: Rows to repeat at top and
Columns to repeat at left. You can use the cell reference buttons next to the
text boxes to select the ranges that contain the labels you want to repeat on
every page.
Click the Rows to repeat at top or Columns to repeat at left cell reference
button.
The dialog box is minimized so you can see the spreadsheet and select the
cells you want to repeat.
Select the rows or columns you want to appear on every printed page and
click the cell reference button.
The dialog box expands to its full size once again.
Click OK.
When you print, the rows and/or columns you selected will appear on every
page.
Background
You can apply printable pictorial background on your worksheets.
1. ADDITION
Method 1
In adding a range of cells, you use a plus sign (+) e.g. when adding cell B2, B3 &
B4 type the following formula.
=(B2+B3+B4) OR =B2+B3+B4
Method 2
Syntax =sum(cell range)
Type an equal sign, type the word sum, type an opening bracket then define
the range. Type a closing bracket and press enter key. E.g. =SUM(B2:B4)
Method 3
Highlight the range of cells you want to add
Click on Auto sum icon from the standard toolbar
Method 4
Type an equal sign
Type the word sum
Type an opening bracket
Point in the first cell from the cells you want to add
Press down the left button of the mouse and drag up to the last cell
Release the button and press enter key
=Sum(drag the range and press enter
3. IF FUNCTION
The IF function is a conditional function or logical function which evaluates the
condition you specify and return one value if the condition is true and another or
other values if the condition is false.
There are three parts in this formula:
Logical Test: This is this first argument, and it evaluates a statement as true or
false.
Value if True: If the statement in the Logical Test is true, then this value is
entered.
4. PMT FUNCTION
The PMT function calculates the payment for a loan based on periodic payments
and a constant interest rate.
The pmt syntax
= PMT(rate,nper,pv) e.g.
5. VLOOKUP
The VLOOKUP function looks up information in a worksheet. The VLOOKUP
searches vertically down the left most column of a cell range until it finds the
value you specify. When it finds the specified value, it then looks across the row
and returns the value in column you specify.
You can use it for example to determine grades.
The VLOOKUP syntax
=VLOOKUP (lookup_value,table_array, col_index_num)
E.G. =VLOOKUP(B2:$B$11:$C$20,2,TRUE)
6. MODE/ MEDIAN
Mode finds the most common value among the chosen range while median
calculates the middle point of the values chosen.
1. e.g. =MODE(B2:B11)
2. MEDIAN(B2:B11)
7. RANK
8. Calculates the position of a value either ascending or descending
e.g. =RANK(B2,B$2:B$11,0)
for descending value 1 is normally replaced with 0
FILTERING DATA
When you filter data, Excel displays only the records that meet the criteria you
specify—other records are hidden. You can also filter by multiple columns; each
time you filter by an additional column, the data is further reduced.
3. Click the filter button for the column you want to filter. A list of filter options
appears at the bottom of the list. There is an option for every entry in the field.
4. Checkmark the check boxes of values that you want to display. Remove the
checkmarks from check boxes of values that you want to hide. The data is
filtered so that records that do not meet the criteria are hidden. You can keep
filtering by additional columns.
5. Click OK.
REMOVE FILTERING
You can remove a filter to once again display all the data. Click the Home tab on
the Ribbon, click the Sort & Filter button in the Editing group, and select Filter.
The filter buttons disappear and filtering is removed.
SORTING
You can take ranges of data and sort them into different orders. For example, you
can sort text alphabetically, numbers by size, dates and times chronologically,
cells or fonts by color or icon, or you can create a custom sort.
1. Once you have your data organized in columns and rows, you can sort by
values in a certain column. Select the range of data or select a cell in the
column
you want to sort by.
2. Click the data tab on the Ribbon and click the Sort & Filter button in the sort
and filter group.
3. A list of sorting options appears, which change according to the type of data
you are sorting: Text options: Sort A to Z or Sort Z to A. Number options:
Sort Smallest to Largest or Sort Largest to Smallest. Date options: Sort
Oldest to Newest or Sort
Newest to Oldest.
4. Select a sort option. The column is sorted based on the values in the leftmost
column in the selected range. All the fields within each record move together.
For example, if you sort a list of first and last names by last name, the first
names still correspond to the last names after sorting.
VALIDATION
Validation is setting of limit in which data can be entered.
1. To validate data Click the data tab on the Ribbon and click the validation
button in the data tools group.
REMOVING VALIDATION
1. To remove validation Click the data tab on the Ribbon and click the
validation button in the data tools group.
2. Under settings click on any value.
3. The validation will be removed.