You are on page 1of 113

Excel Formulas for Cheat

Sheet

This article is the cheat sheet of formulas a

vailable in Microsoft Excel. Different Excel Formulas with respective examples

is explained in the article below. This Cheat Sheet of Excel Formulas article

focuses on Text functions, Statistical functions, Date and Time functions, and

Mathematical Functions and many more.

Different Excel Formulas with respective examples are explained below.

You can download this Cheat Sheet of Excel Formulas Template here – Cheat
Sheet of Excel Formulas Template

#1

Text Functions in Excel


MS Excel offers a variety of string functions. Some Excel Formulas Cheat

Sheet is given below. The table contains the name of the function, the

meaning of the function, the syntax and the example.

Sr. Function Meaning Syntax Example Explanation


No

1 Left Returns the LEFT (string, =LEFT(B2,1) where B2 is


Function specified no_of_characters) the cell
in excel number of containing
characters the text.
from the
left of the
string

2 Right Returns the RIGHT (string, = RIGHT where B2 is


Function specified no_of_characters) (B2,5) the cell
in Excel number of containing
characters text.
from the
right of the
string

3 Mid Returns the MID (string, =MID (B2, where B2 is


Function specified starting_position, 1,4) the cell
in Excel number of no_of_characters) containing
characters text, 1 is the
from the starting
string position and
starting 4 is the
from the number of
given chars to be
position retrieved.
4 LEN Returns the LEN =LEN(B2) where B2 is
number of (String_to_be_mea the cell
characters sured) containing
in the given text.
string

5 Concaten Merges CONCATENEATE =CONCATEN where D2


ate two given (String1, String2…, ATE (D2, F2) and F2 are
Function strings to StringN) the cells to
in excel form one be
concatenate
d.
The above-explained cheat sheet of excel formulas examples is implemented

in the excel worksheet shown in the following screenshot.


#2

Statistical Functions in Excel


MS Excel offers a variety of statistical functions. Some Excel Formulas Cheat

Sheet is given below. The table contains the name of the function, the

meaning of the function, the syntax and the example.

Sr. Functio Meaning Syntax Example Explanation


No n

1 Average Returns the =AVERAGE =AVERA Value1,..,valueN


average of the (Value1, GE is the range of
series of values Value 2…, (B2:B5) values
given ValueN)

2 Min Returns the =MIN =MIN Value1…, valueN


minimum value (Value1, (B2:B5) is the range of
from the given Value 2…, values
range of cells. ValueN)

3 Count Returns the =COUNT =COUNT Value1…, valueN


number of cells (Value1, (B2:B5) is the range of
fitting the given Value 2…, values
criteria of range ValueN)
of worksheet
cells.

4 Counta Returns the =COUNTA =COUNT Value1…, valueN


number of (Value1, A (B2:B6) is the range of
non-empty cells Value 2…, values
fitting the given ValueN)
criteria of range
of worksheet
cells.

5 Max Merges two =MAX =MAX Value1…, valueN


given strings to (Value1, (B2:B5) is the range of
form one Value 2…, values
ValueN)
The above-explained cheat sheet of excel formulas examples are

implemented in the excel worksheet shown in the following screenshot.

Popular Course in this category

Microsoft Excel Workshop

4.9 (32,322 ratings)

Entering, Editing & Managing Data | Data Analysis and Formulas

| Advanced Charting Techniques | Validating and Securing Data

| In’s and Out’s of PivotTable | Dynamic Dashboard Creation

View Course
#3

Date and Time Functions in Excel


MS Excel offers a variety of date and time functions. Some Excel Formulas

Cheat Sheet is given below. The table contains the name of the function, the

meaning of the function, the syntax and the example.

Sr. Function Meaning Syntax Example Explanation


No
1 DATE Returns the =DATE (year, =DATE 12/21/2018
serial month, day) (2018,12,21 Is the
number of a ) result.
specific date

2 NOW Returns the =NOW () =NOW () 7/20/2018


current date 11:26
and time

3 WEEKDA Returns the =WEEKDAY(serial =WEEKDAY( 6


Y day of the _no) B1)
week

4 WEEKNU Returns the =WEEKNUM(seria =WEEKNUM 29


M week l_no) (NOW ())
number of
the week in a
year

5 YEAR Returns the =YEAR(serial_no) =YEAR 2018


year in the (NOW ())
date
argument
The above-explained cheat sheet of excel formulas examples is implemented

in the excel worksheet shown in the following screenshot.


#4

Mathematical Functions in Excel


MS Excel offers a variety of mathematical functions. Some Excel Formulas

