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

Inserting Functions: Using The Function Wizard

This document provides examples of using statistical functions and conditional formatting in Excel. It shows how to calculate the mean, median, minimum, maximum, standard deviation and count of a dataset using various Excel functions. It also demonstrates using the IF function to test conditions and format cells automatically based on the results.

Uploaded by

JORGE
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

Inserting Functions: Using The Function Wizard

This document provides examples of using statistical functions and conditional formatting in Excel. It shows how to calculate the mean, median, minimum, maximum, standard deviation and count of a dataset using various Excel functions. It also demonstrates using the IF function to test conditions and format cells automatically based on the results.

Uploaded by

JORGE
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 5

Inserting Functions: Using the Function Wizard

The data.
The data. Step 1: Click on the cell where you want the function Step 3: Choose a function category and a function
Employee Salary
To find the
Bob 62,407 To find the
mean.
Stan 55,428 Step 2: Click on the Insert Menu and select Function mean.
Mary 69,447
Frieda 45,576
Tom 55,107 Hint 1 Click the Help
Hint 1if Click
button the Help
you want to
Kieran 77,212 button if you want to
see an example.
Nick 46,376 see an example.
Polly 55,901
Pete 56,382
Alicia 74,717
Krista 58,668
Hint 2 A brief
Hint 2 A brief
explanation of each
explanation
function of each
appears here.
Mean 59,747 function appears here.
Median 56,382
Min 45,576
Max 77,212
Count 11

Step 4: Enter the data range and click OK


Inserting Functions: Entering the Function Yourself
The data.
The data. Step 1: Click on the cell where you want the function
Employee Salary
Bob 62,407
Stan 55,428 Step 2: Type the function and enter the data range
Mary 69,447
Frieda 45,576 Comment This method is quicker if you know the function
Comment
or areThis method is quicker
a guess if(don't
you know
worrythe function
Tom 55,107 syntax willing to take - Excel will
syntax or are willing to take a guess (don't
not let you make a mistake). Fortunately, many Excelworry - Excel will
Kieran 77,212 not let you make a mistake). Fortunately,
functions have logical names. For example:many Excel
Nick 46,376 functions
AVERAGE(A5:A15) is the mean example:
have logical names. For
Polly 55,901 AVERAGE(A5:A15)
MEDIAN(A5:A15) is the
is the mean
median
MEDIAN(A5:A15) is
MIN(A5:A15) is the minimum the median
Pete 56,382 MIN(A5:A15)isisthe themaximum
minimum
MAX(A5:A15)
Alicia 74,717
COUNT(A5:A15) is themaximum
MAX(A5:A15) is the number of items
Krista 58,668 COUNT(A5:A15) is the number of items

Mean 59,747
Median 56,382
Min 45,576
Max 77,212
Count 11
Excel Functions: Some Examples
We can express the data in standard We can test for a Objective To illustrate statistical functions, IF
We can express the data in standard We can test for a Objective and
To illustrate statistical functions, IF
deviations from the mean using the condition using the IF conditions, conditional formatting.
deviations from the mean using the condition using the IF conditions, and conditional formatting.
STANDARDIZE function. function.
STANDARDIZE function. function.
The Data Set
Obs Name Salary Age Salary Age Age>40?
Note Cells J6: J16 use conditional
1 Lucy 35428 33 -0.92 -1.01 No Note CellsThis
formatting. J6: J16 use conditional
is a great way to
2 Desi 29407 27 -1.41 -1.58 No formatting.
highlight This
certain is avalues
data great way to
highlight certain data values
automatically. Click on the first
3 Peter 69447 52 1.85 0.81 Yes automatically.
4 Paul 45576 50 -0.10 0.62 Yes cell, click FormatClickon theonmenu
the first
bar,
cell, Conditional
select click FormatFormatting
on the menu, andbar,
5 Mary 35107 48 -0.95 0.43 Yes selectthe
define Conditional Then use, the
condition.Formatting and
6 Zelda 47212 35 0.04 -0.82 No definepainter
format the condition.
to apply Then use the
the cell
format painter to apply the
format to other cells you want to cell
7 Scott 36376 37 -0.84 -0.63 No format to(orother
highlight dragcells you formula
the first want to
8 Tristan 55901 61 0.74 1.67 Yes highlight
down (or drag the first formula
the column).
9 Isolde 56382 42 0.78 -0.15 Yes down the column).
10 George 44717 39 -0.17 -0.43 No
11 Gracie 58668 55 0.97 1.10 Yes

