Aug 25, 2023 2.1K Reads
Microsoft Excel is one of the world’s most popular spreadsheet software used for a variety of book-keeping and data storage purposes. But its use is not limited to just recording data, it is also a tool filled with potential for data analysis and calculations. To use the various computational features of MS Excel, there are a number of basic formulae and functions that you must be aware of.
However, if you are not a tech-savvy person, here we have made the job easier for you by listing down the basic formulae in MS Excel along with step-by-step guides of how to run them and continue reading to explore.
MS Excel has 2 main facilities for running mathematical operations on data. These include formulae and functions, which are closely related to each other but have one fundamental difference between each other:
Notice that one needs to manually feed the info about the cells to be added in the case of a formula (you will need to feed the data about 5 cells manually if you wish to add those 5 cells) while in the case of a function, you can use the SUM function directly and just enter the values of the cell (e.g. A2 to E2 represented as A2:E2) for the software to automatically calculate the sum of the cell values.
Functions are easier to use as compared to formulae in Excel since they come with pre-designed syntax and can directly be used to perform various operations with the data.
Another major advantage of using a function in Excel is that there are many operations and commands for which it is not possible to directly feed a formula manually to the software. In such cases, there are many functions of Excel which can be used to directly run the command.
Before proceeding onto using the actual formulae and functions in Excel, one needs to have a basic understanding of what is the structure of a formula or function, which is referred to as the “syntax”.
For a formula, the syntax includes an equal sign (“=”) followed by the operation you wish to perform along with the relevant cell references. For example if you need to find the product between cells A1 and D5, we can create a formula as follows:
For a function for the same operation, we shall begin with the equal sign (“=”) followed by the function command we wish to perform (e.g. PRODUCT in our case), followed by a bracket wherein the cell references are provided in which the function is to be performed. So for the above example, the function to use is PRODUCT and the syntax will be:
Here, since we are already providing the function PRODUCT outside the brackets, we do not enter an asterisk (“*”) sign rather we separate the two cell values through a simple comma (“,”).
For some functions, instead of the comma (,) one needs to use the colon (“:”) instead which denotes a series of cells rather than a couple of cells on which the operation is to be performed.
Given below is an easy tutorial on how to use the various functions and formulae in MS Excel along with the use cases for those functions.
This is the simplest function of the software and it is used to calculate the additive sum of the cells you feed into the command. The function command begins with an equal sign (“=”) followed by the main command (“SUM”), followed by the cells whose values are to be added.
You can enter the cell command in terms of specific cells (separated by a comma) or a series of cells (separated by a colon- “:”). The command is:
=SUM(starting cell:ending cell)
The SUMIF function is an extension of the SUM function, in which we add a condition about the sum, for example-only adding cell values when they exceed a particular value. This function is useful for screening particular values from a dataset and performing the addition only on specific cell values.
The syntax of this command is similar to the SUM command, but includes an additional subcommand about the condition you want to place on the cell values.
=SUMIF(start cell: end cell, “Condition”)
In the given dataset, if you want to find out the sum of scores for students who have scored more than 5 marks in the mathematics exam, then you can use the command
As understandable from the name of the command itself, the AVERAGE function is used to find the average or the arithmetic mean of the cells. This is a very useful function for data keeping and is one of the simplest to run in MS Excel.
The syntax of the command is an equal sign (“=”), followed by the main command AVERAGE, followed by a bracket in which you provide the relevant reference cells of which you want to find the average, followed by a bracket to close the command. The final syntax is
=AVERAGE(starting cell:end cell)
=AVERAGE(cell values separated by comma)
For example, here if you want to calculate the average of the cells B1,C2 and C3, the syntax will be
This feature is useful for calculating the average in a dataset for a variety of purposes.
For some statistical procedures or computational tasks, one needs to find out the middle-most value in the set of values. This value is called the median in statistical terms, and can be calculated using the MEDIAN function in MS Excel.
This command has a simple syntax in which we start with an equal sign (“=”), followed by the main command- MEDIAN, followed by the cells of which we must find the median, separated by a colon. The command is then closed with a bracket. So the syntax of the function is:
=MEDIAN(starting cell value:ending cell value)
For example, in the given dataset, if you want to find the median value of the cells B2 to B6, simply enter the command =MEDIAN(B2:B6) and Excel will find the median value for you.
Consider an example if you have a huge dataset in which you want to find the total number of values in a row of data. To calculate the number of entries in a dataset, you can use the COUNT function of Excel.
The syntax of the command includes an equal sign (“=”), followed by the main command- COUNT, followed by a bracket which encloses the reference cell values. The command is then closed with a bracket, and upon pressing the Enter key, the number of values is calculated. So the final syntax of the COUNT function is
=COUNT(starting cell:ending cell)
This command does not calculate the cells which are blank or have data in any other form other than numerical data in the total count.
For example, in this case, if you want to calculate the total number of students who appeared for the test of mathematics, you can use the COUNT function as follows:
This command eliminates empty cells and textual cells in the calculation of the total count.
COUNTA function is an extended function related to the COUNT command, and it also includes cells with textual or other data forms for calculating the total cells. This command is useful when you don’t want to omit cells with textual content from your total count.
The syntax of the command is similar to the COUNT function, except the main command used is COUNTA instead of COUNT. So the syntax of the command is
=COUNTA(starting cell: ending cell)
For example, if you want to calculate the total number of students in a class, including the absentees for a particular test, you can use the COUNTA function as follows:
This command will give you the total count of cells from the C2 to C7 range of cells.
The SUBTOTAL function is slightly different from the functions mentioned prior to it, in that it performs a function on a sublist in a dataset. It includes a subcommand within a main command, and these subcommands are represented in the syntax using certain numbers which denote various subcommands.
The syntax of the command includes an equal sign (“=”) followed by the main command which is SUBTOTAL, followed by a bracket, within which you first provide the subcommand or the function number, followed by a comma, and then the cell range for which the subtotal needs to be calculated. The syntax is represented here.
=SUBTOTAL(function_num, starting cell value:ending cell value)
Here is a list of the common function numbers in MS Excel along with how they are represented in numbers in the SUBTOTAL function.
For example, in this dataset, if you want to find the average performance of students A, B and C in mathematics, you can use the SUBTOTAL function as follows:
This will give you the average performance of the three students in the class in mathematics.
This is a useful function to use when you have data entries in decimals and you wish to round off the numbers to a specific number of decimal points or to whole numbers.
This function has a simple syntax, beginning with an equal sign, followed by the command- ROUND, followed by a bracket, in which you enter the specific cell value of which you want to round off the decimals, followed by a comma, after which you enter a number, which denotes the number of decimal points you want in your final rounded off value.
The syntax of this command is =ROUND(cell value, number)
Where number denotes the number of digits or decimal points needed in rounded off value.
For example in this case, if you want to round off the scores achieved in the science test by student B to whole numbers, you can use the following command:
This will give you the score rounded off to the nearest whole number.
The MODULUS function, which is represented as MOD in the Excel function, is a computational command used to find the remainder when a particular dividend is being divided by a divisor. It is a powerful tool to use with a simple syntax, and it is useful when you need to find remaining values after a division has been performed.
The syntax of the command includes an equal sign (“=”) followed by the main command-MOD, followed by the cell value, which will act as your dividend, followed by a comma after which you enter the number which you want to divide it with (i.e. you divisor). The syntax is closed with the bracket as shown here:
=MOD(cell value, divisor)
So for example, if you want to divide the cell value in B2 by 4, then the command given will be:
This will give you the remainder when 9 is divided by 4, i.e. 1.
The POWER function is used to calculate a cell value to a particular exponential value. As the command name itself suggests, this command calculates the cell value “to the power of” a certain exponent.
The syntax of this command includes an equal sign, followed by the main command- POWER, followed by bracket, in which you first enter the referent cell value, followed by a comma, and then the digit which denotes the power to which you wish to raise the cell value. The command is then closed with a bracket. So the final syntax of the command is
=POWER(cell value, power value)
For example, in this dataset, if you wish to calculate the square of the value in cell C3, the command given will be
This will calculate the cell value in C3 to the power of 2, i.e. the cell value will get squared.
The VLOOKUP function, or Vertical Lookup function in MS Excel is primarily used for finding a particular value in a vertical table, with respect to a specific searching value. This feature is extremely useful for quickly looking up values in a large dataset where locating data can be tedious manually.
The syntax of the VLOOKUP feature involves the following arguments:
This shall be made further clear with an example:
In this dataset, supposing you want to find the test score for student A in the test of science, then you can use the VLOOKUP feature as follows:
This is a simple searching function in MS Excel in which you use the command to find the lowest or minimum cell value in a range of cells. It stands for MINIMUM and is represented as “MIN” in use. This is useful to use when you have a large dataset and need to quickly find the minimum value from a set of values.
The syntax includes an equal sign (“=”) followed by the command, i.e. MIN, followed by a bracket in which you enter the cell range and then close the bracket. This will give you the minimum value in your entered data range. The full syntax for the function is
=MIN(staring cell value:ending cell value)
For example, in this given dataset, if you want to find the lowest score achieved in the test of English, you can use the command:
Similar to the MIN function, the MAXIMUM or MAX function is mainly used for finding the highest value in a data range. This is a useful command for a large dataset where it might be manually tedious to locate the highest value.
The syntax includes an equal sign (“=”), followed by the main command-MAX, followed by a bracket in which the cell range is provided, and then the command is closed with a bracket. The syntax is:
=MAX(starting cell value:ending cell value)
For example, in this dataset if you want to locate the highest score achieved in the mathematics test, you can simply use the command:
This command will give you the maximum value in the cell range of B2 to B6.
This is a function in Excel which helps you to enter data regarding the current date in a cell. The main use of the TODAY function is to enter the current standard date in a cell from the system.
The syntax of this command is simply =TODAY()
Note that this command does not require any value within the brackets, since it does not perform a function in reference to a particular cell but fetches system data.
So in this dataset, if you want to enter the date when you performed the operations in the sheet, you can use this function by simply putting the command =TODAY().
The NOW function is similar to the TODAY function, the only difference being it fetches system data regarding the date as well as the current time. This feature is useful when you need to record the precise time for data collection/data entry, for e.g. in the case of keeping medical records of blood samples.
The function has the following syntax: =NOW()
So for instance, in the given dataset, if you want to enter the current date and time, you can simply feed to command and get the data.
The LEN function in MS Excel is used to calculate the length of the value in a cell, i.e. the number of characters in a cell. The function is useful for calculating the total number of characters in a cell for both textual or string data or numerical data.
The syntax of the command includes an equal sign (“=”) followed by the main command- LEN, followed by a bracket which encloses the cell values for which the number of characters is to be calculated, i.e.
For example, if you want to calculate the number of characters in the given dataset for the cell value C4, you can simply use the command to do so
The TIME function is a useful tool when you have data regarding the hours, minutes and seconds recorded in separate cells. The TIME function is used to convert these separate data into a combined time.
The syntax of the TIME function is a little specific and needs to be kept in mind when you want to convert numerical data into time. The syntax is given here:
=TIME(Hour, Minute, Second)
So, if you want to convert the data given in the above data range from B2 to D2, then the command given will be
=TIME(B2, C2, D2)
The REPLACE function is used to replace a particular part of a text in a cell with content from another cell. This command is useful for replacing texts quickly in a large dataset, but it needs a basic understanding of the arguments in the function before you can use it. The basic syntax of this command is:
=REPLACE(old_text, start_num, num_chars, new_text)
Consider this example where we want to replace the old text “Student A” with “Student X” here we will use this command:
=REPLACE(A2, 9, 1, “X”)
The SUBSTITUTE function in MS Excel is used to replace a string of text in a cell with a new text when the original text is present more than once within the cell. It has a syntax as follows:
=SUBSTITUTE(text, old_text, new_text, [instance_num])
Here is an example:
For example you want to substitute New Delhi New Colony entry with Old Delhi New Colony, then in that case you can use the following command:
=SUBSTITUTE(A2, “New”, “Old”, 1)
Here the 1 indicates that only the first “New” in the original text is to be substituted with old.
The TRIM function in MS Excel is used to remove extra spacing in cells to format them into a more concise view. This function is useful to provide a uniform spacing to textual/numerical data which has irregular spacing.
The syntax simply involves an equal sign (“=”), followed by the main command-TRIM, followed by a bracket within which the cell value is entered and brackets closed:
For example, in the given dataset, if you wish to remove the extra spacing between the textual content, to include only single spacing, you can use this command:
There are a number of useful and quick to use formulae and functions in MS Excel that can become handy when you are handling large databases and datasets. Over time, when you use these functions frequently, you will get accustomed to using them in practice. The interface of Excel for using the functions is also very helpful as it provides you with the arguments as a prompt, which can help you feed data to run the command accordingly.
You can calculate the sum of two cells in Excel by using the SUM command which is written as: =SUM(cell 1 value, cell 2 value). This will calculate the sum of the two cells.
You can use the AVERAGE function to find the average or the arithmetic mean of a row of cells. The command is written as: =AVERAGE(starting cell value: ending cell value).
The maximum value in a dataset can be calculated by using the MAX function in Excel, which is written as: =MAX(starting cell value: ending cell value).
There are a large number of functions in Excel, the 7 basic ones among them being SUM, AVERAGE, MAX, MIN, MOD, ROUND and POWER. These are the most basic mathematical functions in Excel, apart from which there are a large number of other computational, engineering and textual functions as well.
There are an estimated 300+ formulae and functions in Excel.
The VLOOKUP function of MS Excel is used to quickly look up the desired value corresponding to a particular value in MS Excel in an array of data. For running this function, at the most basic level, you need to feed data about your referent cell, the data array and the column from where you fetch the data.
For using a formula in MS Excel, you need to manually feed the data about the cell values and the operation you need to perform. In a function in Excel, there is a preset design and syntax of the formula, and you need to provide relevant information about the cells upon which the function is to be performed.
Tired of dealing with call centers!
Get a professional advisor for Career!
Rs.1499(Exclusive offer for today)
MBA 7 yrs exp
M.Com 4 yrs exp
MCA 5 yrs exp