Cheat Sheet is given below. The table contains the name of the function, the

meaning of the function, the syntax, and the example.

Sr. Function Meaning Syntax Example Explanation


No
1 Sum Returns the sum =SUM = SUM The addition
Function of all the given (Value1, (A2:A5) of the all the
in Excel arguments Value 2…, values in the
ValueN) range A2:A5
is 100.

2 Product Returns the =PRODUCT =PRODU The


Function product of all (Value1, CT multiplicatio
the given Value 2…, (A2:A5) n of the all
arguments ValueN) the values in
the range
A2:A5 is
24000.

3 Sqrt Returns the =SQRT = SQRT The square


square root of (Number) (B2) root of value
the given in B2 is 20
number which is 10.
The same is
shown in D2

4 Ceiling Returns the =CEILING =CEILIN The answer


round off (Number, G (0.5,5) is 5 as
number up to Significance) shown in E2.
the nearest
multiple of
significance.

5 Floor Returns the =FLOOR =FLOOR The answer


round off (Number, (0.5,1) is 0 as
number down to Significance) shown in F2.
the nearest
multiple of
significance.
The above-explained cheat sheet of excel formulas examples is implemented

in the excel worksheet shown in the following screenshot.


Excel Best Practices for Using Cheat Sheet of Excel
Formulas
Follow this Best Practice By doing the following:

Easily change the type of To switch between relative, absolute, and mixed
reference references:

1. Select the cell that contains the formula.

2. In the formula bar, select the


reference that you want to change.
3. Press F4 to switch between the reference
types.

Quickly copy formulas To quickly enter the same formula into a range of
cells, select the range that you want to calculate,
type the formula, and then press Ctrl + Enter. For
example, if you type =SUM (A1:B1) in range C1:C5,
and then press Ctrl+ Enter, Excel enters the formula
in each cell of the range, using A1 as a relative
reference.

Use Formula To make it easier to create and edit formulas and


Autocomplete minimize typing and syntax errors, use Formula
Autocomplete. After you type an = (equal sign) and
beginning letters (the beginning letters act as a
display trigger), Excel displays a dynamic list of
valid functions and names below the cell.

Use Function ScreenTips If you aren’t familiar with the arguments of a


function, you can use the function ScreenTip that
appears after you type the function name and an
opening parenthesis. Click the function name to
view the Help topic on the function, or click an
argument name to select the corresponding
argument in your formula

________________________________________________________

Max IF in Excel
Max is a different function which is used to find out the maximum value in a

given range whereas if function is a conditional function, in max function if the


range has a blank cells or a logical values then the function skips those values

but we can use If statement to display a result based on the criteria, the

method to use MAX IF function together is as follows =MAX(If(Criteria,

Value)).

Max IF Formula in Excel


Max If is an array formula in excel, which is used to identify the maximum

value out of the range of values (or large data set) with a specific condition

(logical test). The formula of the Excel MAX IF function to be entered in excel

to use this is as below:

=MAX (IF (logical test, value_ if _true, value_ if_ false))

Since this is an array formula, this should always be used in excel by using

‘Ctrl+ Shift+ Enter’ keys on the keyboard to run the formula.


Explanation of Max If Formula
As the syntax of the formula has max and IF function in excel. IF function in

the formula is used to put the logic specific to criteria on which one is trying to

find the maximum value. The IF function helps in running the logic in the data

set and find the outcomes matching the logical test. Than Max function in

excel identifies the maximum value of all the outcomes matching the logical

test. Because it is being used as an array formula, the logic by using If the

function can run the logical test multiple time in the data set to find the
multiple values matching the logical test and then the max function can

identify the maximum value of the same.

A detailed demonstration of the use of Excel Max If a formula is explained in

the next section with a snapshot of the specific use of the formula for a data

set.

Application of Excel Max IF Formula


Excel MAX IF function is widely used in multiple applications where one need

to find the maximum value among the large data set based on certain criteria.

Excel MAX IF function can easily find out the maximum value matching

certain criteria among a much larger data set. A couple of examples for the

same are mentioned below:

Popular Course in this category


Microsoft Excel Workshop

4.9 (32,322 ratings)

Entering, Editing & Managing Data | Data Analysis and Formulas

| Advanced Charting Techniques | Validating and Securing Data

| In’s and Out’s of PivotTable | Dynamic Dashboard Creation

View Course

1. Excel MAX IF function can be used in finding the maximum marks

scored in a specific subject by a student among the large data set of

marks scored by the students of a specific Class in multiple subjects in

