Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
10 views

ANSWERS - End Sem Lab Excel for Data Science

The document outlines the practical exam for the MBA Online 2nd Semester, focusing on Excel skills for data science. It includes three main tasks: using VLOOKUP to find specific values, creating and interpreting Pivot Tables, and generating various charts to visualize data. Each task requires the application of Excel functions and techniques on user-provided datasets.

Uploaded by

praveenalluru
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

ANSWERS - End Sem Lab Excel for Data Science

The document outlines the practical exam for the MBA Online 2nd Semester, focusing on Excel skills for data science. It includes three main tasks: using VLOOKUP to find specific values, creating and interpreting Pivot Tables, and generating various charts to visualize data. Each task requires the application of Excel functions and techniques on user-provided datasets.

Uploaded by

praveenalluru
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

KL Centre for Online Education (COE)

MBA – Online 2nd Semester End-Sem Lab Exam


Academic Year: 2022-2023

22DS5205OJ – Excel for Data Science


END SEM LAB Practical Exam Question Paper

Time: 1:30 Hour Max. Marks: 50

Answer ANY TWO questions. Each question carries 25 Marks.


1) By your own dataset, apply the VLOOKUP to find a specific value of a variable
by using another variable
Applying VLOOKUP to Find a Specific Value
Understanding VLOOKUP
VLOOKUP is a powerful Excel function used to search for a value in the leftmost column of
a table and return a corresponding value from a specified column. It's particularly useful when
you have a table of data and need to find a specific value based on a known criterion.
Example Dataset: Student Grades
Let's assume we have a dataset of student grades in a spreadsheet:
Student Name Math Grade Science Grade
Alice 85 90
Bob 78 82
Charlie 92 88
David 80 75
Goal: Find the Math grade for the student named "Charlie."
Steps:
1. Create a reference cell: In cell E2, enter the student name you want to search for:
"Charlie".
2. Use the VLOOKUP function: In cell F2, enter the following formula:
Excel
=VLOOKUP(E2, A2:C5, 2, FALSE)
o E2: This is the reference cell containing the student name.
o A2:C5: This is the range of cells containing your dataset (adjust the range to
match your data).
o 2: This specifies the column number from which to return the value. In this case,
we want the Math grade, which is in the second column of the dataset.
o FALSE: This indicates that we want an exact match for the search value.
Explanation:
• The VLOOKUP function searches for the value in cell E2 ("Charlie") in the leftmost
column of the range A2:C5.
• Once it finds a match, it returns the value from the second column (Math Grade) of that
row.
Result:
The formula in cell F2 will return the value "92", which is the Math grade for Charlie.
Key Points:
• The VLOOKUP function is case-sensitive. Ensure that the search value and the values
in the leftmost column of the dataset match in terms of capitalization.
• If you want to return a value from a column other than the second, simply change the
number in the third argument of the VLOOKUP function.
• If you want to find an approximate match instead of an exact match, set the fourth
argument to "TRUE".
By following these steps and understanding the VLOOKUP function, you can effectively use
it to find specific values within your datasets based on other criteria.

2) By your own dataset, apply the Pivot Table and write the interpretation of the
data
Creating a Pivot Table and Interpreting the Data
Understanding Pivot Tables
Pivot tables are a powerful tool in Excel that allow you to summarize and analyze large datasets
by rearranging and grouping data. They are particularly useful for identifying trends, patterns,
and relationships within your data.
Example Dataset: Sales Data
Let's assume we have a dataset of sales data:
Region Product Sales Date
North Product A 1000 01/01/2024
South Product B 800 02/01/2024
North Product A 1200 03/01/2024
East Product C 500 01/01/2024
West Product B 700 02/01/2024
Goal: Analyze the total sales for each product by region.
Steps:
1. Select your data: Highlight the entire dataset, including the headers.
2. Insert a PivotTable: Go to the "Insert" tab and click "PivotTable." Choose a location
for the PivotTable.
3. Drag fields to the PivotTable:
o Drag "Region" to the "Rows" area.
o Drag "Product" to the "Columns" area.
o Drag "Sales" to the "Values" area.
4. Choose an aggregation: By default, the "Values" field will be summed. If you need a
different aggregation (e.g., average, count), click the dropdown arrow in the "Values"
area and select the desired function.
Interpretation:
Once you've created the PivotTable, you'll see a summary of your data, organized by region
and product. In this example, the PivotTable might look like this:
Region Product A Product B Product C Grand Total
North 2200 0 0 2200
South 0 800 0 800
East 0 0 500 500
West 0 700 0 700
Grand Total 2200 1500 500 4200
From this PivotTable, you can easily see:
• The total sales for each product in each region.
• The total sales for each product across all regions.
• The total sales for each region across all products.
• The overall grand total of sales.
Additional Tips:
• You can add or remove fields from the PivotTable to change the level of detail in your
analysis.
• You can filter the data in the PivotTable to focus on specific subsets of your data.
• You can add calculated fields to the PivotTable to create new calculations based on
existing data.
By effectively using PivotTables, you can quickly and easily gain valuable insights from your
data.

3) By your own dataset, apply all the suitable charts and graphs
Creating Charts and Graphs Using a Hypothetical Dataset
Dataset: Monthly Sales Data
Month Sales
January 10000
February 12000
March 15000
April 11000
May 13000

Analysis and Visualization:


To analyze this dataset, we can use various charts and graphs to visualize the sales data over
time.
1. Line Chart:
• Purpose: Shows trends over time.
• Steps:
1. Select the "Month" and "Sales" columns.
2. Insert a Line Chart.
• Interpretation: A line chart will visually represent the fluctuations in sales month by
month.
2. Bar Chart:
• Purpose: Compares values across categories.
• Steps:
1. Select the "Month" and "Sales" columns.
2. Insert a Bar Chart.
• Interpretation: A bar chart will display the sales for each month as individual bars,
making it easy to compare the sales figures.
3. Column Chart:
• Purpose: Similar to a bar chart, but with vertical orientation.
• Steps:
1. Select the "Month" and "Sales" columns.
2. Insert a Column Chart.
• Interpretation: A column chart provides a vertical representation of sales data, which
can be useful for certain visualizations.
4. Pie Chart:
• Purpose: Shows the proportion of each category to the whole.
• Steps:
1. Select the "Month" and "Sales" columns.
2. Insert a Pie Chart.
• Interpretation: A pie chart will display the sales for each month as a percentage of the
total sales, providing a visual breakdown of the sales distribution.
5. Area Chart:
• Purpose: Similar to a line chart, but fills the area under the line.
• Steps:
1. Select the "Month" and "Sales" columns.
2. Insert an Area Chart.
• Interpretation: An area chart emphasizes the total amount of sales over time, visually
representing the accumulated sales.
Choosing the Right Chart:
The best chart to use depends on the specific insights you want to convey. Consider the
following factors:
• Data type: Numeric data is suitable for most charts.
• Purpose: Determine whether you want to show trends, compare values, or visualize
proportions.
• Audience: Consider the preferences and understanding level of your audience.
By experimenting with different chart types, you can find the most effective way to
communicate your data and insights.

*******

You might also like