Excel Formulas and Functions: Test Part 1 - Answers
Section 1: Basics of Excel Formulas
1. Formula to calculate the sum of 15 and 20:
=15+20
2. Symbol that all formulas begin with:
=
3. Operator for calculating the square of a number:
^ (e.g., =5^2 for 25)
Section 2: Understanding Cell References
4. Three types of cell references:
○ Relative Reference: Changes when copied (e.g., =A1+B1 adjusts to =A2+B2
when copied down).
○ Absolute Reference: Does not change when copied, using $ to lock
rows/columns (e.g., =$A$1).
○ Mixed Reference: Either the row or column is locked (e.g., =A$1 or =$A1).
5. Formula after copying =A1+$B$1 from C1 to C2:
=A2+$B$1
6. Difference between relative and absolute cell references:
○ Relative references adjust when copied to another cell.
Example: Copying =A1+B1 down one row becomes =A2+B2.
○ Absolute references remain fixed when copied.
Example: =$A$1+B1 keeps A1 constant regardless of where it’s copied.
Section 3: Common Excel Functions
7. Formula to calculate the average of values in cells B1 through B10:
=AVERAGE(B1:B10)
8. Result of =IF(A1<50, "Fail", "Pass") if A1 contains 60:
Pass
9. VLOOKUP formula to retrieve the price of "Banana":
=VLOOKUP(101, A1:C3, 3, FALSE)
Result: $0.50
10. Purpose of the TRIM function:
Removes extra spaces from text.
Example: =TRIM(" Hello ") returns Hello.
Section 4: Creating Your Own Formula
11. Formula to multiply the value in cell A1 by 2 and then add the value in cell B1:
=A1*2+B1
12. Importance of parentheses in formulas:
Parentheses control the order of operations.
Example:
Without parentheses: =A1+B1*C1 (multiplies B1*C1 first, then adds A1).
With parentheses: =(A1+B1)*C1 (adds A1+B1 first, then multiplies the result by
C1).
Section 5: Working with Excel Formulas
13. Common error messages in Excel:
○ #DIV/0!: Occurs when dividing by zero or an empty cell.
○ #N/A: A value is not available.
○ #VALUE!: Incorrect argument type or incompatible data used.
14. Tool to apply the same formula to multiple cells:
AutoFill (drag the fill handle at the bottom-right corner of the cell).
Section 6: Practical Exercise
15. Steps and formulas:
a. Open a new Excel sheet.
b. Enter the numbers 10, 20, 30, 40, and 50 in cells A1 to A5.
c. Formula in cell A6: =SUM(A1:A5)
Result: 150
d. Values:
○ B1: 75
○ B2: 50
○ Formula in B3: =IF(B1>B2, "Pass", "Fail")
Result: Pass
Bonus Questions
16. What ="" represents:
○ An empty string (blank cell or empty value).
○ Useful in conditional formulas, e.g., =IF(A1>10, "Yes", "").
17. Including a double quote inside a text string:
Use two double quotes ("") inside the string.
Example: ="She said, ""Hello!""" displays: She said, "Hello!".