Enter a formula in cell C5 that divides the value in cell B5 by the value in cell B15

Formulas help you extract useful information from your data. Add cell references and functions to calculate values that update automatically when you change your data.

Want more?

What's new in Excel 2013

Basic tasks in Excel

I have added an Over/under budget column to the worksheet to help us track our budget as the actual costs begin to come in.

But to make that column work, we need to add a formula.

In case you had not noticed, Excel has already added some formulas for us, down here, in the Total row.

Tables can be very useful when it comes to formulas.

But to really understand how they work, let's try creating one on our own.

Select the first cell in the column. To let Excel know we are entering a formula, type an = sign.

Now, there are number of ways to write a formula.

We could type the values in each column with a - sign between them, and get the correct result.

But then what would happen if one of the numbers changed? We would have to rewrite the formula.

To solve that problem, we can use cell references.

Instead of typing the value of each cell, we simply type the cell addresses.

To help you keep track of cell references in the formula, Excel puts a colored highlight on the cell.

Press Enter and Excel calculates the formula and displays the result in the cell.

Now because we used cell references, we can change a value and Excel automatically updates the Total.

Keep in mind that even though the cell shows the result, the real content of the cell is still the formula.

If you wonder if a cell contains a formula, click the cell and look in the Formula Bar.

Also, we can use AutoFill.

Just click this little green handle in the cell and drag it down, and Excel automatically fills the formula to the other cells.

It even updates the cell references to point to the right cells.

Note that negative values are displayed in parentheses.

But for an even easier way to enter formulas, we can use functions.

A function does all the formula writing for you. As you saw earlier, you can add a function to the Total row by simply clicking this arrow.

If you select Sum, Excel adds the SUBTOTAL function.

But you can add a function to any cell you want. Select a cell. Then, go to the FORMULAS tab on the ribbon. Here, you have a whole library of functions.

Click AutoSum, click Sum, and the function is added to the cell.

Now, select the cells you want to add and press Enter.

Click More Functions to see all the functions available in Excel.

Up next, we'll do more with formulas and functions.

Excel for Microsoft 365 Excel for the web Excel 2021 Excel 2019 Excel 2016 Excel 2013 Excel 2010 More...Less

When you create a simple formula or a formula by that uses a function, you can refer to data in worksheet cells by including cell references in the formula arguments. For example, when you enter or select the cell reference A2, the formula uses the value of that cell to calculate the result. You can also reference a range of cells.

For more information about cell references, see Create or change a cell reference. For more information about formulas in general, see Overview of formulas.

  1. Click the cell in which you want to enter the formula.

  2. In the formula bar

    , type = (equal sign).

  3. Do one of the following, select the cell that contains the value you want or type its cell reference.

    You can refer to a single cell, a range of cells, a location in another worksheet, or a location in another workbook.

    When selecting a range of cells, you can drag the border of the cell selection to move the selection, or drag the corner of the border to expand the selection.

    1. The first cell reference is B3, the color is blue, and the cell range has a blue border with square corners.

    2. The second cell reference is C3, the color is green, and the cell range has a green border with square corners.

    Note: If there is no square corner on a color-coded border, the reference is to a named range.

  4. Press Enter.

Example

Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data. Use the Define Name command (Formulas tab, Defined Names group) to define "Assets" (B2:B4) and "Liabilities" (C2:C4).

Department

Assets

Liabilities

IT

274000

71000

Admin

67000

18000

HR

44000

3000

Formula

Description

Result

'=SUM(Assets)

Returns the total of the assets for the three departments in defined name "Assets," which is defined as the cell range B2:B4. (385000)

=SUM(Assets)

'=SUM(Assets)-SUM(Liabilities)

Subtracts the sum of the defined name "Liabilities" from the sum of the defined name "Assets." (293000)

=SUM(Assets)-SUM(Liabilities)

Top of Page

Need more help?

How do you enter a formula in a cell that divides the value in another cell using absolute cell reference?

Select another cell, and then press the F4 key to make that cell reference absolute. You can continue to press F4 to have Excel cycle through the different reference types. If necessary, continue entering the formula. Click the Enter button on the formula bar, or press Enter.

How do you use the fill handle to copy the formula in cell b11 to cells C11 and D11?

Cell C11 contains the formula you want to copy. Observe the fill handle located in the lower-right corner. Place your mouse over the fill handle, until the arrow becomes a black cross. Drag the fill handle across the cells D11 and E11 and then release the mouse button.

How do you enter a formula that references another cell?

Use cell references in a formula.
Click the cell in which you want to enter the formula..
In the formula bar. , type = (equal sign)..
Do one of the following, select the cell that contains the value you want or type its cell reference. ... .
Press Enter..

Toplist

Neuester Beitrag

Stichworte