Module 4
Module 4
• Formula in Excel:
• values: Range of cash flows (including the initial investment).
• guess: Optional estimated return rate (default is 10%).
Key Financial Functions Using Excel
• Example in Excel:
• Calculate the IRR for the following cash flows:
• Initial investment (Year 0): -$5,000
• Year 1: $2,000
• Year 2: $3,000
• Year 3: $1,500.
Key Financial Functions Using Excel
• Steps in Excel:
• 1. Enter cash flows in cells:
• A1: -5000, A2: 2000, A3: 3000, A4: 1500.
• 2. Use the IRR formula:
• =IRR(A1:A4)
• 3. Result: 15%
• (This means the investment yields an annual return of 15%.)
Logical Functions
• 1. IF Function: Performs a logical test and returns a value
if the test is TRUE and another value if FALSE.
Logical Functions
• Formula in Excel:
• condition: The logical test (e.g., A1 > 60).
• value_if_true: The result if the condition is TRUE.
• value_if_false: The result if the condition is FALSE.
Logical Functions
• Example in Excel: Determine whether a student passes a
course (≥60 for pass, <60 for fail):
• Enter a score in cell A1 (e.g., 75).
• Use the formula:
• =IF(A1>=60, "Pass", "Fail")
• Result: "Pass" (if A1 is 75).
Logical Functions
• 2. AND Function: Returns TRUE if all conditions are TRUE;
otherwise, returns FALSE.
Logical Functions
• Formula in Excel:
• condition1, condition2, …: Logical conditions to evaluate.
Logical Functions
• Example in Excel: Check if a person qualifies for a loan (income
> $50,000 AND credit score > 700):
• Enter income in A1 (e.g., 55,000) and credit score in B1 (e.g., 750).
• Use the formula:
• =AND(A1>50000, B1>700)
• Result: TRUE (if A1 is 55,000 and B1 is 750).
Logical Functions
• 3. OR Function: Returns TRUE if at least one condition is TRUE;
otherwise, returns FALSE.
Logical Functions
• Formula in Excel:
• condition1, condition2, …: Logical conditions to evaluate.
Logical Functions
• Example in Excel: Check if a student qualifies for a retest (score
in either Math or English < 60):
• Enter Math score in A1 (e.g., 58) and English score in B1 (e.g., 70).
• Use the formula:
• =OR(A1<60, B1<60)
• Result: TRUE (if A1 is 58 and B1 is 70).
Logical Functions
• 4. Nested IF Function: Use multiple IF statements to handle
more than two conditions.
Logical Functions
• Formula in Excel:
• condition1: First logical test.
• value1: Result if condition1 is TRUE.
• condition2: Second logical test if condition1 is FALSE.
• value2: Result if condition2 is TRUE.
• value3: Result if both conditions are FALSE.
Logical Functions
• Example in Excel: Determine grade categories based on scores:
• A1 contains the score (e.g., 85).
• Grade categories: ≥90 = "A", ≥75 = "B", otherwise = "C".
• Formula:
• =IF(A1>=90, "A", IF(A1>=75, "B", "C"))
• Result: "B" (if A1 is 85).
Lookup and Reference Functions
• 1. VLOOKUP:
• Searches for a value in the first column of a range and returns a
value in the same row from a specified column.
• Formula:
Lookup and Reference Functions
• 1. VLOOKUP:
Lookup and Reference Functions
• 2. HLOOKUP:
• Similar to VLOOKUP but searches for a value in the first row of
a range and returns a value in the same column from a
specified row.
• Formula:
Lookup and Reference Functions
• 2. HLOOKUP:
Lookup and Reference Functions
• 3. INDEX:
• Returns the value of a cell based on a specified row and column
number.
• Formula:
Lookup and Reference Functions
• 3. INDEX:
Lookup and Reference Functions
• 4. MATCH:
• Finds the relative position of a value in a row or column.
• Formula:
Lookup and Reference Functions
• 4. MATCH:
Lookup and Reference Functions
• 5. Combining INDEX and MATCH:
• Use MATCH to find the row/column number and INDEX to
retrieve the corresponding value.
• Formula:
Lookup and Reference Functions
• 5. Combining INDEX and MATCH: