0% found this document useful (0 votes)
9 views

Lab Manual

Uploaded by

s.ranjan4909
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Lab Manual

Uploaded by

s.ranjan4909
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Lab 1: Getting Started with Spreadsheets

Objective: Familiarize students with the basic components and functionalities of spreadsheets.

Instructions:

1. Open Microsoft Excel or Google Sheets.

2. Create a new spreadsheet.

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.

Lab 2: Data Entry and Formatting

Objective: Practice data entry techniques and formatting options.

Instructions:

1. Using the table from Lab 1, apply the following formatting:

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 Conditional Formatting: Apply a color scale to the "Price" column.

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.

Lab 3: Basic Formulas and Functions

Objective: Learn to use basic arithmetic formulas and functions.

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.

4. Use the COUNT function in cell D9 to count the number of items.

Expected Outcome: Students should be able to apply basic formulas and functions to compute totals,
averages, and counts.

Lab 4: Advanced Formulas

Objective: Implement advanced formulas and cell references.

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.

Lab 5: Data Visualization - Bar Charts

Objective: Create and customize bar charts.

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.

Lab 6: Data Visualization - Line Charts

Objective: Create and customize line charts.

Instructions:

1. Create a line chart using the "Price" data from Lab 1.

2. Add a trendline to the chart and customize its color and style.

3. Add data labels and error bars to the line chart.


Expected Outcome: Students should be able to create and customize line charts and add trendlines and
error bars.

Lab 7: Data Visualization - Pie Charts

Objective: Create and customize pie charts.

Instructions:

1. Create a pie chart using the "Quantity" data from Lab 1.

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.

Lab 8: Using PivotTables

Objective: Learn to use PivotTables for data analysis.

Instructions:

1. Create a PivotTable from the data in Lab 1.

2. Arrange fields to summarize the total quantity and price by item.

3. Add a PivotChart to visualize the summary data.

Expected Outcome: Students should be able to create and use PivotTables and PivotCharts for data
analysis.

Lab 9: Data Validation and Protection

Objective: Implement data validation and protection features.

Instructions:

1. Set up data validation for the "Quantity" column to ensure only whole numbers between 1 and
100 are entered.

2. Protect the worksheet so that only certain cells can be edited.

Expected Outcome: Students should be able to use data validation and protection features to ensure
data integrity.

Lab 10: Using INDEX-MATCH


Objective: Use INDEX-MATCH for advanced lookups.

Instructions:

1. Create a table with random item names and corresponding prices.

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.

Lab 11: SUMIFS and COUNTIFS Functions

Objective: Use SUMIFS and COUNTIFS for conditional calculations.

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.

Lab 12: What-If Analysis

Objective: Perform What-If Analysis using scenarios.

Instructions:

1. Create a table with different scenarios affecting item prices.

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.

Lab 13: Forecast Sheet

Objective: Use Excel’s Forecast Sheet tool to project future trends based on historical data.

Instructions:

1. Open a new Excel workbook.

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.

5. Go to the Data tab on the Ribbon.

6. In the Forecast group, click on Forecast Sheet.

7. Choose either a Line Chart or Column Chart to visualize the forecast.

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.

Lab 14: Slicers and Timelines

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).

4. In the PivotTable Fields pane, drag:

5. Category to the Rows area.

6. Date to the Columns area.

7. Sales to the Values area.

8. Adding a Slicer
9. With the PivotTable selected, go to the PivotTable Analyze tab on the Ribbon.

10. Click Insert Slicer.

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.

13. Adding a Timeline

14. With the PivotTable selected, go to the PivotTable Analyze tab.

15. Click Insert Timeline.

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.

Lab 15: Flash Fill

Objective: Learn how to use Excel’s Flash Fill feature to quickly format or extract data based on patterns
without using complex formulas.

Instructions:

1. Open a new Excel workbook.

2. Enter sample data in Column A that contains unformatted or combined information. For
example:

John Doe, 123456789

Jane Smith, 987654321

Alex Johnson, 564738291

Emily Davis, 847362915

3. You want to separate the first name, last name, and phone number into different columns.

4. Use Flash Fill to Extract Data

5. In Column B, enter the desired format for the first entry:


6. Type "John" in B2 for the first name.

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.

10. Separate Last Name Using Flash Fill

11. In Column C, type the last name of the first entry (e.g., "Doe" in C2).

12. Press Enter.

13. In Cell C3, start typing the next last name (e.g., "Smith"). Excel should detect the pattern.

14. Press Enter to apply Flash Fill to the remaining entries.

15. Separate Phone Number Using Flash Fill

16. In Column D, type the phone number of the first entry (e.g., "123456789" in D2).

17. Press Enter.

18. In Cell D3, begin typing the next phone number. Excel should recognize the pattern.

19. Press Enter to automatically fill in the rest.

20. Use Flash Fill for Formatting

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.

23. Press Enter to apply Flash Fill.

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.

Lab 16: CONCATENATE

Objective: Learn how to use the `CONCATENATE` function (or `CONCAT`) in Excel to combine text from
multiple cells into a single cell efficiently.

Instructions:

Step 1: Enter Sample Data

1. Open a new Excel workbook.

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.

Step 2: Use CONCATENATE to Combine Text

1. In **Column C**, enter the formula to combine the first and last names:

- In **Cell C2**, type the formula:

`=CONCATENATE(A2, " ", B2)`

- 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.

Step 3: Use CONCAT (Modern Equivalent)

1. You can also use `CONCAT`, a simpler version of `CONCATENATE` available in newer versions of Excel:

- In **Cell C2**, type:

`=CONCAT(A2, " ", B2)`

- Press **Enter** to see the result.

- The output should be the same as `CONCATENATE`.

Step 4: Use TEXTJOIN for More Flexibility

1. `TEXTJOIN` allows you to specify a delimiter and ignore empty cells, making it more powerful than
`CONCATENATE`:

- In **Cell C2**, type:

`=TEXTJOIN(" ", TRUE, A2, B2)`

- 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:

- In **Cell C2**, type:

`=CONCATENATE(A2, " ", D2, " ", B2)`

- Or use `TEXTJOIN`:

`=TEXTJOIN(" ", TRUE, A2, D2, B2)`

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.

You might also like