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

2nd sem excel file

The document provides step-by-step instructions for various Excel tasks, including calculating total marks and percentages for students, sales data analysis, using VLOOKUP for product pricing and employee department lookup, creating charts for sales and market share, and utilizing Pivot Tables for sales summaries. It also covers the use of the AGGREGATE function for sales data analysis, conditional formatting for visual data representation, and What-If Analysis for profit forecasting. Each task is detailed with formulas and procedures to follow in Excel.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

2nd sem excel file

The document provides step-by-step instructions for various Excel tasks, including calculating total marks and percentages for students, sales data analysis, using VLOOKUP for product pricing and employee department lookup, creating charts for sales and market share, and utilizing Pivot Tables for sales summaries. It also covers the use of the AGGREGATE function for sales data analysis, conditional formatting for visual data representation, and What-If Analysis for profit forecasting. Each task is detailed with formulas and procedures to follow in Excel.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Question 1: Calculate Total Marks & Percentage for Each

Student
Scenario:

You have a list of 5 students and their marks in 5 subjects. You need to calculate:

1. Total marks obtained by each student.


2. Percentage for each student, considering total marks for all subjects is 500.

Solution:

Step 1: Calculate Total Marks

1. Open MS Excel and enter the above data in a worksheet.


2. In cell G2 (for John), type the formula: =SUM(B2:F2)
3. Press Enter.
4. Drag the formula down from G2 to G6 to calculate total marks for all students.

Step 2: Calculate Percentage

1. In cell H2, type the formula to calculate percentage: =(G2/500)*100


2. Press Enter.
3. Drag the formula down from H2 to H6 to get percentages for all students.
4. Format column H as Percentage by selecting it and clicking the % button in the
toolbar.
Question 2: Calculate Monthly and Total Sales for Products
Scenario:

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 1: Calculate Total Sales for Each Product

1. Enter the above data in MS Excel.


2. In cell E2 (for Product A), type the formula: =SUM(B2:D2)
3. Press Enter.
4. Drag the formula down from E2 to E6 to calculate total sales for all products.

Step 2: Calculate Monthly Total Sales

5. In cell B7 (for January), type the formula: =SUM(B2:B6)


6. Press Enter.
7. Drag the formula from B7 to D7 to calculate total sale
Question 3: Basic VLOOKUP to Find Price of a Product
Scenario:
You have a list of products and their prices. You want to find the price of a specific product using
VLOOKUP.

Dummy Data (in cells A1:B6):

Step-by-Step Solution:

1. Place the lookup value (e.g., "Mango") in cell D1.

D1: Mango

2. Use this VLOOKUP formula in cell E1:

=VLOOKUP(D1, A2:B6, 2, FALSE)

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.

Dummy Data (in cells A1:C6):

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:

1. Place the lookup value (Employee ID) in cell E1:

E1: 104

2. Use this VLOOKUP formula in cell F1:

=VLOOKUP(E1, A2:C6, 3, FALSE)

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.

Dummy Data (in cells A1:B7):

A B

Month Sales ($)

Jan 5000

Feb 4500

Mar 5200

Apr 4800

May 5300

Jun 5100

Step-by-Step Solution:

1. Enter the data into Excel (A1:B7).


2. Select the data range (A1:B7).
3. Go to the Insert tab on the Ribbon.
4. In the Charts group, click on Insert Column or Bar Chart.
5. Choose Clustered Column.
6. Excel will insert a column chart showing months on the X-axis and
sales on the Y-axis.
7. Optional: Add chart title, axis titles by clicking on the chart and
using Chart Elements (+).
Result: A clean column chart showing monthly sales performance.

Question 6 : In Excel Create a Pie Chart for Market Share


Scenario:
You have data showing the market share of five companies. Create a pie chart to represent the
data visually.

Dummy Data (in cells A1:B6):

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

Region Product Sales Quantity


East A 300 3
West B 400 4
East A 250 2
North C 500 5
South B 600 6
West A 350 3
South C 700 7
North B 450 4
East C 200 2
West C 650 6

Task 1: Create a Pivot Table to show Total Sales by Region and Product.

Steps:

1. Select your data range (A1:D11).


2. Go to Insert > PivotTable.
3. Place PivotTable in a new worksheet.
4. Drag:
o Region to Rows.
o Product to Columns.
o Sales to Values.
5. Choose Sum of Sales if not selected by default.

