Excel Formulas
Excel Formulas
Sum
=SUM(A1:B2)
2. Subtraction
= A1-B2
4. Monthly balances
Total monthly income - total monthly expenses
For the second month, = (total monthly income - total monthly expenses)+previous monthly balance
6. Average
=Average(range)
To find the average of several numbers
7. Locking a cell
=B2*$A$1
Histograms in Excel
Have x and y axis data → drag and select all the data and labels
Insert → Insert statistic chart → histograms
Scatterplots in Excel
Place data in Excel → drag over selected data → insert → scatter
Correlation of scatterplots
=CORREL(range) → to test strength
Mean = the sum of all values divided by the number of values // computed by summing all the data
values and dividing the sum by the number of items
Mean in Excel =AVERAGE(range)
Median = middle point when the data is sorted in ascending order, if there isn't a middle number,
the mean of the two closest numbers are taken
Median in Excel = MEDIAN(range)
1. Measures of Dispersion
Measures of central tendencies/measure of central location may not be sufficient to fully describe a
data set, the difference is the level of variability around the mean.
If the mean is our measure of central tendency (symmetrical) then use → variance and standard
deviation
If the median is out measure of central tendency (skewed) then use → percentiles, quartiles and
interquartile range
Variance
Population variance in Excel =VAR.P(range)
Sample variance in Excel =VAR.S(range)
Standard Deviation
Problem with variance is that its in the unit squared → which is
a problem if the unit is $ or pounds, therefore, for a better
measure of variability, square root of variance = standard
deviation
- Population standard deviation σ = root of population
variance
- Sample standard deviation s = root of sample variance
Standard deviation in Excel
=STDEV.P(range) for population
=STDEV.S(range) for sample
Percentiles in Excel
=PERCENTILES.INC(range, p) → if you want 75th percentile, p=0.75
Quartiles in Excel
=QUARTILE.INC(range, q) →if you want quartile 1, q = 1
To find the mean, mode, median, standard deviation, variance, range, min, max & sum
In Excel data analysis → descriptive statistics → input and select data → tick labels in first row →
output range click on a blank cell → tick summary statistics → ok
A basic-level test , which will include simple data input, basic calculations and
knowing how to create a drop-down list within a worksheet;
Combinations = finds the number of outcomes if we select r objects from a set N objects
Permutations = finds number of outcomes if we select r objects from a set N objects, but the order
of selection is important
Permutations in Excel =PERMUT(8,3)
Finding the p-value in excel for hypothesis test for a population mean
= T.DIST( t, df, 1 ) if we want left tail
= T.DIST.RT( t, df ) if we want right tail
= T.DIST.2T( t, df ) if we want two tail