a School. The data set in such an example can be really large and

complex as below:
Assume a data set of 1000 subject marks as detailed in the above table where

subjects are not arranged in a specific manner. Excel MAX IF function can

easily find out the maximum marks scored by a student in Maths among this

large table (Use of the formula will be explained in further section).

2. Excel MAX IF function can be very useful for sales professionals of an

FMCG company operating at a national/international level to identify the

city/state/country with the maximum number of sales for specific

products. One can assume that a company operating at such a large

scale will have a humongous data set to get these insights on sales

number of products.
3. Similarly, a metrological team analyzing the historical trend about the

hottest summer for a specific year can find out the year where June

month recorded the highest temperature among the large set of data

with temperature, months and Years by using the Excel MAX IF function.

There are many examples where this Excel MAX IF function makes our life

relatively easier by giving the desired result in no time by just using this

formula correctly.

How to use Max If Formula in Excel?

You can download this Max If Formula Excel Template here – Max If Formula
Excel Template

Taking the example of data sets of marks scored by students as explained in

the earlier section, we will try to work out the Max If formula in excel to find

out the maximum marks scored by students in Maths subject. The data set is

given below:
Here Max If the formula in Excel can be used as below using the following

syntax:

=MAX (IF (K4:K13=K17, L4:L13))

Also below is the demonstration of the application of excel Max If formula on

above data set in excel and snapshot of the Excel actual workings:
If we refer the above snapshot of excel working, logical test here is

B2:B11=C14, which is comparing the value in B2:B11 against the C14, which is

Maths.

The array will return the results as either True or False based on meeting the

logical test. The array will return all the values for Maths i.e. all the marks

scored in Maths by the student.


So if the function will provide the results from column E i.e. C2 to C11, to

return the values matching with Maths (Logical test). Finally, Max function will

identify the maximum value out of the Array values matching the logical test.

This formula shall be typed as shown in the above snapshot in the excel and

then shall be entered using Ctrl, Shift and Enter to get the maximum value out

of data set meeting a specific logical criterion. Here, in this case, the Logical

test is ‘B2:B11 (Data set of Subjects) = C14 (Maths)’, which is used using If

function.
Than Max function is applied to get the maximum value.

Things to Remember about Excel Max If Formula


One should always keep in mind that this is an array formula, therefore it

should always be used with Ctrl, Shift and Enter while applying the final

formula. Also, the variable to be used for the logical test shall be clearly

defined and shall be without any error other-wise formula may not pass the
logical test. The selection of the cells in the excel should be in line with the

requirement because the wrong selection of the cells may end up in erroneous

results. Excel MAX IF function is very useful in getting the maximum value for

data among a large data set matching specific criteria or logical test. The

formula for the logical test also shall be applied very cautiously with utmost

care of each small thing in the formula to get the correct outcome from a

large data set.

________________________________________________

Excel Data Analysis ToolPak

Data Analysis toolpak in excel is an addin in excel which allows us to do data

analysis and various other important calculations, this addin is by default not

enabled in excel and we have to manually enable it from the files tab in the

options section and then in the addins section, we click on manage addins

then check on analysis toolpak to use it in excel.


Steps to Load the Data Analysis Toolpak Add-in
● Step 1 – Click on ‘File’.

● Step 2 – Click on ‘Options’ from the list.


● Step 3 – Click on ‘Add-ins’ and then choose ‘Excel Add-ins’ for

‘Manage’. Click on ‘Go’.


● Step 4 – The ‘Excel Add-ins‘ dialog box will appear with the list of

add-ins. Please check for ‘Analysis ToolPak’ and click on ‘OK’.


● Step 5 –The command ‘Data Analysis’ will appear under the ‘Data’ tab

in Excel at the extreme right of the ribbon as displayed below.


List of Functions Available in Excel Data Analysis
ToolPak
Below is the list of available functions in Analysis Toolpak Excel Add-in:

1. ANOVA: Single Factor in Excel

2. Correlation in Excel

3. Rank and Percentile in Excel

4. Descriptive Statistics in Excel

Now let us discuss each of them in detail –

#1 – ANOVA: Single Factor in Excel


ANOVA stands for Analysis of Variance and is the first set of options available

in Analysis Toolpak Excel Add-in. In one way ANOVA, we analyze whether

there are any statistical differences between the means of three or more

independent groups. The null hypothesis proposes that no statistical

significance exists in a set of given observations. We test this hypothesis by

checking the p-value.


Let us understand this by an ANOVA excel example.

Example
Suppose, we have the following data from the experiment conducted to check