We can find most statistics using various Excel


We can find most statistics using various Excel
functions and round them off using the
functions and round them off using the
ROUND function..
ROUND function..

Math and Statistics Functions


Mean 46747.364 43.545 Note There is no mode for
Note or
Salary There
Age,isasnois mode
often for
Median 45576 42 Salary
the or Age,
case for as is often
continuous
Mode #VALUE! #VALUE! the case for continuous
data.
data.
Trim Mean 20% 46151.8889
St. Dev. (s) 12294.634 10.453
St. Dev. (s) 11722.473 9.967
Q1 35902 36
Q3 56141.5 51
Min 29407 27
Max 69447 61
Count 11 11
S Xi 514221 479
S X i2 2.555E+10 21951
S (Xi-m)2 1511580149 1092.72727
S XiYi 23285333
Corr(X,Y) 0.6951013
Excel Functions: Some Examples
Tip To understand how the functions We can sort data using the We can tabulate the data using
Tipused,
are To understand
look in eachhow
cell.the functions We can sort data using the We can tabulate the data using
are used, look in each cell. SMALL function. the FREQUENCY function.
SMALL function. the FREQUENCY function.
The Data Set Sorted Data
Obs Name Salary Age Salary Age Salary Bins Freq
1 Lucy 35428 33 29407 27 20000 29999 1
2 Desi 29407 27 35107 33 30000 39999 3
3 Peter 69447 52 35428 35 40000 49999 3
4 Paul 45576 50 36376 37 50000 59999 3
5 Mary 35107 48 44717 39 60000 69999 1
6 Zelda 47212 35 45576 42
7 Scott 36376 37 47212 48 Total 11
8 Tristan 55901 61 55901 50
9 Isolde 56382 42 56382 52 Age Bins Freq
10 George 44717 39 58668 55 20 29.99 1
11 Gracie 58668 55 69447 61 30 39.99 4
40 49.99 2
50 59.99 3
Objective To illustrate sorting using the 60 69.99 1
Objective
SMALL To illustrate
function, and tosorting usingtothe
show how
SMALL
create binsfunction, and the
and tabulate to show how tothe
data using
create bins and
FREQUENCY function.tabulate the data using the Total 11
FREQUENCY function.
Some Useful Statistical Functions
Comment At last count, Excel offered 460 functions. You can spend years learning
Comment At last count, Excel offered 460 functions. You can spend years learning
them. Here are a few that may help you in statistics.
them. Here are a few that may help you in statistics.

Statistics - Often Used More Statistics