Task 2: Create a Pivot Table to show Total Quantity sold, by Product and Region.

Steps:

1. Use the same dataset.


2. Go to Insert > PivotTable.
3. In the PivotTable Field List:
o Drag Product to Rows.
o Drag Region to Columns.
o Drag Quantity to Values.
4. Make sure it shows Sum of Quantity.
Q8 In Excel how we cand use AGGREGATE Function to
Analyze Sales Data
🧾 Dummy Data (in cells A1:B11):

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

Task: Perform the following calculations using the AGGREGATE function

Function Description Task


1 (AVERAGE) Average of Sales Ignore errors and calculate the average
4 (MAX) Maximum Sale Ignore errors and return the maximum
5 (MIN) Minimum Sale Ignore errors and return the minimum
9 (SUM) Total Sales Ignore errors and sum the sales
14 (LARGE) 2nd Highest Sale Find the second highest sale
15 (SMALL) 2nd Lowest Sale Find the second lowest sale

Step-by-Step Solution
1️ Average Sales ignoring errors
=AGGREGATE(1, 6, B2:B11)

 1 = AVERAGE
 6 = Ignore error values
 B2:B11 = Sales data

2️ Maximum Sale ignoring errors


=AGGREGATE(4, 6, B2:B11)

3 Minimum Sale ignoring errors


=AGGREGATE(5, 6, B2:B11)

4️ Total Sales ignoring errors


=AGGREGATE(9, 6, B2:B11)

5️ 2nd Highest Sale


=AGGREGATE(14, 6, B2:B11, 2)

 14 = LARGE function
 2 = Find the second largest value

6️ 2nd Lowest Sale


=AGGREGATE(15, 6, B2:B11, 2)
Q9 : How We perform conditional formatting in Excel
Dummy Data (in cells A1:B11):

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:

1. Highlight sales below $4000 in red.


2. Highlight sales above $5500 in green.
3. Add data bars to visually show sales magnitude.

Step-by-Step Solution:

Step 1: Highlight Sales Below $4000

1. Select range B2:B11.


2. Go to Home > Conditional Formatting > Highlight Cells Rules > Less Than...
3. Enter 4000, choose Light Red Fill with Dark Red Text.
4. Click OK.

🧾 Step 2: Highlight Sales Above $5500


1. With B2:B11 still selected:
2. Go to Conditional Formatting > Highlight Cells Rules > Greater Than...
3. Enter 5500, choose Green Fill with Dark Green Text.
4. Click OK.

Step 3: Add Data Bars

1. Select B2:B11 again.


2. Go to Conditional Formatting > Data Bars > Gradient Fill (choose any color you
like).
3. Data bars will appear in cells to give a visual sense of magnitude.

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:

1. Calculate Profit using the formula:


Profit = (Units Sold * Unit Price) - (Fixed Cost + Units Sold *
Variable Cost)
2. Use Goal Seek to find how many units Product A must sell to reach a profit of $15,000.
3. Use a Data Table to see how Profit changes if Unit Price varies from $18 to $26 for
Product B.

Step-by-Step Solution
Step 1: Calculate Profit

For each product, use this formula in Excel:

= (Units Sold * Unit Price) - (Fixed Cost + Units Sold * Variable Cost per
Unit)

Place this formula in a “Profit” column.

Step 2: Use Goal Seek for Product A

Goal: Find how many units Product A must sell to reach $15,000 profit.

1. Put Product A's profit formula in a cell (say F2).


2. Go to Data > What-If Analysis > Goal Seek.
3. Set Cell: F2
To Value: 15000
By Changing Cell: B2 (Units Sold)
4. Click OK.

Excel will show the required units for $15,000 profit.

Step 3: Use Data Table for Product B

Goal: See how profit varies if unit price changes from $18 to $26.

1. Create a column with prices from $18 to $26.


2. Above that column, write the formula to calculate Product B’s profit (using cell
references).
3. Select the range, go to:
o Data > What-If Analysis > Data Table
4. In the dialog:
o Leave Row Input Cell blank
o Set Column Input Cell to Product B’s Unit Price cell
5. Click OK.

Excel will generate a dynamic table showing profit for each price point.

You might also like