‘Can self-control be restored during intoxication?’ We categorized 44 males

into 4 equal groups comprising 11 males in each group.

● Group A received 0.62mg/kg of alcohol.

● Group AC received alcohol plus caffeine.

● Group AR received alcohol and a monetary reward for performance.

● Group P received a placebo.

Scores on award stem completion task involving “controlled (effortful)

memory processes” were recorded and the result is as follows:


We need to test the null hypothesis which proposes that all means are equal

(there is no significant difference).

Popular Course in this category

Microsoft Excel Workshop

4.9 (32,322 ratings)

Entering, Editing & Managing Data | Data Analysis and Formulas

| Advanced Charting Techniques | Validating and Securing Data


| In’s and Out’s of PivotTable | Dynamic Dashboard Creation

View Course

How to Run the ANOVA Test?


To run the ANOVA one-way test, we need to perform the following steps:

● Step 1: Click on the ‘Data Analysis’ command available in the ‘Data’ tab

under ‘Analysis’.

● Step 2: Select ‘Anova: Single Factor’ from the list and click on ‘OK’.
● Step 3: We get ‘Anova: Single Factor’ dialog box. We need to select

Input Range as our data with column heading.


● Step 4: As we have taken column headings in our selection, we need to

the checkbox for ‘Labels in the first row’.

● Step 5: For output range, we have selected F1. Please click on ‘OK’.
We have now ANOVA analysis.
The larger the F-statistic value in excel, the more likely it is that the groups

have different means which rejects the null hypothesis that all means are

equal. An F-statistic greater than the critical value is equivalent to a p-value in

excel less than alpha and both mean that we reject the null hypothesis. Hence,

it is concluded that there is a significant difference between groups.

#2 – Correlation in Excel
Correlation is a statistical measure available in Analysis Toolpak Excel Add-in

and it shows the extent to which two or more variables fluctuate together. A

positive correlation in excel indicates the extent to which those variables


increase or decrease in parallel and a negative correlation indicates the extent

to which one variable increases as the other decreases.

You can download this Analysis ToolPak Excel Template here – Analysis
ToolPak Excel Template

Example
We have the following data related to advertising costs and sales for a

company. We want to find out the relationship between both so that we can

plan accordingly our budget and expect sales (set target considering other

factors also).
How to Find Correlation Between Two Set of Variables?
To find out the correlation between these two sets of variables, we will follow

the below-mentioned steps:

● Step 1: Click on ‘Data Analysis’ under the ‘Analysis’ group available in

‘Data’.
● Step 2: Choose ‘Correlation’ from the list and click on ‘OK’.

● Step 3: Choose range ‘$A$1:$B$16’ as input range and $F$1 as output

range. Please tick the checkbox for ‘Labels in the first row’ as we have

column headings in our input range and as we have different heads in a

different column. We have chosen ‘Columns’ for ‘Grouped By’.


● Step 4: Select the Output range then, click on ‘OK’.
● We get the result.

As we can see, the correlation between advertising cost (column head) and

Sales (row head) is +0.86274 approx. which indicates that they have a positive
correlation and to 86.27% extent. Now we can accordingly take a decision

about the advertising budget and expected sales.

#3 – Rank and Percentile in Excel


Percentile in excel refers to a number where a certain percentage of scores

fall below that number and is available in the Analysis Toolpak Excel Add-in.

For example, if a particular score is in the 90th percentile, that means the

student has scored better than 90% of people who took the test. Let us

understand this with an example.

Example
We have the following data for the scores obtained by a student of a class.
We want to find out the rank and percentile for every student.

How to Find Rank and Percentile?


The steps would be:

● Step 1: Click on ‘Data Analysis’ under the ‘Analysis’ group available in

‘Data’.
● Step 2: Click on ‘Rank and Percentile’ from the list and then click on

‘OK’.

● Step 3: Select ‘$B$1: B$B$17’ as input range and ‘$D$1’ as output

range.
● Step 4: As we have data field heads in columns i.e., the data is grouped

in columns, we need to select ‘Columns’ for ‘Grouped By’.


● Step 5: We have selected column heading also in our input range that is

why we need to check for ‘Labels in the first row’ then, click on ‘OK’.
● We got the result as the following image.
#4 – Descriptive Statistics in Excel
Descriptive statistics included in the Analysis Toolpak Excel Add-in contains

the following information about a sample:

1. Central Tendency

○ Mean: It is called average.

○ Median: This is the mid-point of the distribution.

○ Mode: It is the most frequently occurring number.


2. Measures of Variability

○ Range: This is the difference between the largest and smallest

