2nd sem excel file
2nd sem excel file
Student
Scenario:
You have a list of 5 students and their marks in 5 subjects. You need to calculate:
Solution:
A company sells 5 products, and you have sales data for January, February, and March. You
need to calculate:
1. Monthly total sales (sum of sales for all products each month).
2. Total sales for each product across 3 months.
Step-by-Step Solution:
D1: Mango
3. Explanation:
o D1: The value to look for ("Mango")
o A2:B6: The table range containing product names and prices
o 2: Column index from which to return the value (Price)
o FALSE: Exact match
4. Result in E1:
2.00
Question 4 - VLOOKUP with Employee Department Lookup
Scenario:
You have an employee list with their IDs and departments. You want to find the department of a
specific employee by ID.
A B C
Employee ID Name Department
101 Alice HR
102 Bob IT
103 Charlie Finance
104 Diana Marketing
105 Evan Sales
Task:
Find the department of Employee ID 104 using VLOOKUP.
Step-by-Step Solution:
E1: 104
3. Explanation:
o E1: The value to look for (Employee ID 104)
o A2:C6: Table array
o 3: Department is in the third column
o FALSE: Exact match
4. Result in F1:
Marketing
Question 5: In Ms Excel Create a Column Chart for Monthly Sales
Scenario:
You have monthly sales data for a product. Create a column chart to visualize the data.
A B
Jan 5000
Feb 4500
Mar 5200
Apr 4800
May 5300
Jun 5100
Step-by-Step Solution:
A B
Company Share %
Company A 25
Company B 20
Company C 15
Company D 30
Company E 10
Step-by-Step Solution:
1. Enter the data into Excel (A1:B6).
2. Select the data range (A1:B6).
3. Go to the Insert tab.
4. In the Charts group, click Insert Pie or Doughnut Chart.
5. Choose the basic 2-D Pie option.
6. Excel will create a pie chart with each company's share represented as a slice.
7. Optional: Add Data Labels by clicking the chart, then clicking Chart Elements (+) and
selecting Data Labels.
Result: A pie chart showing the percentage market share of each company.
Q7 Total Sales by Region and Product data Are following In
excel summarize this data using Pivot Table
Task 1: Create a Pivot Table to show Total Sales by Region and Product.
Steps:
Task 2: Create a Pivot Table to show Total Quantity sold, by Product and Region.
Steps:
A B
Employee Sales ($)
John 5200
Alice 4300
Bob 6000
Diana 4700
Evan 0
Fiona 4900
George #DIV/0!
Helen 5100
Ian 4700
Jane 5600
Step-by-Step Solution
1️ Average Sales ignoring errors
=AGGREGATE(1, 6, B2:B11)
1 = AVERAGE
6 = Ignore error values
B2:B11 = Sales data
14 = LARGE function
2 = Find the second largest value
A B
Employee Sales ($)
John 5200
Alice 4300
Bob 6000
Diana 4700
Evan 3000
Fiona 4900
George 2500
Helen 5100
Ian 4700
Jane 5600
Task:
Use Conditional Formatting to:
Step-by-Step Solution:
Result:
Low performers (sales < $4000) are marked red.
High performers (sales > $5500) are green.
Everyone’s performance is visualized with data bars.
Q 10 In Excel using What-If Analysis tool kindly do Break-
Even & Profit Forecast for Products
Dummy Data
Product Units Sold Unit Price Fixed Cost Variable Cost per Unit
Product A 1000 $20 $10,000 $8
Product B 800 $25 $8,000 $10
Product C 1200 $18 $12,000 $6
Product D 900 $22 $9,000 $9
Task:
Use What-If Analysis (Data Table & Goal Seek) to:
Step-by-Step Solution
Step 1: Calculate Profit
= (Units Sold * Unit Price) - (Fixed Cost + Units Sold * Variable Cost per
Unit)
Goal: Find how many units Product A must sell to reach $15,000 profit.
Goal: See how profit varies if unit price changes from $18 to $26.
Excel will generate a dynamic table showing profit for each price point.