In addition to professional accounting software such as Misa, Fast, Mcom ., Excel is a popular software used in the work of accountants. Mastering the common Excel functions helps accountants save time and effort compared to conventional manual calculations. Today, Software Tips will list and guide readers on how to use some functions commonly used in accounting.
Addition and Subtraction Division
Summation
Syntax = SUM (number1, [number2], .)
Inside:
- SUM : is a function used to calculate totals.
- Number1: is the first argument.
- Number2, .: is the 2nd argument onwards (may or may not).
Arguments can be a data range, a number, a single cell reference, and are separated by commas (,).
Or you can use the plus sign (+) to perform addition.
Subtraction
Syntax: = number1 - number2
Inside:
- Minus sign (-): is a calculation operator used to perform subtraction.
- Number1: the number to be deducted.
- Number2: the minus number.
Number can be a number or the position of a cell containing data.
For example: You type: = 5-2 in cells => the result is 3.
Multiplication
Syntax: = PRODUCT (number1, [number2], .)
Inside:
- PRODUCT : is a function used to multiply factors .
- Number1: is the 1st factor.
- Number2, .: is the second factor onwards (may or may not).
Numbers can be a data range, a number, a single cell reference, and are separated by commas (,).
Or you can use the asterisk (*) to perform multiplication.
For example: You type the formula: = PRODUCT (2,6,9) in a cell => the result is 108.
Division
Syntax: = number1 / number2
Inside:
- The forward slash (/): is the calculation operator used to perform the division operation.
- Number1: is the divided number.
- Number2: is the divisor.
Number can be a number or the position of a cell containing data.
For example: You type in a cell: = 10/3 => the result is 3,33333 .
AVERAGE function
Syntax: = AVERAGE ( number1, [number2], . )
Inside:
- AVERAGE: is the function name used to calculate the average of the arguments.
- Number1: is the first argument.
- Number2, .: is the 2nd argument onwards (may or may not).
Arguments can be a data range, a number, a single cell reference, and are separated by commas (,).
For example: = AVERAGE (1,2,3) => returns 2.
SUBTOTAL function
Syntax: = SUBTOTAL (function_num, ref1, [ref2], .)
Inside:
- SUBTOTAL : is the name of the function used to calculate the displayed lines. The lines hidden by the filter will be ignored.
- Function_num: values 1-11 or 101-111 specify the function to use for subtotals. 1-11 include hidden rows manually, while 101-111 excludes them; Filtered cells will always be excluded.
- Ref1 : is the first named range or reference to which you want to subtotal.
- Ref2 , .: optional values. The range or series is named from 2 to 254 that you want to subtotal for it.
For example, if you want to sum the filtered rows with the Filter tool , in the totals box, use the formula: = SUBTOTAL (9, G3: G12) . Where 9 : is the total requirement, G3: G12 is the data container for which the formula is applied. When we use the filtering tool to request information, the total cell will only add the rows that are filtered.
Total filtered revenue by Hanoi Branch:
Total filtered revenue by Q1 / 2018:
Search function (VLOOKUP and HLOOK UP)
VLOOKUP
Function syntax: = VLOOKUP (lookup_value, table_array, col_index_num, [range_lookup])
Inside:
- VLOOKUP: is the name of the function used to search data vertical (vertical).
- lookup_value: is the value to search
- table_array: is the reference table.
- col_index_num: number of columns in the reference table that need to return the value.
- [range_lookup]: optional argument. Returns an approximate or exact match - only two values are declared as 1 / TRUE (approximate), or 0 / FALSE (exact).
For example, if you have the unit price table to fill out, you use the VLOOKUP function according to the following formula:
Note:
- The first column must contain data to reference.
- The reference region must always be absolute. (Unless you have other requirements).
- If VLOOKUP returns the # N / A error value if the value to look for is not in the reference table. You should check the reference table and supplement the information.
HLOOKUP function
Function syntax: = HLOOKUP (lookup_value, table_array, row_index_num, [range_lookup])
Inside:
- HLOOKUP: is the name of the function used to search data horizontally.
- lookup_value: is the value to search
- table_array: is the reference table.
- row_index_num: number of columns in the reference table that need to return the value.
- [range_lookup]: optional argument. Returns an approximate or exact match - only two values are declared as 1 / TRUE (approximate), or 0 / FALSE (exact).
The way to use HLOOKUP is similar to VLOOKUP, except for HLOOKUP, which searches for data by line.
IF function
Function structure: = IF (Logical_test, [value_if_true], [value_if_false])
Inside:
- IF: is the name of the conditional function will return value 1, if condition is true, and value 2 if condition is false.
- Logical_test: is the reference condition.
- [value_if_true]: optional argument. Is the return value if the Logical_test condition is true. If the user does not enter value_if_true , Excel will return TRUE if the condition is true.
- [value_if_false]: optional argument. Is the return value if the Logical_test condition is false. If the user does not enter value_if_false value , Excel will return FALSE value if the condition is false.
For example, you have the following scoreboard to classify:
- Candidates greater than or equal to 5 points => Do.
- Candidates under 5 points => failed.
We use the formula for cell C2 as; = IF (B2> = 5, "Do", "Slide").
SUMIF and SUMFIS functions
SUMIF function structure: = SUMIF (range, criteria, sum_range)
Inside:
- SUMIF: is the function name used to calculate the total under a required condition.
- Range: is the reference area containing condition data.
- Criteria: a condition that needs to be satisfied.
- sum_range: is the area to sum.
For example: You have the sales table as shown below, and need to calculate the total sales of Hanoi branch, You type the formula into a cell in Excel spreadsheet = SUMIF (B3: B12, "Hanoi Branch", G3 : G12).
SUMIFS function structure: = SUMIFS sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], .)
Inside:
- SUMIFS: is the function name used to calculate the sum of many conditions.
- sum_range: is the area to sum.
- criteria_range1,2,3 .: is the reference area containing the conditional data 1,2,3 .
- Criteria1,2,3 .: is a condition that requires 1,2,3 .
With the above sales example, we need to calculate the sales of Hanoi Branch in the first quarter of 2018, we use the formula: = SUMIFS (G3: G12, B3: B12, "Hanoi Branch", C3: C12 , "1/2018").
AND AND OR functions
Function structure: = AND (Logical1; [Logical2]; [Logical3]; .)
Inside:
- AND: means the function name means AND, and returns the TRUE result when all arguments are true.
- Logical1,2,3 .: Arguments are constants, logical expressions.
Function structure: = OR (Logical1; [Logical2]; [Logical3]; .)
Inside:
- OR: is the name of the function that means OR, and returns the FALSE result when all arguments are false.
- Logical1,2,3 .: Arguments are constants, logical expressions.
Examples distinguish AND and OR:
AND (TRUE, FALSE) = FALSE
OR (TRUE, FALSE) = TRUE.
MIN and MAX functions
Function structure: = MIN ( number 1, number 2, .)
Inside:
- MIN: is the function name used to return the smallest value in the series.
- number 1,2 .: is the number sequence to find the minimum value.
Function structure: = MAX ( number 1, number 2, .)
Inside:
- MAX: is the name of the function used to return the maximum value in the series.
- number 1,2 .: is the number sequence to find the minimum value.
For example: MIN (10,5,16) = 5 and MAX (10,5,16) = 16.
LEFT, RIGHT, MID functions
The LEFT, RIGHT, MID functions allow the user to retrieve some characters from the string.
Syntax:
= LEFT (text, [num_chars]) .
= RIGHT (text, [num_chars]) .
= MID (text, start_num, num_chars).
Inside:
- LEFT: is the name of the function to extract characters from left to right of the text string.
- RIGHT: is the name of the function to extract characters from right to left of the text string.
- MID: is the name of the function that you want to extract characters from start_num that you specify from left to right.
- Text : The text string containing the characters you want to extract.
- Start_num: the number of the character that the MID function starts to retrieve.
- Num_chars : Specify the number of characters you want LEFT / RIGHT to extract. Num_chars must be greater or equal to zero. If num_chars is greater than the length of the text, LEFT / RIGHT returns the entire text. If num_chars is omitted, it is defaulted to 1.
For example, you have the string "TipsMake.VN", you take 5 characters on the left, 5 characters on the right, and 5 characters from the 4th character;
= LEFT ("TipsMake.VN", 5) => the result is: ThuTh;
= RIGHT ("TipsMake.VN", 5) => the result is: em.VN;
= MID ("TipsMake.VN", 4,5) => The result is: Thuat .
TEXT FUNCTION
Syntax: = TEXT (number, format)
Inside:
- TEXT : is the name of the function used to change the display of numbers.
- Number : is the number to be formatted.
- Format : the format code you want to apply.
The TEXT function is used to convert numbers to regular letters, or to format numbers as dates, percentages, currencies, etc.
Here are some common format codes that Software Tips introduces to you:
Format code
Description
Some sample code format
"# .000" :
Rounds the number and represents the 3rd fraction (automatically adds the zero to the missing position).
Example: TEXT (2.7, "#. 000") = 2,700
"#. ##"
Rounds a number and shows it to the 2nd fraction and does not show 0.
For example: TEXT (2,7856, "#. ##") = 2.79
"?????. ??"
Add leading and rounding spaces, representing the 2nd fraction.
For example: TEXT (2.7, "?????. ??")) = ˽˽˽˽2.7
"#, ###. 00"
Use thousands and 2 decimal separators
Example: TEXT (1234567.99, "###, ###, ###. 00") = 1,234,567.99
"$ #, ###. 00"
Add currency format with thousand separator and two decimal places.
Example: = TEXT (1234567.99, "$ #, ###. 00") = $ 1,234,567.99
"% .00"
Add currency format with two decimal places.
For example: = TEXT (2.7, "% .00") =% 270.00
"MM / DD / YY"
Format month / day / year.
For example: TEXT (TODAY (), "MM / DD / YY") = March 7, 19
"H: MM AM / PM"
Time format: minute am / pm.
For example: TEXT (NOW (), "H: MM AM / PM") = 0:41 PM.
Above Software Tips guide you some of the functions commonly used in accounting. Hope this article will be helpful for you. Good luck!