variables.

○ Variance: This indicated how far the numbers are spread out.

○ Standard Deviation: How much variation exists from the

average/mean

3. Skewness: This indicates how symmetrical the distribution of a variable

is.

4. Kurtosis: This indicates peakedness or flatness of a distribution.

Example
Below we have marks scored by students in Economics subject. We want to

find out descriptive statistics.


To do the same, the steps are:

● Step 1: Click on the ‘Data Analysis’ command available in the ‘Analysis’

group in ‘Data’.
● Step 2: Choose ‘Descriptive Statistics’ from the list and click on ‘OK’.

● Step 3: Choose ‘$A$1:$A$15’ as input range, choose ‘Columns’ for

‘Grouped By’, tick for ‘Labels in the first row’,


● Step 4: Choose ‘$C$1’ as output range and make sure that we have

checked the box for ‘Summary Statistics’. Click on ‘OK’.


Now we have our descriptive statistics for the data.
_______________________

What is Descriptive Statistics


in Excel?

To summarize an information available in statistics is known as descriptive

statistics and in excel also we have a function for descriptive statistics, this

inbuilt tool is located in the data tab and then in the data analysis and we will
find the method for the descriptive statistics, this technique also provides us

with various types of output options.

Steps to Enable Descriptive Statistics in Excel


● Step 1: Go to File > Options.

● Step 2: Go to Add-ins
● Step 3: Under Add-ins on the right-hand side you will see all the inactive

Applications. Select Analysis Toolpak and click on GO.


● Step 4: Now you will all the add-ins available for your excel. Select

Analysis Toolpak and click on OK.


Now you must see the Data Analysis option under the Data tab.
Click on Data Analysis you will see all the available analysis techniques like

Anova, T-Test, F-test in excel, Correlation, Histogram, Regression, Descriptive

Statistics, and many more under this tool.

How to use Descriptive Statistics in Excel?

You can download this Descriptive Statistics Excel Template here – Descriptive
Statistics Excel Template

Example #1
Now, look at the simple data from a test which includes the scores of 10

students. Using this data of scores we need to the Descriptive Statistics data

analysis.
Copy this data to your excel sheet.

● Step 1: Go to Data > Data Analysis.


● Step 2: Once you click on Data Analysis you will list of all the available

analysis techniques. Scroll down and select Descriptive Statistics.

● Step 3: Under Input Range select the range of Scores including heading,

Check Labels in the first row, Select Output range and give cell reference

as D1 and check Summary statistics.


● Step 4: Click on OK to complete the task. In D1 cell you will see the

summary report of Descriptive Statistics data analysis.


We got all kinds of statistical results pertaining to the data we have selected

i.e. scores.

The average Score (Mean) is 70.2, Standard Deviation is 15.97, Minimum

Score is 46, the maximum score is 91, total scores sum id 702 and the total

number of students this sample is 10. Like this, we have all kinds of statistical

results.

Popular Course in this category


Microsoft Excel Workshop

4.9 (32,322 ratings)

Entering, Editing & Managing Data | Data Analysis and Formulas

| Advanced Charting Techniques | Validating and Securing Data

| In’s and Out’s of PivotTable | Dynamic Dashboard Creation

View Course

Example #2
We have learned how descriptive statistics works in the previous example.

Download the workbook to this descriptive statistics in Excel.

I have a list of students, their age, gender, height, weight, weekly hours study,

and recent examination score details for a few students.


By looking at this above data the common questions are what is the average

age of the student group? , average weight, average exam score, average

height, Maximum value in each category, Minimum value etc…


We have as many as 5 different categories to tell the statistical results. We

can conduct a Descriptive Statistical Analysis to find all these.

● Step 1: Go to Data > Data Analysis.

● Step 2: Once you click on Data Analysis you will list all the available

analysis techniques. Scroll down and select Descriptive Statistics.


● Step 3: Under Input Range select all the category range including

headings i.e. C1:G26.

We can get the summary result in the same worksheet, different worksheets,

and different workbooks as well. Based on the selection we give it will show

the summary report. In this example, I have taken the option of showing the

summary in the same worksheet i.e. from J1 cell


Since we have selected the headings we need to tick the checkbox Labels in

the first row. Because we have selected the headings it will be helpful while

showing the results otherwise it will be confusing to understand each

category results.
And then tick the Summary Statistics option
● Step 4: Click on OK to compete for the test. We will get the descriptive

statistics results from J1 cell.


It has shown up all the statistical results for all five categories. The total

number of students is 25, the average age is 26.64, average height is 5.244,

