Lab 4 Formulas and Functions in Excel
Lab 4 Formulas and Functions in Excel
This laboratory activity will equip you with the fundamental skills of using formulas and
functions in Microsoft Excel to perform calculations and data analysis.
Learning Objectives:
Materials:
Instructions:
1. Launch Microsoft Excel: Locate and open the Microsoft Excel application on
your computer.
2. Entering data:
o If provided, use the sample data set or create your own dataset in your
worksheet.
o Enter data (numbers) into relevant cells.
3. Creating formulas:
o Click on an empty cell where you want the result of your calculation.
o Type the equal sign (=) to indicate the beginning of a formula.
o Enter the desired mathematical operation followed by cell references of
the values you want to calculate with.
o Example: In cell C2, enter the formula =A2+B2 to add the values in cells
A2 and B2. Press Enter to see the calculated result in cell C2.
4. Using Excel functions:
o Excel offers various built-in functions for common calculations.
o Explore some basic functions:
SUM: Adds a range of cells. Example: =SUM(A1:A10) adds the
values in cells A1 to A10.
AVERAGE: Calculates the average of a range of
cells. Example: =AVERAGE(B2:B12) calculates the average of the
values in cells B2 to B12.
COUNT: Counts the number of cells containing numeric
values. Example: =COUNT(C1:C5) counts the number of cells in C1
to C5 that have numerical data.
5. Understanding cell references:
o Formulas rely on cell references to locate the data they operate on.
o Relative references: By default, cell references are relative. When you
copy a formula containing relative references, the references adjust
automatically based on the new position. Example: Copying the
formula =A2+B2 from cell C2 to cell D3 will change it to =A3+B3 due to the
relative nature of the references.
o Absolute references: You can use the F4 key or press Ctrl + F4 to toggle
between relative and absolute references (indicated by a dollar sign $) in a
cell reference. Absolute references remain constant even when copied
and pasted to different locations.
6. Practice and exploration:
o Your instructor might provide additional exercises to practice using
formulas and functions for various calculations and data analysis tasks.
o Experiment with different functions available in Excel and explore their
functionalities using the help section or online resources.
Remember:
Functions Practice
Category Values
Total Items Sold =SUM(B2:B5)
Average Unit Price =AVERAGE(C2:C5)
Highest Sales Amount =MAX(D2:D5)
Lowest Sales Amount =MIN(D2:D5)
Total Discount Given =SUM(F2:F5)