Microsoft Excel
Microsoft Excel
By:
Output
Worksheet Results
MS Excel Screen Parts
Active Cell
•recognized by its black outline.
•Data is always entered into the active cell.
•Different cells can be made active by clicking on them with the
mouse or by using the arrow keys on the keyboard.
Formula Bar
•Located above the worksheet, this area displays the contents of
the active cell.
•It can also be used for entering or editing data and formulas.
•Name Box
•Located next to the formula bar
•Displays the cell reference or the name of the active cell.
Column Letters
•Columns run vertically on a worksheet and each one is identified by
a letter in the column heading.
Row Numbers
•Rows run horizontally in a worksheet and are identified by a
number in the row heading.
Each tab will have one or Click on tab to see Some groups will have an arrow
more groups more commands that you can click for more options
• The Quick Access
Toolbar is located above
the Ribbon, and it lets you
access common commands
no matter which tab you
are on
• Can be customized to hold
frequently used commands
• Worksheet- pertains to collection of cells
• Workbook- pertains to collection of
worksheets
• Functions predefined or preset formulas
in Excel to perform various
mathematical, statistical, and logical
operations.
Spreadsheets are made up of
▪ Columns
▪ Rows
▪ and their intersections are called cells
In a spreadsheet the COLUMN labeled D
COLUMN is defined is highlighted.
as the vertical space
that is going up and
down the window.
Letters are used to
designate each
COLUMN'S location.
In a spreadsheet the ROW labeled 4
ROW is defined as the is highlighted.
horizontal space that
is going across the
window. Numbers are
used to designate
each ROW'S location.
A CELL is the space In the above diagram
where a row and the CELL labeled C2
column intersect. is highlighted.
Each CELL is assigned
a name according to
its COLUMN letter
and ROW number.
▪ Labels
▪ Values
▪ Formulas
In each cell there may be the following data types:
▪ Labels - text with no numerical
▪ Number (numeric) data - constant values
▪ Formulas -mathematical equation used to calculate
Left-aligned
To be used in calculations
Right-aligned
=A1-B1
=A1/B2
=(A1/50)*50+50
=((A1*2)+B1)/3
=(A1+B1)-(A1+B1)*10%
The order in which calculations in a formula are
performed
Excel follows the same order of operations that
you use in Algebra
Moving from left to right in formulas, the order of
operations is as follows:
1. Parenthesis
2. Exponents
3. Multiplication and division
4. Addition and subtraction
Always use cell references in formulas. A cell
reference is the column letter and the row
number (ex. B2)
Why?
By using cell references in the formula, you
can
use the powerful recalculation feature in Excel
Example of a function:
◦ =AVERAGE(B13:D13)
◦ Use a range of cells (B13:D13)
◦ Colon ( : ) means Excel will average cells B13
through
D13
◦ SUM
◦ Calculates the sum of a range of cells
MAX
◦ Displays the largest value in a range of cells
MIN
◦ Displays the smallest value in a range of cells
COUNT
◦ Calculates the number of values in a range of cells
AVERAGE
◦ Calculates the average of values in a range of cells
COUNTA
◦ Counts how many values are in the list of arguments
COUNTIF
◦ Counts the number of cells within a range that meet
the given criteria
IF
◦ Checks whether a condition is met and returns one
value if TRUE, and another value if FALSE
RANK
◦ Returns the rank of a number in a list of numbers
ROUND
◦ Rounds a number to a specified number of digits
ROMAN
◦ Converts an Arabic numeral to roman, as text
VLOOKUP
◦ Looks in the first column of an array and moves across
the row to return the value of a cell
MODE
◦ Returns the most common value in a data set
MEDIAN
◦ Returns the median (middle number) of the given
numbers
Build in sum function
Most commonly used function
AUTOSUM adds the values above the
active cell first (default)
If no values are above the cell, it sums to
the
left of the active cell
If Excel doesn’t select the correct range, you
may select the range you want
TIPS:
Blank cells will return a
Probably the most popular function
in any spreadsheet is the SUM value of zero to be added
function. The SUM function takes to the total.
Text cells can not be
all of the values in each of the
specified cells and totals their added to a number and
values. will produce an error.
Syntax:
=SUM(1st value, 2nd value, etc)
=SUM(cell range)
Examples:
=SUM(B5,C5,D5,J5,L5,P5)
=SUM(A5:A25)
finds the average of the specified data. (Simplifies
adding all of the indicated cells together and
dividing by the total number of cells.)
Syntax:
=AVERAGE(1st value, 2nd value, etc)
=AVERAGE(cell range)
Examples:
=AVERAGE(B5,C5,D5,J5,L5,P5)
=AVERAGE(A5:A25)
To sum cells based on one criteria
=SUMIF(B1:B5,”>9”) Result: 30
=SUMIF(B1:B5,”<20”) Result: 21
=SUMIF(B1:B5,”<=15”) Result: 21
The Max function will return the
largest (max) value in the selected
range of cells. The Min function will
display the smallest value in a selected
set of cells.
=MAX(cell range)
Example: =MAX(A5:A25)
(It returns the largest value in cells A5:A25
=MIN(cell range)
Example: =MIN(A5:A25)
(It returns the smallest value in cells A5:A25)
The Count function will return the number of entries (actually
counts each cell that contains NUMBER DATA) in the selected
range of cells.
Remember: cell that are blank or contain text will not be
counted.
Count and Countif Functions
Syntax: =count(cell range)
Example: =count(A5:25)
Countif
To count cells based on one criteria (for
example, higher than 9), use the
following COUNTIF function.
Syntax: =countif(range,criteria)
Example: =countif(A5:A25,”>10”)
DEFINITION: TIPS:
condition
The value that you want to test.
value_if_true
Optional. It is the value that is returned if condition evaluates to
TRUE.
value_if_false
Optional. It is the value that is return if condition evaluates to
FALSE.
Based on the Excel spreadsheet above, the following
IF examples would return
=IF(A1>10, "Larger", "Smaller") Result: "Larger"
=IF(A1=20, "Equal", "Not Equal") Result: "Not
=IF(A2="Tech on the Net", 12, 0) Equal" Result: 12
The RANK function
Syntax:
=RANK(number, ref, [order])
Example:
=RANK(B2,$B$2:$B$11)
Order: 0 = descending
1 = ascending
The RANK function
Result
The ROUND function
Syntax:
=ROUND(number, number_digits)
The ROUND function
Syntax:
=ROUND(number, number_digits)
The ROUND function
Syntax:
=ROUND(number, number_digits)
The ROUND function
Syntax:
=ROUND(number, number_digits)
The ROUND function
Syntax:
=ROUND(number, number_digits)
The ROMAN function
Syntax:
=ROMAN(number, [form]
where:
Syntax:
=MODE(number1, [number2], …)
Example:
=MODE(B4:K4)
The MODE function
The MEDIAN function
Syntax:
=MEDIAN(number1, [number2], …)
Example:
=MEDIAN(B4:K4)
The MEDIAN function
The VLOOKUP function
Syntax:
=VLOOKUP(value, table, col_index,
[range_lookup])
Arguments:
value - The value to look for in the first column of a table.
table - The table from which to retrieve a value.
col_index - The column in the table from which to retrieve a
value.
range_lookup - [optional] TRUE = approximate match (default).
FALSE = exact match
##### error
When your cell contains this error code, the
column isn't wide enough to display the value
Solution: Change the width of the column
#NAME? error
The #NAME? error occurs when Excel does
not recognize text in a formula.
Solution: Simply correct the formula
#VALUE! error
Excel displays the #VALUE! error when a
formula has the wrong type of argument.
Solution: Change the value of the cell
#DIV/0! error
Excel displays the #DIV/0! error when a
formula tries to divide a number by O (zero) or
an empty cell.
Solution: Change the value to a number that
is
not equal to O (zero)
#REF! error
Excel displays the #REF! error when a formula
refers to a cell that is not valid.
Solution: Delete the #REF! in the formula
Reference:
https://share.ehs.uen.org/.../Excel%20Formulas%20&%20Functions.ppt
https://www.wilmu.edu/edtech/training/documents/Excel.pptx
http://www.excel-easy.com/functions/logical-functions.html
http://www.techonthenet.com/excel/formulas/if.php