Professional Documents
Culture Documents
Manupulating Data in MS Excel 2007
Manupulating Data in MS Excel 2007
Manupulating Data in MS Excel 2007
z
Objectives
Objectives:
Use the basic functions SUM, AVERAGE, MAX, MIN, IF, COUNTIF,
etc.
z
Performing Calculations on Data
more with your data in Office Excel 2007. One important task
you can perform is to calculate total, average, finding the
minimum/maximum, etc. for the values in a series of related
cells.
03/19/2024
4
z
Define and use cell range names in
formulas
By using names, you can make your formulas much easier to understand
and maintain. You can define a name for a cell range, function, constant, or
table. Once you adopt the practice of using names in your workbook, you
can easily update, audit, and manage these names.
LIVE LIFE TO THE FULLEST, AND FOCUS ON THE POSITIVE
1. Select the cell, range of cells, or nonadjacent selections that you want to
name.
2. Click the Name box at the left end of the formula bar.
3. Type the name that you want to use to refer to your selection. Names can be
up to 255 characters in length.
03/19/2024
4. Press ENTER.
5
z
Working with Excel Formulas
Excel enables you to create a very wide range of formulas for performing
whatever type of calculations you need. Each formula has a cell reference and
starts with the „=‟ (equal) sign. To create a formula, you can perform the
following steps:
LIVE LIFE TO THE FULLEST, AND FOCUS ON THE POSITIVE
3. Type„=‟ Sign.
5. Press Enter
03/19/2024
6
z
Working with Excel Formulas
z
Copying formulas
z
Absolute Positioning
z
Paste your formula using “paste special”
method
1. Select the cell.
4. Right click on mouse and select paste special on the shortcut menu.(Now
LIVE LIFE TO THE FULLEST, AND FOCUS ON THE POSITIVE
5. Using paste special window select what you need. For example, if you
select „Values‟ the paste operations gives pasting the values only. There will
be no cell reference pasted. I.e.: it will paste the values containing in the
copied cells but not the formulas.
6. Click OK.
03/19/2024
10
z
Working with Excel functions
z
SUM Function
In the first and second spots you can enter any of the following
(constant, cell, range of cells).
Note: Blank cells will return a value of zero to be added to the total.
Text cells cannot be added to a number and will produce an error.
03/19/2024
12
z
More about SUM function
z
AVERAGE function
Text fields and blank entries are not included in the calculations
of the Average Function.
03/19/2024
14
z
The MAX Function
z
The MIN Function
z
The COUNT Function
The next function we will discuss is Count. This will return the
number of entries (actually counts each cell that contains) in the
LIVE LIFE TO THE FULLEST, AND FOCUS ON THE POSITIVE
selected range of cells. Blank and text entries are not counted.
z
IF Function
IF statement is used in Excel to do certain actions, only if something is true. For example,
you might want to print out the message "Pass” if marks >=40 in a particular result sheet.
Otherwise, you just want to print out "Fail" The IF function lets you to take this kinds of value
based decisions. This section will show you couple of basic examples of how you can make
use of the IF function. Syntax of the if function can be described as follows;
The condition to be checked for satisfaction. Ex: We will use C3> 40 in the example
below. This is a comparison.
What to be done if the condition checked is satisfied. i.e. the condition is true
What to be done if the condition checked is not satisfied. i.e. the condition is false
Example: Create a function to print the message “PASS” under the column with the heading
“Results” if Marks is greater than 40. Else, print “FAIL” =IF (C3>40,"PASS","FAIL")
03/19/2024
18
z
Create an if function using Function
Wizard
Excel has a built in wizard to help you make your own If functions.
3. There are three places appear in the function wizard that are used
to set logical test and the true or false values.
z
Other functions available in Excel 2007
z
Exploring more on functions
using the Excel Help. The help menu gives you the descriptions
on each function together with good examples for you to learn
how to use them.
03/19/2024
21
z
Sort and filter your data
When you work with a large data set, sometimes you might want
to sort the records in a particular order, in order to make your
working easily. Or you may feel easy to locate a particular data if
LIVE LIFE TO THE FULLEST, AND FOCUS ON THE POSITIVE
z
Sorting your data
4. Click Sort.
03/19/2024
23
z
Filter your data
4. Click Filter.
LIVE LIFE TO THE FULLEST, AND FOCUS ON THE POSITIVE
Example: filter you data set to display only who have obtained Marks greater than or equal to 75. Follow the steps given
below:
2. Click filter button in the sort and filter groups. Now you can see the column headings are changed as follows.
5. Select greater than or equal to (Now custom filter will be appeared as follows).
z
Remove Filters in your data set
z
Error in cells
Error Description
###### There is nothing wrong with your formula; the cell simply isn't big
enough to display the result. Widen the column.
#DIV/0 You are trying to divide by zero. Correct the divisor or If the divisor is
a cell reference, check to make sure the cell isn't empty.
#NAME? There is a name in the formula that Excel doesn't recognize. If you
used a natural language name, check the spelling or If you typed in a
LIVE LIFE TO THE FULLEST, AND FOCUS ON THE POSITIVE
function, check the spelling or verify that the function exists or If you
are performing operations on text, enclose the text in double
quotation marks.
#REF! A cell reference is not valid. Re-enter the formula.
#VALUE! The formula uses the wrong type of operand or argument. Check to
see that you're not performing math operations on labels or that
arguments of functions that need to numeric are not referring to cells
containing labels.
03/19/2024
26
z
Self Assessment Questions
15.2 What are the four different types of operators use in Excel
2007? Give examples for each type.
LIVE LIFE TO THE FULLEST, AND FOCUS ON THE POSITIVE
z
Self Assessment Question
15.6 What does it mean if the following errors are appearing in some cells of your work
sheet? How do you fix each error?
z
Objectives
z
Changing Document Appearance
When you enter data into cells, the content will be displayed according to the default settings.
For an example, if you enter the data „015‟ in a cell, by default Excel will recognize it as a
numerical value and will be automatically displayed it as „15‟ by omitting the beginning zero
LIVE LIFE TO THE FULLEST, AND FOCUS ON THE POSITIVE
Therefore, there will be instances where you need to format into special arrangements
according to the requirement. To format your cells, follow the steps given below:
Right click.
03/19/2024
z
Change font effect in a cell
3. Change the font effect as you need with respect to the font type,
font style, colour, size, etc. You can preview the effects that you
have applied under „preview‟
03/19/2024
32
z
Change Border of a cell/range of cells
z
Change the fill style of a cell(s)
z
Set row height
5. Press OK.
03/19/2024
35
z
Set the column width
2. Right click.
LIVE LIFE TO THE FULLEST, AND FOCUS ON THE POSITIVE
5. Press OK.
03/19/2024
36
z
Merge two or more cells
z
Change the cell style
3. Click on the down arrow to get the drop down list in the styles group.
z
Conditional formatting of cells
You can format a range of cells such that the required data cells are appeared in a different manner according to the
condition you specify. The Conditional Formatting facility helps you to do this. Similarly you can highlight interesting cells,
emphasize unusual values, and visualize data in cells using Data Bars, Colour Scales and Icon Sets based on given criteria.
6. Select the color filling option under the „for the selected range with‟ in the next window.
7. Click OK.
03/19/2024
8. The marks which are above the average of the class will be highlighted in a different colour as shown below.
39
z
Applying Workbook Themes
The 2007 Microsoft Office system includes powerful new design tools that
enable you to create attractive, professional documents quickly. The
Excel 2007 product team implemented the new design capabilities by
defining themes. By applying a theme, it will uniformly format all the
textand graphics in the work sheet. You will see a clear difference in the
LIVE LIFE TO THE FULLEST, AND FOCUS ON THE POSITIVE
To apply built-in themes into the worksheet, follow the steps given below
z
Working with Charts
MS Excel is the best application to learn about Charts. Charts are usually used to give an illustration on the behavior of data at a glance, to the
viewer, rather than reading the entire data set to study the behavior. For an example, a column chart can be used to illustrate the Marks obtained for
Mathematics in the class. So that the student who is most good in Mathematics in the class can be identified at a glance as it will be the column
with the greatest height among all other columns, which represent different marks obtained by different students in the class for mathematics. MS
Excel provides facilities to draw the following types of charts. You are required to decide which type will be most suitable to illustrate your data set
depending on the nature of the data.
Column charts
LIVE LIFE TO THE FULLEST, AND FOCUS ON THE POSITIVE
Line charts
Bar charts
Pie charts
Area charts
Scatter charts
Stock
Surface
Radar
03/19/2024
Bubble
Doughnut
41
z
Create a Chart using Chart tool
3. Click Chart.
LIVE LIFE TO THE FULLEST, AND FOCUS ON THE POSITIVE
4. Select the suitable chart type in a chart group and click on it.
Now you can see the sample chart and there is a chart tool is
active in the ribbon also graphs will be displayed on your excel
sheet. Now you can modify your charts
03/19/2024
42
z
Modify chart Layout
z
Modify chart Layout
Chart Title
100
90
80
70
60
LIVE LIFE TO THE FULLEST, AND FOCUS ON THE POSITIVE
Physics
50
Maths
40 Chemistry
30
20
10
0
lv
a
lv
a do ag
e ris oz
a
lv
a za
Si Si na
n
m Pe R Si Zo
y
.F r a J
D N
.M
F e
J
G K.
N
R
.S S. .B
H
S.
K S.
03/19/2024
44
z
Customize the appearance of a chart
z
The Chart design tool
The chart design tool can be used to change the data set layout
and style in your data sheet.
No Name Description
1 Chart Change tool Change your chart type
LIVE LIFE TO THE FULLEST, AND FOCUS ON THE POSITIVE
given sheet