IT Lab Practical File
IT Lab Practical File
Session: 2022-
2023 Subject
Code: KMBN-251
For data analysis, PivotTables are one of the most useful features in
Excel. They can be used to summarize a large amount of data with very
little effort and time.
Assume you own a book store and have 100 books in storage. You sell a
certain % for the highest price of $50 and a certain % for the lower
price of $20.
If you sell 60% for the highest price, cell D10 calculates a total profit of 60 *
$50 + 40 * $20 = $3800.
Create Different Scenarios
But what if you sell 70% for the highest price? And what if you sell 80% for
the highest price? Or 90%, or even 100%? Each different percentage is a
different scenario. You can use the Scenario Manager to create these
scenarios.
4. Type a name (60% highest), select cell C4 (% sold for the highest
price) for the Changing cells and click on OK.
5. Enter the corresponding value 0.6 and click on OK again.
Finally, your Scenario Manager should be consistent with the picture below:
SOLVER
You have the choice of typing the range names or clicking on the cells in
the spreadsheet.
3.Click Max.
4. Enter OrderSize for the Changing Variable Cells.
Result:
To easily compare the results of these scenarios, execute the following steps.
2.Next, select cell D10 (total profit) for the result cell and click on OK.
Result:
Conclusion: if you sell 70% for the highest price, you obtain a total profit of
$4100, if you sell 80% for the highest price, you obtain a total profit of
$4400, etc. That's how easy what-if analysis in Excel can be.
GOAL SEEK
What if you want to know how many books you need to sell for the highest
price, to obtain a total profit of exactly $4700? You can use Excel's Goal Seek
feature to find the answer.
1.On the Data tab, in the Forecast group, click What-If Analysis.
5. Click in the 'By changing cell' box and select cell C4.
6. Click OK.
Result. You need to sell 90% of the books for the highest price to obtain a total
profit of exactly $4700.
DATA VALIDATION
Note: cell B10 contains a SUM function that calculates the sum of the range B2:B8.
2.On the Data tab, in the Data Tools group, click Data Validation.
3.In the Allow list, click Custom.
4. In the Formula box, enter the formula shown below and click OK.
Result. Excel shows an error alert. You cannot exceed your budget limit of
$100.
DATA VALIDATION (DROP-DOWN LIST)
1.On the second sheet, type the items you want to appear in the
drop- down list.
3.On the Data tab, in the Data Tools group, click Data Validation.
Result:
TRACE PRECEDENTS
TRACE DEPENDENTS
1.Select the range A1:A7, hold down CTRL, and select the range C1:D7.
2.On the Insert tab, in the Charts group, click the Column symbol.
1. On the Insert tab, in the Charts group, click the Line symbol.
Result:
PIE CHART
2.On the Insert tab, in the Charts group, click the Pie symbol.
3.Click Pie.
Result:
2.On the Insert tab, in the Charts group, click the Column symbol.
3.Click Clustered Bar.
Result:
SCATTER PLOT CHART
2.On the Insert tab, in the Charts group, click the Scatter symbol.
3.Click Scatter.
Result:
2.On the Insert tab, in the Charts group, click the Column symbol.
3.Click Clustered Column.
COMBINATION CHART
To change the number format of data labels just right click on Chart
and click on Format data labels. Go to the numbers and put the
0.0,“M” in Format Code box.
Change the Vertical Axis number format also. Right click and click on
Format axis. put the 0.0,“M” in Format Code box and click on add.
COMBINATION CHART
Result:
SELECT DATA SOURCE (FORMAT ROWS &
COLUMNS)
2. You can find the three data series (Bears, Dolphins, and Whales) on
the left and the horizontal axis labels (Jan, Feb, Mar, Apr, May and
Jun) on the right.
Result: