# How to Use Excel MODE Function?

Excel MODE Function: Excel is a spreadsheet program that is developed for WindowsMacAndroid, and iOS. The purpose of this software is to do complicated calculations which are difficult to do manually. With the help of this spreadsheet program, you can insert, organize, maintainmanage, and calculate data.

In this guide, you will learn how to use Excel MODE Function with its syntax, explanation, and examples. Get an official version of MS Excel from the following link:

https://www.microsoft.com/en-in/microsoft-365/excel

## Explanation of MODE Function

• It is one of the built-in functions in Microsoft Excel.
• This function returns the most frequently occurring value from a range of data.
• For example, MODE(1,1,1,2,2,3,4,5) will return the output values as 1.

## Syntax

• Here, you will see the syntax of the MODE function.
• To apply this function on your spreadsheet, you must select a cell and enter the formula in the following format.
• Once you enter the formula, click the button to get the result.

=MODE(number1, [number2], …)

Arguments Explanation:

• Number 1 – It is the first input number or cell reference.
• Number 2 – It is an optional one. It can be a number or cell reference. Number arguments should contain up to 255 numbers to calculate Mode.

Note:
1) If the input range doesn’t contain any duplicates (repetitive values) and then this function returns #N/A Error.
2) This function ignores empty cells, boolean values, and text, any non-numerical characters.
3) The arguments can be numbers, names, arrays, or references.

## Examples

Let’s see examples to understand how to use the MODE Function.

• Initially, you must open your Excel workbook on your PC and launch the worksheet with data.
• For instance, we have given the input values in the range B3:E6. And we will get the most frequently occurring value from a range using the MODE function.
• Then, you must enter the formula in the cell below to get the result.
• After entering the formula, you need to click the  button to get the output.
• Once you get the output for the first cell, then you need to drag down the cell to fill in the remaining values.
• If the input range doesn’t contain any duplicates (repetitive values) and then this function returns #N/A Error.
• This function ignores empty cells, boolean values, and text.