Formula and Function in Excel 2013
Microsoft Excel 2013 provides formulas and functions to perform calculations, analyze data, and solve mathematical problems. Formulas can contain numbers, cell references, operators, and functions.
1. Formula in Excel
A formula is an equation used to perform calculations on numbers, cell references, or operators. It looks like a mathematical expression and always begins with an equal sign (=).
A formula may contain numbers, cell references, mathematical operators, comparison operators, parentheses, and functions.
Example:
=A1+B1+C1-D1*5/2This formula adds the values in cells A1, B1, and C1, then subtracts the result of multiplying D1 by 5 and dividing by 2. Excel follows its standard operator precedence when calculating the result.
Learn more about MS Excel and MS Excel 2013 Screen Components.
2. Properties of a Formula
The following are important properties of formulas in Excel 2013:
A formula must begin with an equal sign (
=).A formula can contain numbers, mathematical expressions, operators, cell references, parentheses, and functions.
A formula should not refer to its own cell directly or indirectly, as this creates a circular reference.
When you press Enter after entering a formula, Excel displays the calculated result in the cell. The formula itself appears in the Formula Bar when that cell is selected.
If a referenced cell changes, Excel generally recalculates the formula automatically when calculation mode is set to Automatic.
3. Operators in Excel 2013
An operator is a symbol that specifies the operation to perform on one or more operands. Excel supports arithmetic, text, comparison, and reference operators.
A. Arithmetic Operators
Arithmetic operators are used to perform mathematical calculations.
| Operator | Operation | Example | Result |
|---|---|---|---|
+ | Addition | =10+5 | 15 |
- | Subtraction | =10-5 | 5 |
* | Multiplication | =10*5 | 50 |
/ | Division | =10/5 | 2 |
^ | Exponentiation | =2^3 | 8 |
% | Percentage | =10% | 0.1 |
Example:
=A1+B1This adds the values stored in cells A1 and B1.
B. Text Operator
The ampersand (&) is the text operator in Excel. It joins two or more text strings.
| Operator | Operation | Example | Result |
|---|---|---|---|
& | Concatenation | ="Hello"&" World" | Hello World |
Example using cell references:
If cell A1 contains Bhagwan and cell B1 contains Babu, enter:
=A1&" "&B1Result: Bhagwan Babu
The quotation marks contain a space between the two names.
C. Comparison Operators
Comparison operators compare two values and return either TRUE or FALSE.
| Operator | Meaning | Example | Result |
|---|---|---|---|
= | Equal to | =10=10 | TRUE |
> | Greater than | =10>5 | TRUE |
< | Less than | =5<10 | TRUE |
>= | Greater than or equal to | =10>=10 | TRUE |
<= | Less than or equal to | =5<=10 | TRUE |
<> | Not equal to | =10<>5 | TRUE |
Example using cell references:
=A1>=40This returns TRUE if the value in A1 is greater than or equal to 40; otherwise, it returns FALSE.
D. Reference Operators
Reference operators combine cell references or identify ranges of cells.
| Operator | Name | Example | Meaning |
|---|---|---|---|
: | Range operator | =SUM(A1:A5) | Refers to cells A1 through A5 |
, | Union operator | =SUM(A1:A3,C1:C3) | Combines two separate ranges |
| Space | Intersection operator | =SUM(A1:C3 B2:D4) | Refers to cells common to both ranges |
The space used as an intersection operator must separate valid cell references or ranges that overlap. In the last example, the intersection is B2:C3.
4. What Is a Function in Excel?
A function is a predefined formula that performs a specific calculation using supplied arguments. Excel provides built-in functions for mathematical calculations, statistics, text manipulation, dates, logical tests, and financial analysis.
Syntax:
=FUNCTION_NAME(argument1, argument2, ...)Examples:
SUM() Function
=SUM(A1:A5)This adds the numeric values in cells A1 through A5.
AVERAGE() Function
=AVERAGE(A1:A5)This calculates the average of the numeric values in the specified range.
MAX() Function
=MAX(A1:A5)This returns the largest numeric value in the range.
MIN() Function
=MIN(A1:A5)This returns the smallest numeric value in the range.
5. Difference Between Formula and Function
| Formula | Function |
|---|---|
| A formula is an expression created to perform a calculation. | A function is a predefined calculation provided by Excel. |
| It can use numbers, references, and operators. | It generally uses a function name and arguments. |
Example: =A1+B1 | Example: =SUM(A1:B1) |
| It may or may not contain a function. | A function can be used inside a formula. |
Important: A function is not separate from formulas. A function can be a part of a formula, such as:
=SUM(A1:A5)*10This formula uses the SUM() function and then multiplies the result by 10.
6. Order of Operations in Excel
When a formula contains multiple operators, Excel follows a specific order of precedence. Parentheses can be used to control the order of calculation.
For example:
=10+5*2Result: 20
Multiplication is performed before addition.
However:
=(10+5)*2Result: 30
Here, the calculation inside parentheses is performed first.
Conclusion
Formulas, functions, and operators are essential features of Microsoft Excel 2013. Formulas perform calculations, functions simplify common operations, and operators specify how values are compared, combined, or calculated.
Understanding these concepts helps users create accurate spreadsheets and work more efficiently with Excel.
For more tutorials, read What Is MS Excel?, MS Excel 2013 Screen Components, and Formulas and Functions in Excel 2013.

dear brother
please tell me about large & small function
Excel Large function returns nth largest number from a list of number.
Excel small function returns nth smallest number from a list of number