MS Excel - Lesson 5: Excel formulas and functions

The formula in Excel is a program that performs calculations on data tables. These formulas perform very precise operations such as adding, multiplying, or comparing values ​​in worksheets.

Components of an Excel formula

The formula always starts with an equal sign ( = ), behind it can be numbers, operators and Excel functions.

Examples of some simple formulas in Excel:

  1. = 2 * 5 + 8 (This formula is 2 times 5 then add 8)
  2. = A2 * A3-A5 (Value of cell A2 times the value of cell A3 and subtracts the value in cell A5)
  3. = SUM (B1: B10) (Use the SUM calculation function to calculate the total value of cells B1 to B10)
  4. = TODAY () (Use TODAY function to return the current date value)
  5. = UPPER ("hello") (UPPER function used to convert lowercase text to uppercase, the result here will convert "hello" to "HELLO")
  6. = IF (A1> 0) (IF condition function to check if cell A1 contains any value greater than 0)

The basic parts of an Excel formula:

Excel alcohol formulas can include one or all of the following components: functions, references, operators and constants .

See the example below:

MS Excel - Lesson 5: Excel formulas and functions Picture 1

  1. Function: PI () function returns the value of pi: 3,142 .
  2. Reference: A2 returns the value in cell A2
  3. Constants: Value or text entered directly into the formula, in this example is 2
  4. Operator: Operator * (asterisk) to multiply numbers and ^ (caps) to raise a number to some power, here is 2

Enter Excel formulas

- Put the cursor in the cell to enter the formula and display the result.

- Type ' = '

- Enter the expression you want to calculate, for example: A5 + E5. With this formula, it will add the value of cell A5 to E5.

- After entering the formula, press Enter. The result of the calculation will be displayed in the newly entered cell

- If the formula fails, an error message will display starting with a #

Enter the reference domain with the cursor

- Put the cursor in the cell to display the formula result

- Enter the formula to calculate on a value column or domain. For example, enter the formula = E2 + E5, which means the value of cell E2 adds the value of cell E5.

- Using the arrow keys, move the cursor from the first reference cell (in this case, E2). The formula will check and the current value will be included in the formula

- Type permission +

- Using the arrow keys, move the cursor to the second reference cell, (in this case, E5). If you calculate in a data area, hold down the Shift key and move the arrow keys to all cells to be counted.

- After selecting all the cells for the formula, press Enter to get results

Basic Excel functions

Functions are special commands used in formulas to perform calculations.

Reference: These are the most basic functions in Excel that you need to understand

Enter functions into spreadsheets

- Select the box to display the formula results

- Insert the sign ( = ) before the formula. The toolbar of the formula displays

- Type a function name (eg SUM function), then open parentheses ' ( ', (because many arguments depend on the function), and end with ' ) '. For example, type SUM (E2: E5).

- Press the Enter key. (If there is no error in the formula, the result of the function will be displayed. If you click on that cell, the function will display in the formula bar).

Use the AutoSum function

- Functions can be accessed via the AutoSum icon on the Standard toolbar. Some functions will be displayed when clicking on the numbness next to the AutoSum icon.

- For example, the current cell is located below the list of values, AutoSum will display a total function with a list of consecutive arguments on it.

MS Excel - Lesson 5: Excel formulas and functions Picture 2 - Function Sum : Calculates the total list of arguments

- Average function: The function calculates the average value of the list of arguments

- Function Count : Count values ​​in the list of arguments

- Max : Returns the largest value in the list of arguments

- Min : Returns the smallest value in the list of arguments

Example : Using the Average function

Enter the values ​​shown below from B1 to B5, select cell B6 to enter the formula

MS Excel - Lesson 5: Excel formulas and functions Picture 3

- Click the down arrow next to the AutoSum icon on the Standard toolbar and select the Average function from that menu.

- If the area is selected correctly, press the Enter key. If the selection is not correct, select (click or drag) the area you want with the mouse and press the Enter key

- Results are shown in cell B6. You can use the above method to apply to other functions like Sum, Max, .

Excel formulas and functions are a special feature in Microsoft Excel. It is really important and you can master it.

4 ★ | 1 Vote

May be interested

  • Common calculation functions in Excel, formulas and examplesCommon calculation functions in Excel, formulas and examples
    common calculation functions in excel not only help you process data quickly but also increase the accuracy of calculations. let's learn about the sum, average, max, min functions with free download to improve work efficiency.
  • How to use the IFS function in Excel 2016How to use the IFS function in Excel 2016
    the ifs function in excel is a logical function introduced in excel 2016. this function is a function that replaces the nested if function and is much easier to use. the ifs function checks one or more conditions and returns a value that meets the first true condition.
  • How to lock formulas in Excel - Protect excel formulasHow to lock formulas in Excel - Protect excel formulas
    when sharing excel files, if you don't want others to edit the formulas or view the formulas, you can lock the formulas.
  • How to fix the SUM function doesn't add up in ExcelHow to fix the SUM function doesn't add up in Excel
    in the process of summing with sum in excel, you will encounter some errors such as not jumping the number, not adding the sum. so how to handle this problem?
  • MS Excel 2007 - Lesson 6: Calculation in ExcelMS Excel 2007 - Lesson 6: Calculation in Excel
    excel supports many calculation functions, logic functions for calculating, filtering, collating and analyzing data. this is also a feature that makes excel an indispensable tool for office jobs. in this article, tipsmake.com will show you how to use the overview calculation function in excel 2007.
  • Notes when typing formulas to avoid typing errors in ExcelNotes when typing formulas to avoid typing errors in Excel
    when entering the calculation formula using the functions in excel, sometimes you cannot find the error because of error. the following article gives detailed instructions on how to avoid entering corrupted formulas in excel.
  • What is ### error in Excel? how to fix ### error in ExcelWhat is ### error in Excel? how to fix ### error in Excel
    ### in excel is an error that excel frequently encounters and appears in many different cases when we enter data in excel, functions in excel, enter formulas in excel or when displaying results.
  • How to display formulas and print formulas in ExcelHow to display formulas and print formulas in Excel
    display formulas and print formulas in excel so you can see the formula directly in the data cell, not see the results anymore. to be able to display and print the formula so please follow the instructions below of tipsmake.com.
  • How to Copy Formulas in ExcelHow to Copy Formulas in Excel
    the excel program has a feature that makes it easy for users to copy formulas for entire rows or columns, but you don't always get the results you want. when you receive results that are not as expected or encounter #ref and /div0 errors, you will definitely feel unhappy. don't worry, though - you don't need to edit every cell in a 5,000-line spreadsheet. this article will provide some simple ways to help you copy formulas to other cells.
  • Guidance on how to align Excel correctlyGuidance on how to align Excel correctly
    many acquaintances manually align excel margins, adjust alignment margins, and forget how to set alignment in excel. in this article, network administrator will show you how to align standard in excel.