average weight is 67.44, and average exam score is 57.8 which is relatively

low compared to modern-day standards and many other results.

Things to Remember
● Descriptive Statistics in Excel is a bundle of many statistical results.

● Label as the first row means the data range we have selected includes

headings as well.
● We can find the average value using an AVERAGE in excel function like

this maximum value by MAX, minimum value by MIN functions.

● SUMMARY will be displayed based on the selection we make.

______________________

PERCENTILE Function in Excel


The PERCENTILE Function is responsible for returning the nth percentile from

a supplied set of values. For example, you can use the PERCENTILE to find the

90th percentile, 80th percentile, etc.

The PERCENTILE in excel is a built-in function of Microsoft Excel and is

categorized under the Statistical Function. You can use this function as a

worksheet function (WS) in Microsoft Excel, and as a worksheet function,

PERCENTILE function can be entered as a part of any other formula in the

worksheet cell.

In the field of corporate finance, the PERCENTILE is used for analyzing the

total number of employees who have scored above a certain percentile in a

company test. Please note that in the 2010 version of Microsoft Excel, the
PERCENTILE Function was replaced by PERCENTILE.INC Function, and in the

latest versions of Excel, the PERCENTILE is still available as compatibility.

PERCENTILE Formula in Excel


Below is PERCENTILE Formula in Excel.

Parameters of PERCENTILE Function


The PERCENTILE Formula accepts the following parameters and arguments:

● array – This is the range or array from which you want the function to

return the nth percentile. It is required.

● nth_percentile – This is a number between 0 and 1 which specifies the

percentile value.

Return Value
The return value of the PERCENTILE Function in excel is a numeric value.

Please note that if the nth_percentile is not a numeric value, then you will get a

#VALUE! error. Also, if the nth_percentile value is not between 0 and 1, and is

greater than 1 or less than 0, then the PERCENTILE Function will be returning

#NUM! error.

Usage Notes
● The PERCENTILE Function is responsible for calculating the “nth

percentile” for a supplied set of data.

● A percentile which is calculated with 0.4 as n means 40% of the values

are either less than or equal to the result which is calculated. Similarly, a

percentile calculated with 0.9 means 90%.

● To use the PERCENTILE Function without any error, you should provide a

range of values and a number between 0 and 1 for the “n” argument. For

example, =PERCENTILE (range, .5) will be 50th

● You can also specify n as a percent directly by using the % character in

the formula. For example, =PERCENTILE (range, 80%) will be 80

percentile.

● “n” can be provided as either decimal or percentage.


● You should also know that when the percentiles fall between values, the

function will interpolate and the return value will be an intermediate

value.

How to Open PERCENTILE Function in Excel?


1) You can simply enter the desired PERCENTILE function formula in the

required cell to attain a return value on the argument.

Popular Course in this category

Microsoft Excel Workshop

4.9 (32,322 ratings)

Entering, Editing & Managing Data | Data Analysis and Formulas

| Advanced Charting Techniques | Validating and Securing Data


| In’s and Out’s of PivotTable | Dynamic Dashboard Creation

View Course

2) You can manually open the PERCENTILE formula dialogue box in the

spreadsheet and enter the logical values to attain a return value.

3) Consider the screenshot below to see the PERCENTILE option under the

Statistical Function excel menu.

4) Click on the PERCENTILE.INC option. The PERCENTILE formula dialogue

box will open where you can put the argument values to obtain a return value.
How to Use PERCENTILE Function in Excel?
Let’s look below at some of the examples of PERCENTILE function. These

examples will help you in exploring the use of PERCENTILE function in Excel.

You can download this PERCENTILE Function Excel Template here –


PERCENTILE Function Excel Template
Based on the above Excel spreadsheet, let’s consider these examples and see

the PERCENTILE function return based on the syntax of the function.

Consider the below screenshots of the above examples for clear

understanding.
Example #1
Now apply the PERCENTILE formula in Excel here =(PERCENTILE(A2:A6,0.5))

we will get 7.6

Example #2
Apply the PERCENTILE formula here =PERCENTILE(A2:A6, 0.8)

Output is 54.4

Example #3
Apply the PERCENTILE formula in Excel here =PERCENTILE({1,2,3,4},0.8)
Then we will get 3.4

Example #4
Now apply the PERCENTILE formula here =PERCENTILE({1,2,3,4},0.75)
Output is 3.25

Example #5
Here we have to apply the PERCENTILE formula

=PERCENTILE({7,8,9,20},0.35)
And we will get 8.05

PERCENTILE Function Errors


