Elite Membership

How To Create A Formula In Excel?

Written by Jeevan A Y Jeevan A Y Freelance Writer Jeevan, a seasoned data expert with 7 years in MIS reporting, excels in Advanced Excel, VBA, Power BI, and SQL. Currently an Assistant Manager MIS, his insightful data storytelling drives swift decision-making. 7+ years of experience MBA (Finance & Marketing) MIS Reporting View Full Profile
Reviewed by Dheeraj Vaidya, CFA, FRM Dheeraj Vaidya, CFA, FRM Content Reviewer & Course Director A former J.P.Morgan and CLSA Equity Analyst, Dheeraj specializes in financial modeling, AI, forecasting, and valuations. In his career spanning almost two decades, he has trained and mentored more than 100,000 students and professionals on a range of topics. 20+ years of experience CFA, FRM, IIT Delhi, IIM Lucknow Financial Modeling View Full Profile
Updated Dec 20, 2024
Read Time 5 min

What Is A Formula In Excel?

Excel is full of formulas. Those who master those formulas are pros of Excel. However, at the start of learning Excel, everyone is curious to know how to apply or create formulas in Excel. If you are one of them who is willing to learn how to create formulas in Excel, then this article is best suited for you. This article will have a complete guide from zero to intermediate level formula application in Excel.

Download FREE Create A Formula In Excel Excel Template and Follow Along!
Download Excel Template

Let us create a simple calculator-type formula for adding up numbers to start with Excel formulas.

Look at the below data of numbers.

create a Formula in Excel 1

In cell A1, we have 25. The A2 cell has 40, the number.

In cell A3, we need the summation of these two numbers.

In Excel, to start the formula, always put the equal sign first.

create a Formula in Excel 1-1

Now, insert 25 + 40 as the equation.

create a Formula in Excel 1-2

It is very similar to what we do in the calculator.

Press the “Enter” key to get the total of these numbers.

create a Formula in Excel 1-3

So, 25 + 40 is 65, the same we got in cell A3.

Key Takeaways

  • Mastering Excel formulas is crucial to being proficient in Excel. At the beginning of learning Excel, it’s essential to learn how to apply and create formulas.
  • To ensure accurate calculations and efficient data management in Excel, it is best practice always to commence a formula with an equal sign (=).
  • To open the SUM function in Excel, select the SUM formula and press the “Tab” key. This will make your work more efficient and help you perform calculations quickly and accurately.

How To Create A Formula In Excel?

Let us learn how to create formulas in Excel with the following below examples.

#1 – Create Formula Flexible With Cell References

Let us start.

  1. From the above example, we will change the number from 25 to 30 and 40 to 50.

    Even though we have changed numbers in cells A1 and A2, our formula only shows the old result of 65. It is a problem with direct numbers passing to the formula. It does not make the formula flexible enough to update the new result.

  2. We can give cell reference as the formula reference to overcoming this issue. For example, open the equal sign in cell A3.
  3. Then, select cell A1.
  4. Insert plus (+) sign and select cell A2.
  5. Press the “Enter” key to get the result.

As we can see in the formula bar, it is not showing the result. Rather, it shows the formula itself, and cell A3 shows the result of the formula.

Now, we can change the numbers in A1 and A2 cells to see the immediate impact of the formula.

#2 – Use SUM Function To Add Up Numbers

To get used to the formulas in Excel, let us start with the simple SUM function. All the formulas should begin with “+” or “=.” So, open the equal sign in cell A3.

Use SUM Function 1

Start typing the SUM to see the intellisense list of Excel functions.

Use SUM Function 1-1

Press the “Tab” key once the SUM formula is selected to open the SUM function in excel.

Use SUM Function 1-2

The first argument of the SUM function is Number 1, which is the first number we need to add. In this example, cell A1. So, we must select cell A1.

Use SUM Function 1-3

The next argument is Number 2, the second number or item we need to add, A2 cell.

Use SUM Function 1-4

Now, we must close the bracket and press the “Enter” key to see the result of the SUM function.

Use SUM Function 1-5

Like this, we can create simple formulas in Excel to do the calculations.

#3 – Create Formula References To Other Cells Excel

We have seen the basics of creating a formula in Excel. Similarly, we can apply one formula to other related cells as well. For example, look at the below data.

Formula References to Other Cells 1

In column A we have “Units.” In column B, we have the “Price Per Unit.”

In the column, C needs to arrive at “Sales Amount.” For arriving at the sales amount, the formula is Units * Price.

  • So, we must open an equal sign in cell C2.
Formula References to Other Cells 1-1
  • Select the cell A2 (units).
Formula References to Other Cells 1-2
  • Enter multiple sign (*) and select the B2 cell (price).
Formula References to Other Cells 1-3
  • Press the “Enter” key to get the sales amount.
Formula References to Other Cells 1-4

Now, we have applied the formula in cell C2. How about the remaining cells?

Can you enter the same formula for the remaining cells individually?

If you think that way, you will be delighted to hear that the “formula is to be applied to a single cell, then we can copy-paste to other cells.”

Now first, look at the formula we have applied.

Formula References to Other Cells 1-5

The formula says A2 * B2.

So, when we copy and paste the formula below, cell A2 becomes A3, and B2 becomes B3.

Formula References to Other Cells 1-6

Similarly, row numbers keep changing as we move down, and column letters will also change if we move either left or right.

  • Copy and paste the formula to other cells to result in all the cells.
Formula References to Other Cells 1-7

Like this, we can create a simple formula in Excel to start your learning.

Important Things To Note

  • We can create formulas in Excel using
    • Creating formula flexible with cell references
    • Using SUM function to add up numbers
    • Creating formula references to other cells Excel

Frequently Asked Questions (FAQs)

How to create a formula in Excel to calculate days?

To calculate the number of days between two dates in Excel, you can enter the dates into a cell in the format of “MM/DD/YYYY” without the quotes. After hitting enter, Excel will automatically calculate the number of days between the two dates, including leap years.

How to create a formula in Excel to divide?

In order to perform a division operation in Excel, use the forward slash (/) arithmetic operator. It is important to remember to include an equal sign (=) before typing in the numbers and the / operator; otherwise, Excel will interpret what you type as a date.

For example, consider the below image.

Formula In Excel FAQ 1

Press Enter Key.

We can see the result as shown in the below image.

Formula In Excel FAQ 1-1

How to create a formula in Excel using different sheets?

To reference multiple worksheets in Excel:

  1. Click the first worksheet tab.
  2. Hold down ‘Shift’ and click the last worksheet tab.
  3. Select the cell or range of cells you want to reference.
  4. Complete the formula and press ‘Enter.’

Recommended Articles

This article has been a guide to creating a formula in Excel. Here, we learn to create a simple Excel formula and practical examples, and a downloadable template. You may learn more about Excel from the following articles: –