Core Excel Functions Flashcards
Excel functions used in CORe
A random integer between 0 and 1
=RAND()
Find the Median of an array
=MEDIAN(number1, number 2, …)
Find the corresponding x-value on a normal distribution for the specified mean, standard deviation, and cumulative probability
=NORM.INV(probability, mean, standard_dev)
- Returns the corresponding x value on a normal distribution for the specified mean, dev, and cumulative probability.
Find the cumulative probability of being less than or equal to a specified z value for normal distribution
=NORM.S.DIST(z, cumulative)
- When cumulative is set to “TRUE”, the function returns the probability of being less than or equal to the z value
Count number of rows in an array
=COUNT(value 1, value 2, …)
Making dummy variables
=IF(statement, true, false)
Find Square Root
=SQRT(number)
Find the Mode of an array (HBS style)
=MODE.SNGL(nubmer 1, number 2, …)
Find Minimum of array
=MIN(number 1, number 2, …)
Find the Sum
=SUM(number 1, number 2, …)
Correlation Coefficient
=CORREL(array 1, array 2, …)
Calculating the range of likely sample means
=CONFIDENCE.NORM or =CONFIDENCE.T
Finding the Conditional Mean, or average of the cells in a specified range that meet a given criterion.
=AVERAGEIF(range, criteria, [aveage_range])
- Range: contains the one or more cells to which we wish to apply the criteria or condition.
- Criteria: the condition that is to be applied to the range.
Find Maximum of an array
=MAX(number 1, number 2, …)
The variance of a sample
=VAR.S(number 1, number 2, …)
Find the margin of error using a normal distribution at a specific confidence level
=CONFIDENCE.NORM(alpha, standard_dev, size)
- alpha: is the significance level, which is equal to one minus the confidence level.
Find the Mean of an array
=AVERAGE( number 1, number 2, …)
Find percentile
=PERCENTILE.INC(array, k)
- Returns the k-th percentile of value in the specified array. For example, if we want to know the 95th percentile for an array of data, k would be 0.95.
Cumulative normal distribution given a certain value of x
=NORM.DIST(x, mean, standard_dev, cumulative)
- When cumulative is set to TRUE, the function returns the cumulative probability, that is, the probability of being less than or equal to the specialized value x, for a normal distribution with the specified mean and standard deviation.
The P-value associated with a given t-test
=T.TEST(array 1, array 2, tails, type)
- Array 1: set of numerical values or cell references
-Array 2: set of numerical values or cell references. If we only have one set of data, for the second data set we create a column for which every entry is the historical mean.
-Tails: the number of tails in the distribution. IT should be set to 1 to perform a one-sided test; to 2 to perform a two-side test.
Type: can be 1, 2, 3
1: paired test. used when the same group is tested twice to provide a before and after data for each member of a group
2: unpaired test in which the samples are assumed to have equal variances
3: unpaired test in which samples are assumed to have unequal variances. Unless we have a good reason to believe two samples have equal variances, we typically use 3 when conducting an unpaired test.
Find the margin of error using a t-distribution
=CONFIDENCE.T(alpha, standard_dev, size)
-returns the margin of error using a t-distribution for a specified alpha, standard deviation, and size.
Standard Deviation of a sample
=STEV.S(number1, number 2, …)