Excel Functions and Formulas
Excel Functions and Formulas
There are plenty of Excel formulas and functions depending on what kind of operation you want to perform
Let’s now look at the top 25 Excel formulas you must know. In this article, we have categorized 25 Excel fo
1. SUM
The SUM() function, as the name suggests, gives the total of the selected range of cell values. It performs
Sum "=SUM(C2:C4)"
MODULUS =MOD(A2,3)
The result is stored in B2. We can also directly type “=MOD(10,3)” as it will give the same answer.
"=CONCATENATE(A27&" "&B27)"
11. REPLACE
As the name suggests, the REPLACE() function works on replacing the part of a text string with a different
The syntax is “=REPLACE(old_text, start_num, num_chars, new_text)”. Here, start_num refers to the inde
Let’s have a look at the ways we can use this function.
Here, we are replacing A101 with B101 by typing
REPLACE =REPLACE(A15,1,1,"B")
Fig: Replace function in Excel
Next, we are replacing A102 with A2102 by typing:
“=REPLACE(A16,1,1, "A2")”
“=REPLACE(A17,1,2, "Sa")”
12. SUBSTITUTE
The SUBSTITUTE() function replaces the existing text with a new text in a text string.
The syntax is “=SUBSTITUTE(text, old_text, new_text, [instance_num])”.
Here, [instance_num] refers to the index position of the present texts more than once.
Given below are a few examples of this function:
Here, we are substituting “I like” with “He likes” by typing:
We will use the below table to learn how the VLOOKUP function works.
If you wanted to find the department to which Stuart belongs, you could use the VLOOKUP function as sho
If you hit enter, it will return “Marketing”, indicating that Stuart is from the marketing department.
21. HLOOKUP
Similar to VLOOKUP, we have another function called HLOOKUP() or horizontal lookup. The function HLOOKUP looks for a valu
Below are the arguments for the HLOOKUP function:
lue - This indicates the value to lookup.
e table from which you have to retrieve data.
is the row number from which to retrieve data.
t match or approximate match. The default value is TRUE, meaning an approximate match.
Given the below table, let’s see how you can find the city of Jenson using HLOOKUP.
Fig: Hlookup function in Excel
Here, H23 has the lookup value, i.e., Jenson, G1:M5 is the table array, 4 is the row index number, 0 is for a
Once you hit enter, it will return “New York”.
hniques to become a Data Analyst expert! It's the pefect course for you to jumpstart your career. Enroll now!
22. IF Formula
The IF() function checks a given condition and returns a particular value if it is TRUE. It will return another value if the conditio
In the below example, we want to check if the value in cell A2 is greater than 5. If it’s greater than 5, the fun
PMT formula should now be entered in the cell that is the Payment cell adjacent. Currently, there is no va
Set the monthly payment to -5,000. The deduction in amount signifies the negative value.
On the Data tab, in the Analysis group, click the Solver button.
In the set objective, select the income cell and set its value to $8000.
To Change the variable cell, select the C5, C6, and C10 cells.
Click Solve.
28. If-Else
IF function is used to test the condition and return a value if the condition is indeed true and a predetermined different value
se =IF(test, true result, false result)
29. If-Error
The Excel IFERROR function returns an alternative result when a formula generates an error and an expe
or =IFERROR (value, value_if_error)
For example, Excel returns a divide by zero error when a formula tries to divide a number by 0.
By using the IFERROR function, you can add a message if the formula evaluates to an error.
The MATCH function returns the position of the ID you are looking for. The INDEX function will return the v
31. Offset Function
The OFFSET function returns a reference to a range of cells that is a specified number of rows and colum
=OFFSET(reference, rows, cols, [height], [width])
Example:
Consider the following data:
Coding
Experien
No Basic No
ce
Required
10+ skills
including
8+ Data
Data Visualiza
10+ skills Analytics tion with
including , Tableau,
Python, Statistica Linear
Skills l
MySQL, and
You Will Analysis
Tableau, Logistic
Learn using
NumPy Regressi
and Excel, on, Data
more Data Manipula
Analysis tion and
Python more
and R,
and
more
Purdue
Alumni
Associati
Applied on Access
Learning Members to
via hip Integrate
Capston d
e and Practical
Additiona
20+ Labs
l Benefits
industry- Caltech
relevant CTME
Data Circle
Analytics Members
projects hip
Applied Access
Learning to
via Integrate
Capston d
e and Free Practical
Additiona IIMJobs
20+ Labs
l Benefits Pro-
industry- Caltech
relevant Members CTME
Data hip of 6 Circle
Analytics months Members
projects hip
Resume
Building
Assistan
ce
Cost $$ $$$$ $$$$
Explore Program
Explore Program
Explore Program
Conclusion
Excel is a really powerful spreadsheet application for data analysis and reporting. After reading this article,
Looking to advance your career in Data Science or Business Analytics? Simplilearn's Caltech Post Gradua
Do you have any questions related to this article on Excel Formulas? If yes, then please let us know in the
To kick-start your fruitful career in Excel, please click on the following link: Business Analytics with Excel
FAQs
1. What are the basic formulas in Excel?
Basic formulas in Excel include arithmetic operations like addition, subtraction, multiplication, and division—
2. What is MS Excel formulas and functions?
MS Excel formulas and functions are expressions used to perform calculations or manipulate data in Exce
3. How to write a formula in Excel?
To write a formula in Excel, start with an equal sign (=), followed by the formula expression. For example, t
4. What are basic Excel skills?
Basic Excel skills include:
Entering data.
Formatting cells.
Using basic formulas and functions.
Creating simple charts.
Sorting and filtering data.
Understanding cell references.
of cell values. It performs the mathematical operation which is addition. Here’s an example of it below:
simply type in the function “=SUM(C2:C4)”. This automatically adds up 300, 385, and 480. The result is stored in C5.
ge of cell values. As seen from the below example, to find the avg of the total sales, you have to simply type in:
ed location.
s not include the cell, which is blank, and the ones that hold data in any other format apart from numeric.
the COUNT function takes only the cells with numerical values into consideration, the answer is 3 as the cell contain
data format, you must use the function ‘COUNTA()’. However, COUNTA() does not count any blank cells.
OTAL() function returns the subtotal in a database. Depending on what you want, you can select either average, coun
verage of A2: A4 and the answer to it is 11, which is stored in C5. Similarly,
s divided by a divisor. Let’s now have a look at the examples below for better understanding.
the function
SUBSTITUTE(A22,2010,2016)”.
Meanwhile, the MID() function returns the characters from the middle of a text string, given a starting position and le
nsible for looking for a particular value in the leftmost column of a table. It then returns a value in the same row from a column you specif
VLOOKUP function as shown below:
ng department.
tion HLOOKUP looks for a value in the top row of a table or array of benefits. It gives the value in the same column from a row you specify
w index number, 0 is for an approximate match.
e if an expression evaluates to an error, or else it will return the value of the expression.
vide a number by zero. It will result in an error.
h VLOOKUP, you're stuck returning an appraisal from a column to the right. Another reason to use index-match inste
that meet the given condition.
s cases and deaths in each country and region.
eater than 100. Here is how you can use the COUNTIFS function.
es in India till 3rd Jun 2020. (Our dataset has information from 31st Dec 2020 to 3rd Jun 2020).
s than 100.
et the desired output by changing the assumptions. The process is dependent on the trial and error method to achiev
t. Currently, there is no value in the rate of interest cell, Excel gives us the payment of $3,333.33 because it assumes
ive value.
e that is required to pay the loan amount.
in Advanced excel.
excel formulas to explore the different results.
d is helpful on many levels. The feature can be used to identify an optimal value for a formula in the cell known as the
g the formulas in the objective and constraint cells. The solver adjusts the value of decision variable cells to work on t
Expert
Expert
to an error.
sition of a value in a specified range, while the INDEX function returns a specific value present in a uni-dimensional r
X function will return the value of the salary corresponding to the position.
Expert
s courses are designed to provide you with the skills and knowledge you need to excel in this rapidly growing industr
. After reading this article, you would have learned the important Excel formulas and functions that will help you perfo
arn's Caltech Post Graduate Program in Data Science and Business Analyst can help you achieve your goals! These
please let us know in the comments section of the article. Our team of experts will help you solve your queries right a
ess Analytics with Excel.
manipulate data in Excel. Formulas start with an equal sign (=) and can contain functions, mathematical operations,
xpression. For example, to add two numbers in cells A1 and B1, write "=A1+B1" in another cell.
a table range and return a related value from a specified column. It's commonly used for data lookup and retrieval.
c range of cells. These formulas yield a result, even if it's an error. They empower you to carry out addition, subtracti
of it below:
elect either average, count, sum, min, max, min, and others. Let’s have a look at two such examples.
mple of the Len function.
arry out addition, subtraction, multiplication, and division calculations within Excel.
up functions.
examples.
from the end of a text string.
ther will be in lowercase.
from Excel. This is because it needs to evaluate the entire table array which you've selected. With INDEX-MATCH,
on other formula cell values on a worksheet.
desired result for the objective cell.
real-world scenarios, and case studies, giving you the practical experience you need to succeed. With our courses,
time, and advanced Excel formulas and functions. Needless to say, Excel knowledge goes a long way in shaping ma
kills and knowledge needed to excel in the field. Led by industry experts, the courses offer hands-on training, real-wo
ed. With INDEX-MATCH, Excel only has to consider the lookup column and the return column.
cceed. With our courses, you'll learn to analyze data, create insightful reports, and make data-driven decisions that c
a long way in shaping many careers.
hands-on training, real-world projects, and personalized mentorship. Plus, upon completion, you'll receive a prestigio
ata-driven decisions that can help drive business success.
you'll receive a prestigious certification from one of the world's top universities. Don't wait, enroll now and take your
enroll now and take your career to the next level!