Lab Manual
Lab Manual
Objective: Familiarize students with the basic components and functionalities of spreadsheets.
Instructions:
3. In cells A1 to C1, enter the following headers: "Item," "Quantity," and "Price."
4. Enter 10 rows of random data (e.g., different items, quantities, and prices). Ensure that every
student uses different data by generating random numbers for quantities and prices.
o For example, in cell A2, enter "Apples," in B2 enter a random quantity (between 1 and
10), and in C2 enter a random price (between $1 and $20).
5. Adjust the font size and style of headers, align cells, and merge cells A1 to C1.
Expected Outcome: Students should be able to create and format a basic table in a spreadsheet.
Instructions:
o Font Formatting: Change the font of the headers to bold and increase the size.
o Cell Alignment: Center-align the headers and right-align the quantity and price columns.
o Heat Map: Apply a heat map to the "Quantity" column where higher quantities are
shown with darker colors.
Expected Outcome: Students should be able to use various formatting tools to enhance data
presentation.
Instructions:
1. Calculate the total value of each item by multiplying quantity and price. In column D, use a
formula to compute this for each row.
2. In cell D7, use the SUM function to get the total value of all items.
3. Use the AVERAGE function in cell D8 to find the average value of the items.
Expected Outcome: Students should be able to apply basic formulas and functions to compute totals,
averages, and counts.
Instructions:
1. Use an IF formula to categorize items based on their price. For example, in column E, use a
formula to display "Expensive" if the price is greater than $10, otherwise "Affordable."
2. Use LOOKUP, VLOOKUP, HLOOKUP, XLOOKUP to find the price of a specific item from a list.
Create a lookup table in cells G1
with random items and prices. In cell F1, use VLOOKUP to find the price of an item entered in cell E1.
Expected Outcome: Students should be able to use advanced formulas and functions like IF and
VLOOKUP effectively.
Instructions:
1. Use the table from Lab 1 to create a bar chart representing the "Quantity" of each item.
2. Customize the chart by adding data labels, changing colors, and adjusting the chart title.
Expected Outcome: Students should be able to create and customize bar charts for data visualization.
Instructions:
2. Add a trendline to the chart and customize its color and style.
Instructions:
2. Customize the pie chart by adjusting colors, adding data labels, and changing the chart title.
Expected Outcome: Students should be able to create and customize pie charts for effective data
visualization.
Instructions:
Expected Outcome: Students should be able to create and use PivotTables and PivotCharts for data
analysis.
Instructions:
1. Set up data validation for the "Quantity" column to ensure only whole numbers between 1 and
100 are entered.
Expected Outcome: Students should be able to use data validation and protection features to ensure
data integrity.
Instructions:
2. Use the INDEX and MATCH functions to find the price of an item entered in a separate cell.
Expected Outcome: Students should be able to use INDEX and MATCH functions for more flexible
lookups compared to VLOOKUP.
Instructions:
1. Using the data from Lab 1, calculate the total quantity and total price for items where the price is
greater than $10 using SUMIFS.
2. Count the number of items with a quantity greater than 5 using COUNTIFS.
Expected Outcome: Students should be able to use SUMIFS and COUNTIFS for conditional summing and
counting.
Instructions:
2. Use the Scenario Manager to analyze how different scenarios affect the total value of all items.
Expected Outcome: Students should be able to perform What-If Analysis to understand the impact of
different scenarios on data.
Objective: Use Excel’s Forecast Sheet tool to project future trends based on historical data.
Instructions:
2.
3. Create a data table with historical data that includes dates and corresponding values. For
example:
Date Sales
2018 500
2019 650
2020 700
2021 800
2022 750
2023 850
4. Select the data range including the Date and Sales columns.
8. Set the Forecast End Date to define how far into the future the projection should go.
9. Click Create to generate a new worksheet with the forecasted data and chart.
Expected Outcome: Students will be able to create a Forecast Sheet in Excel, allowing them to visualize
projected trends based on historical data and make informed decisions.
Objective: Learn how to use Slicers and Timelines in Excel to filter data interactively in PivotTables and
PivotCharts for more dynamic data analysis.
Instructions:
1. Open a new Excel workbook and create a data table that contains various categories, dates, and
values.
2. Highlight the entire data range and go to the Insert tab on the Ribbon.
3. Click on PivotTable and choose where you want to place the PivotTable (e.g., in a new
worksheet).
8. Adding a Slicer
9. With the PivotTable selected, go to the PivotTable Analyze tab on the Ribbon.
11. In the Insert Slicers dialog box, check the box for Category (or any other column you'd like to
filter by).
12. Click OK to insert the Slicer. Now you can click on different categories in the Slicer to filter the
PivotTable data interactively.
16. In the Insert Timelines dialog box, check the box for Date.
17. Click OK to insert the Timeline. You can now use the Timeline to filter data by specific months,
quarters, or years.
18. Drag the Timeline handles to filter the data for the selected date range, and watch the PivotTable
update instantly.
Expected Outcome: Students will be able to use Slicers and Timelines in Excel to create interactive filters
for PivotTables, making data analysis more dynamic and visually intuitive. They will understand how to
filter large datasets efficiently using visual tools.
Objective: Learn how to use Excel’s Flash Fill feature to quickly format or extract data based on patterns
without using complex formulas.
Instructions:
2. Enter sample data in Column A that contains unformatted or combined information. For
example:
3. You want to separate the first name, last name, and phone number into different columns.
7. Press Enter.
8. In Cell B3, begin typing the next first name (e.g., "Jane"). Excel should recognize the pattern and
offer a preview.
9. If Excel correctly detects the pattern, press Enter to apply Flash Fill to the rest of the column
automatically.
11. In Column C, type the last name of the first entry (e.g., "Doe" in C2).
13. In Cell C3, start typing the next last name (e.g., "Smith"). Excel should detect the pattern.
16. In Column D, type the phone number of the first entry (e.g., "123456789" in D2).
18. In Cell D3, begin typing the next phone number. Excel should recognize the pattern.
21. Flash Fill can also be used to format data. For example, if you want the phone numbers to be
formatted like (123) 456-789, type the desired format in D2.
22. Begin typing the format for the next entry, and Excel will detect the pattern.
Expected Outcome: Students will be able to use Flash Fill in Excel to quickly manipulate and format data
based on detected patterns, significantly speeding up data entry and formatting tasks without the need
for formulas.
Objective: Learn how to use the `CONCATENATE` function (or `CONCAT`) in Excel to combine text from
multiple cells into a single cell efficiently.
Instructions:
2. In **Columns A** and **B**, enter some example data that you want to combine:
| **A** | **B** |
| John | Doe |
| Jane | Smith |
| Alex | Johnson |
| Emily | Davis |
3. You want to combine the first name from **Column A** and the last name from **Column B** into a
single cell with a space in between.
1. In **Column C**, enter the formula to combine the first and last names:
- This formula combines the content of **A2** and **B2**, adding a space `" "` between them.
2. Press **Enter** to see the result, which should be "John Doe" in **C2**.
3. Drag the formula from **C2** down to the rest of the cells (e.g., C3, C4, etc.) to apply the formula to
all rows.
1. You can also use `CONCAT`, a simpler version of `CONCATENATE` available in newer versions of Excel:
1. `TEXTJOIN` allows you to specify a delimiter and ignore empty cells, making it more powerful than
`CONCATENATE`:
- Press **Enter**.
- The formula combines **A2** and **B2** with a space as the delimiter and ignores any empty cells.
Step 5: Concatenate Multiple Cells
1. If you have more columns to combine, like a middle name in **Column D**, you can extend the
formula:
- Or use `TEXTJOIN`:
Expected Outcome: Students will understand how to use the `CONCATENATE`, `CONCAT`, and `TEXTJOIN`
functions in Excel to merge text from different cells into a single cell, with or without delimiters,
enhancing their data formatting capabilities.