0% found this document useful (0 votes)
3 views

Lecture 6- Microsoft Excel

This document provides an introduction to Microsoft Excel, detailing its functions as a spreadsheet program for organizing, analyzing, and calculating data. It covers key concepts such as workbooks, formulas, functions (including COUNT, SUM, MAX, MIN, AVERAGE, and IF), and formatting options. Additionally, it discusses data representation through bar and pie charts, highlighting their use in visualizing data effectively.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Lecture 6- Microsoft Excel

This document provides an introduction to Microsoft Excel, detailing its functions as a spreadsheet program for organizing, analyzing, and calculating data. It covers key concepts such as workbooks, formulas, functions (including COUNT, SUM, MAX, MIN, AVERAGE, and IF), and formatting options. Additionally, it discusses data representation through bar and pie charts, highlighting their use in visualizing data effectively.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

Introduction to Computers

(UNI101)
Faculty of Nursing
Spring 2024/2025
Lecture 6
Microsoft Excel
Review: What is Microsoft Excel

◎ It is a spreadsheet program from Microsoft


◎ Enables users to format, organize and calculate
data

2
Review: What is Microsoft excel used for??

- Used to work with data


• Store
• Analyze
• Report
• Summarize data
• Perform calculations

3
Review: Understanding Workbook

4
Review: Understanding Workbook

3 – Cell
4 – Active cell
5 –Sheet
6 – New Sheet

5
Review: Understanding Worksheet
• The intersection of a row and a column in an Excel
sheet is called a cell such as A5
• In Microsoft Excel F2:G5 is an example of a Cell
Range

6
Review: Managing Worksheets

7
Review: Formulas and Functions

◎ Formulas In Excel, is an expression that


operates on values in a range of cells or a cell.

○ For example, =A1+A2+A3,which finds the sum of the range of values from
cell A1 to cell A3.

▪ Functions are predefined formulas in Excel.


With human-friendly names.
▪ For example: =SUM(A1:A3). The function sums all the values from A1 to A3.

8
Excel Functions: COUNT Function

◎ COUNT function counts all


cells in a given range that
contain only numeric
(numbers)
◎ Example: COUNT(A: A) – Counts
all values that are numerical in A
column.
◎ COUNT(A1:H1) – Now it can
count rows from A1 until H1

9
Excel Functions: SUM Function

◎ The SUM function is the first must-know formula


in Excel.
◎ It usually adds values from a selection of columns
or rows from your selected range.
◎ SUM(number1, [number2], …)
◎ Examples:
○ =SUM(B2:G2) – A simple selection that sums the values of a row.
○ =SUM(A2:A8) – A simple selection that sums the values of a column.
○ =SUM(A2:A7, A9, A12:A15) – A sophisticated collection that sums values
from range A2 to A7, skips A8, adds A9, jumps A10 and A11, then finally
adds from A12 to A15.
○ =SUM(A2:A8)/20 – Shows you can also turn your function into a
formula.
10
Excel Functions: MAX and MIN Functions

◎ The MAX function finds the maximum value in a


range of data
◎ =MAX(number1, [number2], …)
◎ Example:=MAX(B2:B11) – Shows a max,
◎ also similar for :=MIN(B2:B11) Finds minimum for range of
data.

11
Excel Functions: AVERAGE Function

◎ The AVERAGE function is a simple averages of


data
◎ =AVERAGE(number1, [number2], …)
◎ Example:=AVERAGE(B2:B11) – Shows a simple average, also
similar to (SUM(B2:B11)/10)

12
Excel Functions: IF Function

◎ The IF function is often used when you want to


sort your data according to a given logic.
◎ You can Put formulas and functions in it
◎ =IF(logical_test, [value_if_true], [value_if_false])
◎ Example:=IF(C2<D3,“TRUE”,”FALSE”)
◎ Checks if the value at C3 is less than the value at D3. If the
logic is true, let the cell value be TRUE, otherwise, FALSE

13
Possible Errors with Formulas and Functions

◎ Write the reason for getting the following


contents in a cell of Excel worksheet
▪ #Value !
◎ Wrong value for the function
▪ # NAME?
◎ Wrong (undefined) Variable name
• # Div/0
◎ Divide by zero

14
Format Cells

◎ You can select or highlight a group of cells


◎ Write click on right mouse button for format cells
◎ You can control
▪ Number format(, decimal points, date., time,..)
▪ Text orientation (vertical, horizontal, …)
▪ Font( type, color, size, …..)
▪ Border
▪ Fill
▪ Protection

15
Conditional Formatting of Cells

Select the range of cells, the table, or the whole sheet


that you want to apply conditional formatting to.
On the Home tab, click Conditional Formatting.
Click on the condition you want to apply.
Select the style you want, and then click OK.

16
Linking Cells in Excel

◎ Select the cell where you want the linked data


to appear. Type the equals sign ( =)
◎ Click on the cell you want to link to. Notice how
Excel automatically inserts the cell reference
for you.
◎ Press Enter.
◎ Now if you change value in the original cell it
will be automatically changes in all linked cells.

17
Representing Data: Bar Charts

◎ The Bar and the Column charts display data


using rectangular bars where the length of the
bar is proportional to the data value.
◎ Both charts compare two or more values.
No. of Students In (Dept. Name)

90
80
70
No. of Students

60
50
40
30
20
10
0
2000 2001 2002 2003 2004 2005 2006

Year

chart1 18
Representing Data: Pie Charts

◎ Is a circle and data is represented as slices of


the circle
◎ A pie chart is preferred when you have a small
data set (less than ten categories), and you
want to show the percentages of a whole.
2002

Compuer
Power
Electronics
Architecture
Civil
Mechanics
Ships
Production 19

You might also like