Basic common calculation functions to know in Excel
A. THE USE OR USE
1. Left function
- Syntax: LEFT (text, number of characters to get) .
- Meaning: Returns the number of characters to start from the first character on the left.
- Example: LEFT ("TipsMake.vn", 8) = "thuthuat".
2. VLOOKUP function
- Syntax: VLOOKUP (lookup value, lookup table, return value column, lookup type) .
- For example:
Detector value: bar code column.
Table: TRA TABLE 1.
Return value: column name of company.
Detection type: Leave the value = 0 (accurate detection).
3. LEN function
- Syntax: LEN (text) .
- Meaning: Returns the number of characters in a string.
- Example: LEN ("TipsMake.vn") = 18.
4. MID function
- Syntax: MID (character string, starting position, number of characters to be taken) .
- Meaning: Returns the substring of a character in a given string starting at a certain position.
- Example: MID ("TipsMake.vn", 9, 9) = "phanmem.vn".
5. RIGHT function
- Syntax: RIGHT (text, number of characters to get) .
- Meaning: Returns the number of characters to start from the first character on the right.
- Example: RIGHT ("TipsMake.vn", 10) = "phanmem.vn".
6. The VALUE function
- Syntax: VALUE (text) .
- Meaning: Bringing string values as numbers into mathematical values.
- Example: Value ("0025") = 25.
7. HLOOKUP function
- Syntax: HLOOKUP (lookup value, lookup table, return value row, lookup type) .
B. GENERAL EXAMPLE
The following data sheet is available:
1. Find the names of the items based on TABLE 1
- Use the Vlookup and Left functions to get the name of the item corresponding to the item code in TABLE 1 .
Enter the formula: Vlookup (Left (B3, 1), $ A $ 13: $ B $ 15, 2, 0) .
2. Find the manufacturer based on the last 2 characters of the product's code
If the last 2 characters are "TN" -> "Domestic". If other characters are found in TABLE TRA 2 .
Enter the following statement: IF (RIGHT (B3, 2) = "TN", "Domestic", HLOOKUP (RIGHT (B3, 2), $ F $ 12: $ J $ 13, 2, 0)) .
3. Calculate the unit price based on the first letter of the code and TABLE 1
Results after calculation:
Good luck!
You should read it
- Common calculation functions in Excel
- Summary of trigonometric functions in Excel
- MS Excel 2007 - Lesson 6: Calculation in Excel
- Calculation of percentages in Excel
- How to add computers to Excel
- Common math functions in Excel
- Complete financial functions in Excel you should know
- How to use subtraction in Excel
- Common Excel functions you need to know about accounting
- Instructions on how to create diagonal lines in Excel box
- The 10 most useful but often forgotten functions in excel
- Date time functions in Excel
Maybe you are interested
AMD has surpassed Intel in brand value
SQL way to count NULL and NOT NULL values in a column
Comparing Odroid-N2+ and Raspberry Pi 4: Which option offers better value?
How to receive free gifts from IObit with a total value of nearly 150,000 USD
Write a program to find duplicate values in Python
Write a program to check duplicate values in Python