If you get any kind of error from the PERCENTILE Function, then it can be any

one of the following-


#NUM! – This kind of error occurs when the supplied value of n is less than

the numerical value 0 or greater than 1. Apart from this, this error can also

occur if the supplied array is empty.

#VALUE! – This kind of error occurs when the supplied n is a non-numeric

value.

Things to Remember
● It is the function which is responsible for returning the nth percentile

from a supplied set of values.

● It is categorized under the Statistical Function.

● This function has been replaced by PERCENTILE.INC Function, and in

the latest versions of Excel, the PERCENTILE Function is still available

as compatibility.

● If the nth_percentile is not a numeric value, then you will get a #VALUE!

error.

● If the nth_percentile value is not between 0 and 1, and is greater than 1

or less than 0, then the PERCENTILE Function will be returning #NUM!

error.
● The value of n should be between 0 and 1.

● A percentile which is calculated with 0.4 as n means 40% of the values.

● n” can be provided as either decimal or percentage. For example, 0.8 =

80%, 0.9 = 90% and so on.

● If n is not a multiple of 1/ (n – 1), PERCENTILE interpolates to determine

the value at the nth percentile.

______________________

MONTH Excel
Function
Month Function in excel is a date function which is used to find out the month

for a given date in a date format, this function takes an argument in a date

format and the result displayed to us is in integer format, the value this

function gives us is in the range of 1-12 as there are only twelve months in an

year and the method to use this function is as follows =Month( Serial
Number), the argument provided to this function should be in a recognizable

date format of excel.

MONTH Function in Excel


MONTH function in Excel gives the month from its date. It returns the month

number ranging from 1 to 12.

MONTH Formula in Excel


Below is the MONTH Formula in Excel.

Or

MONTH( date )
MONTH in Excel – Illustration
Suppose a date (10 August, 18) is given in cell B3 and you want to find the

month in Excel of the given date in numbers.

You can simply use the MONTH Formula in Excel given below:

= MONTH (B3)
and press Enter. MONTH function in Excel will return 8.

You can also use the following MONTH Formula in Excel:

= MONTH (“10 Aug 2018”)


and press Enter. MONTH Function will also return the same value.

The date 10 Aug 2018 refers to a value 43322 in Excel. You can also use this

value directly as input to MONTH Function. The MONTH Formula in Excel

would be:

= MONTH (43322)
MONTH function in Excel will return 8.

Alternatively, you can also use the date in another format as:

= MONTH (“10-Aug-2018”)
Excel MONTH Function will also return 8.

Now, let us look at some examples on where and how to use MONTH function

in Excel various scenarios.

How to Use MONTH Function in Excel?


MONTH in Excel is very simple and easy to use. Let understand the working of

MONTH in excel by some examples.

serial_number: a valid date for which the month number is to be identified

The input date must be a valid Excel date. The dates in Excel are stored as

serial numbers. For example, the date Jan 1, 2010, is equal to the serial

number 40179 in Excel. MONTH Formula in Excel takes as input both the date

directly or the serial number of the date. It is to be noted here that Excel does

not recognize dates earlier than 1/1/1900.

Returns

MONTH in Excel always returns a number ranging from 1 to 12. This number

corresponds to the month of the input date.

You can download this MONTH Function Excel Template here – MONTH
Function Excel Template

MONTH in Excel Example #1


Suppose you have a list of dates given in the cells B3: B7 as shown below. You

want to find the month name of each of these given dates.

Popular Course in this category

Microsoft Excel Workshop

4.9 (32,322 ratings)

Entering, Editing & Managing Data | Data Analysis and Formulas

| Advanced Charting Techniques | Validating and Securing Data

| In’s and Out’s of PivotTable | Dynamic Dashboard Creation

View Course
You can do so using the following MONTH Formula in Excel:

= CHOOSE ((MONTH(B3)), “Jan”, “Feb”, “Mar”, “Apr”, “May”, “Jun”, “Jul”, “Aug”,

“Sep”, “Oct”, “Nov”, “Dec”)


MONTH (B3) will return 1.

CHOOSE (1, …..) will choose the 1st option of the given 12 which is Jan here.

So, MONTH in Excel will return Jan.

Similarly, you can drag it for the rest of the cells.


Alternatively, you can use the following MONTH Formula in Excel:

= TEXT (B3, “mmm”)


MONTH Function will return Jan.

MONTH in Excel Example #2


Suppose you have month names (say in “mmm” format) given in cells B4: B15.
Now, you want to convert these names to the month in numbers.

You can use the following MONTH in Excel:

