FMO-Tut-6-Group-4
FMO-Tut-6-Group-4
--------oOo-------
1. SUMPRODUCT .................................................................................................................................. 4
2. IF………………………………………………………………………………………………………5
3. SUMIF ................................................................................................................................................. 5
4. AVERAGEIF....................................................................................................................................... 7
5. COUNTIF ............................................................................................................................................ 8
6. COUNT ............................................................................................................................................... 8
7. COUNTA .......................................................................................................................................... 10
9. VLOOKUP ........................................................................................................................................ 12
13. VALUE.............................................................................................................................................. 18
4. Advanced functions/techniques
24 Depreciation 28 Goal Seek Bid Price
25 NPV 29 Pivot Table
26 IRR 30 Conditional Formatting
27 Goal Seek Break Even Unit 31 Remove Duplicates
1. SUMPRODUCT
a. Syntax: = SUMPRODUCT(array1, [array2], [array3], ...)
b. Usage: SUMPRODUCT function returns the sum of the products of corresponding ranges
or arrays. The default operation is multiplication, but addition, subtraction, and division are
also possible
c. Example:
Steps:
Output section:
Click on D15 then put the formula
=SUMPRODUCT(D9:D11;E9:E11)
to get the result
d. Note:
- The array arguments must have the same dimensions. If they do not, SUMPRODUCT
returns the #VALUE! error value.
- For best performance, SUMPRODUCT should not be used with full column references
- SUMPRODUCT treats non-numeric array entries as if they were zeros.
2. IF
a. Syntax: = IF(logical _test, [value_if_true], [value_if_false])
b. Usage: IF function allows you to make logical comparisons between a value and what you
expect
c. Example:
Steps:
Make a table for data of Customer
name and Purchase value for each.
Output section:
Click on D26 then put the formula
=IF(C26>$B$19;$C$19;IF(C26>$B$18
;$C$18;IF(C26>$B$17;$C$17;$C$16))
) to get the result
3. SUMIF
a. Syntax: = SUMIF(range, criteria, [sum_range])
b. Usage: SUMIF function help you to sum the values in a range that meet criteria that you
specify
c. Example:
Steps:
Output section:
Click on E19 then put the formula
=SUMIF(C9:C15;C9;E9:E15) to get
the result
- Range (Required): The range of cells that you want evaluated by criteria. Cells in each
range must be numbers or names, arrays, or references that contain numbers. Blank and
text values are ignored
- Criteria (Required): The criteria in the form of a number, expression, a cell reference,
text, or a function that defines which cells will be added. Wildcard characters can be
included - a question mark (?) to match any single character, an asterisk (*) to match any
sequence of characters. If you want to find an actual question mark or asterisk, type a tilde
(~) preceding the character
- Sum_range (Optional): The actual cells to add, if you want to add cells other than those
specified in the range argument. If the sum_range argument is omitted, Excel adds the cells
that are specified in the range argument
4. AVERAGEIF
a. Syntax: = AVERAGEIF(range, criteria, [average_range])
b. Usage: AVERAGEIF function returns the average (arithmetic mean) of all the cells in a
range that meet a given criteria.
c. Example:
Steps:
- Range (required): One or more cells to average, including numbers or names, arrays, or
references that contain numbers
- Criteria (required): The criteria in the form of a number, expression, cell reference, or text
that defines which cells are averaged
- Average range (optional): The actual set of cells to average. If omitted, range is used
Remarks
- If range is a blank or text value, AVERAGEIF returns the #DIV0! error value.
- If a cell in criteria is empty, AVERAGEIF treats it as a 0 value.
- If no cells in the range meet the criteria, AVERAGEIF returns the #DIV/0! error value.
- You can use the wildcard characters, question mark (?) and asterisk (*), in criteria. A
question mark matches any single character; an asterisk matches any sequence of
characters.
- If you want to find an actual question mark or asterisk, type a tilde (~) before the character.
5. COUNTIF
a. Syntax: = COUNTIF(range,criteria)
b. Usage: COUNTIF function is used to count the cells that match specified
c. Example:
Output section:
6. COUNT
a. Syntax: = COUNT(value1, [value2], ...)
b. Usage: COUNT function is used to count the number of cells that contain numbers, and
counts numbers within the list of arguments. Use the COUNT function to get the number
of entries in a number field that is in a range or array of numbers.
c. Example:
Steps:
Calculation section:
By changing number 2 by 3
or 4, you can get salary in
March or April. Press Ctrl +D
for results of below rows
Output section:
Click on C38 then put the
formula
=COUNT(C23:C32) to get the
result
b. Usage: COUNTA function is used to count the number of cells that are not empty in a
range
c. Example:
Steps:
Output section:
Click on E17 then put the
formula
=COUNTA(E9:E13) to get the
result
d. Note:
- The COUNTA function counts cells containing any type of information, including error
values and empty text ("").
- For example, if the range contains a formula that returns an empty string, the COUNTA
function counts that value. The COUNTA function does not count empty cells.
- If you do not need to count logical values, text, or error values (in other words, if you want
to count only cells that contain numbers), use the COUNT function.
- If you want to count only cells that meet certain criteria, use the COUNTIF function or the
COUNTIFS function.
8. LEFT, RIGHT, MID
8.1. LEFT
a. Syntax: =LEFT(text,[num_chars])
b. Usage: It is used to extract a specified number of characters from the left side of the text
8.2. RIGHT
a. Syntax: =RIGHT(text,[num_chars])
b. Usage: It is used to extract a specified number of characters from the right side of the text
8.3. MID
a. Syntax: =MID(text,start_num,num_chars)
b. Usage: It is used to extract a specified number of characters from the middle of the text
c. Example:
Steps:
a. Syntax:
=VLOOKUP(lookup_value,table_array,col_index_num,[range_lookup])
b. Usage: VLOOKUP stands for Vertical Lookup. It can be used anytime you have a
list of data with the key field in the leftmost column
c. Example
Objective: Fill in comments according to Input section:
the categories
Steps:
Output section:
d. Note:
- Appropriate match – 1/TRUE
- Exact match – 0/FALSE
10. INDEX
b. Usage: To return the reference of the cell at the intersection of a particular row and
column. If the reference is made up of non-adjacent selections, you can pick the selection
to look in.
c. Example:
Objective: Search for decision of Input section:
excluding/including the items from
current earnings for forcasting purpose
base on probility of recurring and
materiality
Steps:
Make a reference table for rate of
probility of recurring, rate of materiality
Output section:
Click on D12 then type
=INDEX($D$8:$F$10,E12,E13) to get
the result
d. Note
- After reference and area_num have selected a particular range, row_num and column_num
select a particular cell: row_num 1 is the first row in the range, column_num 1 is the first
column, and so on. The reference returned by INDEX is the intersection of row_num and
column_num.
- If you set row_num or column_num to 0 (zero), INDEX returns the reference for the entire
column or row, respectively
- Row_num, column_num, and area_num must point to a cell within reference; otherwise,
INDEX returns a #REF! error. If row_num and column_num are omitted, INDEX returns
the area in reference specified by area_num.
- The result of the INDEX function is a reference and is interpreted as such by other
formulas. Depending on the formula, the return value of INDEX may be used as a
reference or as a value. For example, the formula CELL("width",INDEX(A1:B2,1,2)) is
equivalent to CELL("width",B1). The CELL function uses the return value of INDEX as a
cell reference. On the other hand, a formula such as 2*INDEX(A1:B2,1,2) translates the
return value of INDEX into the number in cell B1.
11. AGGREGATE
b. Usage: The AGGREGATE function can apply different aggregate functions to a list or
database with the option to ignore hidden rows and error values.
c. Example:
Steps:
Make a data table for the
number of student, name, class and
tuition fee
Output Section:
Click on E23 then type
=AGGREGATE(9,7,E8:E21)
12. MATCH
b. Usage: The MATCH function can search for a specified item in a range of cells, and then
returns the relative position of that item in the range.
c. Example:
Example 1
Steps:
Example 2
Steps:
Click on D28 then type
=MATCH(D27,D17:D24,0)
d. Notes:
Match_type Behavior
a. Syntax: =VALUE(text)
b. Usage: The VALUE function make the text enclosed in quotation marks or a reference to a
cell containing the text you want to convert into number.
c. Example:
Steps:
Make the data table for the
product, quantity, unit price.
Make a reference table for discount
policy
Output Section:
Click on F19 then type
=VLOOKUP(VALUE(RIGHT(C19,1)
),$B$6:$C$9,2,0) and copy the formula
range down
14. DEPRECIATION
a. Syntax:
b. Usage: SNL calculate the depreciation per period based on the straight-line method with
(without) the salvage value
DDB calculate the depreciation per period based on the double declining balance method
with (without) the salvage value at the rate of depreciation equal 2 over useful life
c. Example:
Steps: Input section:
Output section:
Click on C11 then put the formula
=SLN($C$6,$C$7,$C$8) to get the
result
d. Note:
- Depreciation is the value per period. This is the same for straight line method (SLN) but
the double declining method (DDB).
15. NPV
a. Syntax: = NPV(rate,value1,[value2],...)
b. Usage: NPV function is used for decision making and project evaluation. Estimate net
present value of project in both case equal and unequal cash flow
c. Example:
Steps:
d. Note:
(2) Value1, value2, ... : Value1 is required, subsequent values are optional. 1 to 254
arguments representing payments and earnings. Value1, value2 etc. must be equally spaced
and occur at the end of each period. The NPV function uses the order of value1, value2 and
so on. to interpret the order of cash flows. Make sure you enter your payment and earnings
values in the correct order.
(3) Arguments that are blank cells, logical values or text representations of numbers,
error values, or text that cannot be converted to numbers are ignored. If the argument is an
array or reference, only the numbers in that array or reference are counted. Empty cells,
logical values, text, or error values in arrays or references are ignored.
(4) The NPV investment begins one period before the date of the value cash flow 1
(period 1) and ends with the last cash flow on the list (period 8). The calculation of NPV is
based on future cash flows. If your first cash flow occurs at the beginning of the first
period (period 0), the first value must be added to the resulting NPV, not the value
arguments.
16. IRR
a. Syntax: = IRR(value; [guess])
b. Usage: IRR function returns the internal rate of return for a series of cash flows expressed
numerically in values.
c. Example:
Calculation section:
Compute the operating cash
flow for 8 periods
Output section:
Click on C25 then put the
formula =IRR(C21:K21)
d. Note:
(1) Values (Required). An array or cell reference that contains the numbers for which you
want to calculate the internal rate of return. The values must contain at least one positive
value and one negative value for the internal rate of return to be calculated. The IRR
function uses the order of values to interpret the order of cash flows. Make sure you enter
your payment and earnings values in the order you want. If an array or reference argument
contains text, logical values, or empty cells, these values are ignored.
(2) Guess (Options). A number that you would guess is close to the outcome of the IRR.
(3) The IRR function is closely related to NPV, the net present value function. The rate of
return calculated using the IRR is the rate that corresponds to a net present value of 0
(zero).
a. Usage: To adjust the value of the component at which the cell the contain that component
will have the target value
b. How to use:
Guideline
1. Apply the formula for the cell that you want to change the value. In here is the NPV
formula
3.1 For set cell: select the cell that contain formula
3.2 For to the value: insert target value for set cell
3.3 For by changing cell: select the cell that need to adjust to meet the target value
Shortcut
c. Example:
Objective: Estimate the financial
and accounting break-even point
for quantity of unit sold.
Output section:
d. Note:
(1) The cell in Set must contain the formula linking to the cell in By changing cell
(2) The cell in By changing cell must not contain formula but a numeric value or let blank
18. GOAL SEEK – BID PRICE
a. Usage: To adjust the value of the component at which the cell the contain that component
will have the target value.
b. Application: Estimate the bid price above it the firm add value to the shareholder or NPV
excesses 0.
c. How to use:
Guideline
1. Apply the formula for the cell that you want to change the value. In here is the NPV
formula
3.1 For set cell: select the cell that contain formula
3.2 For to the value: insert target value for set cell
3.3 For by changing cell: select the cell that need to adjust to meet the target value
Shortcut
d. Example:
Objective
Calculation section:
Choose the cell as in the shortcut.
Click on OK to get the result.
Output section:
19. ROUND
a. Syntax: =ROUND(number, num_digits)
b. Usage: ROUND function help you to rounds a number to a specified number of digits.
c. Example:
Output section:
Click on H6, I6, J6, K6 then put
the formula
=ROUND(G6;2)
=ROUND(G6;0)
=ROUND(G6;-2)
=ROUND(G6;-3)
- Num_digit: the number of digits to which you want to round the number argument
20. EDATE
a. Syntax: =EDATE(Start_date,months)
b. Usage: EDATE calculate the ending date from a given starting date and the gap between.
The gap is number of the month.
c. Example:
Output section:
Click on D19 then put the
formula
=EDATE(Start_date,months)
=EDATE(B7,C7)
b. Usage: WORKDAY.INL returns the serial number of the date before or after a specified
number of workdays with custom weekend parameters function is used to count the cells
that match specified
c. Example:
Output section:
Click on F18 then put the
formula
=WORKDAY.INTL(D18,E18,1,$
I$6:$I$19) to get the result
b. How to use:
Guideline
2. Auditor/ Copied to show the cell having the same formula and number format in the
same kind of color
Shortcut
c. Example:
Output section:
Blue: same function
=WORKDAY.INTL()
Yellow: same function
=IF(MONTH()=2;;)
Red: same function
=IF(MONTH()=3;;)
Green: same function
=IF(MONTH()=4;;)
Violet: same function
=SUM()
b. How to use:
Guideline
Shortcut
c. Example:
Output section:
b. How to use:
Guideline
2. Auditor/ Type to show the cell having the same type in the same kind of color
correspoding the note box
Shortcut
c. Example:
Output section:
Green: Input cell: contain
data but the function.
Yellow: Working cell:
contain function but the final
result.
Orange: Output cell: contain
function and the final result.
b. How to use:
Guideline
2. AuDItor/ Type to show the cell having the same type in the same kind of color
correspoding the note box
Shortcut
c. Example:
Output section:
Yellow: same function
=COUNTA()
a. Usage: To get information about Workbook size, Worksheet Size and some potential
problems.
b. How to use: Worksheet Reports provides users information about cells, its formats,
comments and dependency references in a new formatted worksheet.
Guideline
Shortcut
c. Example:
Output section:
Workbook summary
will be in a new
sheet looking like
this.
Worksheet summary
will be in a new
sheet looking like
this.
d. Note
- Worksheet Information provides information about sheet size, the number of references to
sheets on the some workbook and to sheets on other workbooks.
- Potential problems and tips present information of common problems and how to solve it.
- Copied formulas are copied with Copy and Paste commands. If the percentage of cells with
copied formulas is high (> 50%).
27. PIVOT TABLE
a. Usage:
- Pivot table technique summarizes data, analyze, explore, and present summary data
through a table called Pivot table. Unique values in any column of a table are listed, and
allow you to easily see comparisons, patterns, and trends.
- Allowing the user to filter, sort, and drill down data in the reports without writing any
formulas or macros.
- Rearranging the table easily by transposing data (i.e., moving rows to columns or columns
to rows)
b. Example
Steps:
Click on Insert
PivotTable Select data range
B1:E135 Click New
Worksheet
Select Store, Product and
Purchase value in the
appropriate section
Objective 2:
Output section 1:
Everything is constant, finding
top 5 potential customer to send
the voucher after 20-hour-
discount program.
Steps:
Output section 2:
c. Note:
- We need to name each data column really clearly to avoid the misleading when creating
the Pivot table
- We also are required to check and remove redundant or blank data lines to complete the
most optimal efficiency Pivot.
- Put the right data in the right fields in the Pivot Fields to create the most useful Pivot table.
a. Usage: A tool used to highlight values in cells to help viewers identify data quickly by
changing the color, icon, data bar and color scale of the cell according to a conditional
formatting rule.
b. Example:
Steps:
Making a Pivot Table with the same
input like previous part
In Home, click to Conditional
Formatting. Selecting the apple rule that
is the total sale of both store in the
created pivot table C31:D31
Output section 1:
Objective 2:
Steps:
Output section 2:
c. Note:
- Before determining the design (color, font,…) of the data, it is necessary to determine the
correct format type.
b. Example:
Objective: Input section:
Steps:
Go to Data/Data Tools/Data Validation
Settings tab/Allow:
Select the cell(s) you want to create a
rule for, B6:B117
Output section:
Using Vlookup function to find the
appropriate information of that customer:
b. Example
Steps:
Output section:
c. Notes
- Users must make a copy of that data before performing the next steps, avoiding doing the
task in this original data.
31. FIND & REPLACE
a. Usage
- FIND: To search for something in your workbook, such as a particular number or text
string.
b. Example
Steps:
Output Section:
c. Notes
- Selecting the value need to be found before opening the Find and Replace dialog box.
- To quickly find all cells with formulas, regardless of formula search results, click Find &
Select > Formulas