AVERAGE(A5:A84) is the mean DEVSQ(A5:A76) is the sum of squared deviations
AVERAGE(A5:A84) is the mean DEVSQ(A5:A76) is the sum of squared deviations
MEDIAN(A5:A84) is the median around the mean for data in A5:A76
MEDIAN(A5:A84) is the median around the mean for data in A5:A76
MODE(A5:A84) is the mode (for integer data or text) CORREL(A5:A15,B5:b15) is the correlation between
MODE(A5:A84) is the mode (for integer data or text) CORREL(A5:A15,B5:b15) is the correlation between
STDEV(A5:A84) is the standard deviation (sample formula) two data columns A5:A15 and B5:B15
STDEV(A5:A84) is the standard deviation (sample formula) two data columns A5:A15 and B5:B15
STDEVP(A5:A84,3) is the st. deviation (population formula) FREQUENCY(A5:A97,C2:C6) counts the data items in
STDEVP(A5:A84,3) is the st. deviation (population formula) FREQUENCY(A5:A97,C2:C6) counts the data items in
QUARTILE(A5:A84,1) is the first quartile of A5:A84 A5:A97 that lie within the four bins defined in C2:C6
QUARTILE(A5:A84,1) is the first quartile of A5:A84 A5:A97 that lie within the four bins defined in C2:C6
QUARTILE(A5:A84,3) is the third quartile of A5:A84 STANDARDIZE(A5,C17,C18) yields z=(x-m)/s where
QUARTILE(A5:A84,3) is the third quartile of A5:A84 STANDARDIZE(A5,C17,C18) yields z=(x-m)/s where
MIN(A5:A15) is the minimum X is A5, m is C17, and s is C18
MIN(A5:A15) is the minimum X is A5, m is C17, and s is C18
MAX(A5:A15) is the maximum TRIMMEAN(A5:A215,0.10) is the mean of A5:A215
MAX(A5:A15) is the maximum TRIMMEAN(A5:A215,0.10) is the mean of A5:A215
COUNT(A5:A15) is the number of non-blank items omitting the most extreme 5% of each tail in the sorted
COUNT(A5:A15) is the number of non-blank items omitting the most extreme 5% of each tail in the sorted
array (half of 0.10 is 0.05)
array (half of 0.10 is 0.05)

Math and Trig Logical, Information, and Text


EXP(A5) is eA5A5 IF(ABS(C17)>3,"Outlier","OK") displays "Outlier"
EXP(A5) is e IF(ABS(C17)>3,"Outlier","OK") displays "Outlier"
LN(A5) is the natural log of A5 if the absolute value of C17 exceeds 3, otherwise
LN(A5) is the natural log of A5 if the absolute value of C17 exceeds 3, otherwise
LOG10(A5) is the log of A5 in base 10 displays "OK" (useful for checking for unusual values)
LOG10(A5) is the log of A5 in base 10 displays "OK" (useful for checking for unusual values)
PI() is the the value of p AND(A5>5000,B5="Male") is true if A5 exceeds
PI() is the the value of p AND(A5>5000,B5="Male") is true if A5 exceeds
RAND() is a random decimal between 0 and 1 5000 and B5 is "Male," otherwise false
RAND() is a random decimal between 0 and 1 5000 and B5 is "Male," otherwise false
RANDBETWEEN(3,97) is a random integer 3 £ n £ 97 OR(A5>5000,B5="Male") is true if A5 exceeds
RANDBETWEEN(3,97) is a random integer 3 £ n £ 97 OR(A5>5000,B5="Male") is true if A5 exceeds
5000 or B5 is "Male," otherwise false
ROUND(A5,3) rounds A5 to 3 decimals
ROUND(A5,3) rounds A5 to 3 decimals 5000 or B5 is "Male," otherwise false
SMALL($A$5:$A$15,5) is the 5th smallest in the array ISNUMBER(A5) is true if A5 is a number, false otherwise
SMALL($A$5:$A$15,5) is the 5th smallest in the array ISNUMBER(A5) is true if A5 is a number, false otherwise
(useful for sorting a data set using) ISBLANK(A5) is true if cell A5 is blank, false otherwise
(useful for sorting a data set using) ISBLANK(A5) is true if cell A5 is blank, false otherwise
SUM(A5:A15) adds the numbers A5 through A15 LEFT(A5,7) displays the leftmost 7 characters in A5
SUM(A5:A15) adds the numbers A5 through A15 LEFT(A5,7) displays the leftmost 7 characters in A5
SUMPRODUCT(A5:B15) sums the products of two (presumably A5 is a text field)
SUMPRODUCT(A5:B15) sums the products of two (presumably A5 is a text field)
columns A5:A15 and B5:B15
columns A5:A15 and B5:B15
SUMSQ(A5:A15) sums the squares of A5:A15
SUMSQ(A5:A15) sums the squares of A5:A15

Comment The RANDBETWEEN function is only available if you check


Comment The RANDBETWEEN function is only available if you check
Tools > Add Ins > Analysis ToolPak.
Tools > Add Ins > Analysis ToolPak.

You might also like