= MONTH ( DATEVALUE( B4 & ” 1”)


For Jan, MONTH in Excel will return 1. For Feb, it will return 2 and so on.
MONTH in Excel Example #3
Suppose you have a list of holidays given in cells B3: B9 in a date-wise manner

as shown below.
Now, you want to calculate the number of holidays each month. To do so, you

can use the following MONTH Formula in Excel for the first month given in E4:

= SUMPRODUCT( –( MONTH( $B$4:$B$16 ) = MONTH( DATEVALUE( E4 & ”

1″)) ) )
and then drag it to the rest of the cells.

Let us look at MONTH in excel detail:

● MONTH( $B$4:$B$16 ) will check the month of the dates provided in

cell range B4:B16 in a number format. MONTH function in Excel will

return {1; 1; 2; 3; 4; 5; 6; 6; 8; 9; 10; 11; 12}

● MONTH( DATEVALUE( E4 & ” 1″) will give the month in number

corresponding to cell E4 (see example 2). MONTH function in Excel will

return 1 for January.


● SUMPRODUCT in Excel (– (…) = (..) ) will match the month given in

B4:B16 with January (=1), and will add one each time when it is true.

Since January is appearing twice in the given data, MONTH function in Excel

will return 2.

Similarly, you can do for the rest of the cells.


MONTH in Excel Example #4
Suppose you have sales data for the past two years. The data was collected

on the last date of the month. The data was manually entered so there could

be a mismatch in the data. You are supposed to compare the sales between

2016 and 2017 for each month.


To check if the months are same and then compare the sales, you can use the

MONTH Formula in Excel:

=IF( (MONTH(B4)) = (MONTH(D4) ), IF( E4 > C4, “Increase”, “Decrease” ),

“Month-Mismatch” )
for the 1st entry. MONTH function in Excel will return “Increase”.
Let us look at the MONTH in Excel in detail:

If the MONTH of B4 (i.e, for 2016) is equal to the MONTH given in D4 (for

2017),

● MONTH function in Excel will check if the sales for the given month in

2017 is greater than the sales of that month in 2016.

○ If it is greater, it will return “Increase”.

○ Else, it will return “Decrease”.


If the MONTH of B4 (i.e, for 2016) is not equal to the MONTH given in D4 (for

2017),

● MONTH function in Excel will return “Mis-match”.

Similarly, you can do for the rest of the cells.

You could also add another condition to check if the sales are equal and

return “Constant”.
MONTH in Excel Example #5
Suppose you work in the Sales department of your company and you have a

date-wise data of how many products were sold on a particular date for the

previous year as shown below.


Now, you want to club the number of products in a month-wise manner. To do

so, you use the following MONTH Formula in Excel:

= SUMPRODUCT(– ( EXACT( F4, MONTH( $B$4:$B$17 ))), $C$4:$C$17 )

for the first cell. MONTH function in Excel will return 16.
and then drag it the rest of the cells.
Let us look at the MONTH in Excel in detail:

= SUMPRODUCT(– ( EXACT( F4, MONTH( $B$4:$B$17 ))), $C$4:$C$17 )

● MONTH( $B$4:$B$17 ) will give the month of the cells in B4: B17.

MONTH function in Excel will return a matrix {2; 8; 3; 2; 1; 7; 2; 5; 9; 6; 12;

11; 4; 10}

● EXACT( F4, MONTH( $B$4:$B$17 )) will match the month in F4 (i.e., 1

here) with the matrix and will return another matrix with TRUE when it’s
a match or FALSE otherwise. For the 1st month, it will return {FALSE;

FALSE; FALSE; FALSE; TRUE; FALSE; FALSE; FALSE; FALSE; FALSE;

FALSE; FALSE; FALSE; FALSE}

● SUMPRODUCT (– (..), $C$4 : $C$17) will sum the values given in C4:C17

when the corresponding value in the matrix is TRUE.

MONTH function in Excel will return 16 for January.


Things to remember about MONTH in Excel
● The MONTH Function returns the month of the given date or serial

number.

● Excel MONTH Function is given #VALUE! error when it cannot recognize

a date.

● The Excel MONTH Function accepts dates only after 1 Jan 1900. It will

give the #VALUE! error when the input date is earlier than 1 Jan 1900.

● The MONTH Function in excel returns the month in number format only.

Therefore, its output is always a number between 1 and 12

https://www.wallstreetmojo.com/month-excel-function/

__________________________________

EXCEL TUTORIALS

https://www.wallstreetmojo.com/excel/excel-tutorials/

You might also like