IT PROJECT - 2 Anila
IT PROJECT - 2 Anila
On
To
Session 2023-24
1
Certificate
I, Anila Kumari Enrolment No. _2301520700045 from MBA-II Sem, of Mangalmay Institute of
Management & Technology, U.P. hereby declare that the Mini Project-2 (KMBN 251) entitled
_IT SKILLS 2 is an original work and the same has not been submitted to any other Institute for
the award of any other degree.
Certified that the Mini Project-2 (KMBN 252) submitted in partial fulfillment of Master of
Business Administration (MBA) to be awarded by Dr. A.P.J. Abdul Kalam Technical University
Lucknow by Anila Kumari Enrolment No. _2301520700045 has been completed under my
guidance and is Satisfactory.
2
Table of Content
Assignment 1
3
Pivot Table
A PivotTable is a powerful tool to calculate, summarize, and analyse data that lets you see
comparisons, patterns, and trends in your data. PivotTables work a little bit differently depending
on what platform you are using to run Excel.
What are pivot tables used for?
We know what pivot tables are, but what are they used for? Of course, pivot tables enable data
analysts to summarize large datasets into a concise and meaningful table which can be consumed
at a glance.
Pivot tables are also used to:
group data into categories
count the number of items in each category
sum the items value
compute average, find minimal or maximal value, and so on
How to create a pivot table in Excel
The basic steps for how to create a pivot table in Excel involve:
1. Insert a pivot table
2. Set an intention
3. Create a summary
4. Create a cross table
5. Create a visualization of the cross table
For this tutorial, we have fabricated some fictitious data to show you how to create a pivot table
in Excel with some concrete examples. This data table contains some employee information
about the staff of a tech company in the U.S. Here is what the table’s top rows look like:
There are 9 types of characteristics (columns) in this dataset: First Name, Surname, Gender,
State, Salary, Age, Family status, Occupation and Region, and 1340 rows of observations. We
will now create a pivot table out of this information and see what insights we can draw from it!
Step 1: Insert a pivot table
First step, you should select the entire table (you can easily do this by using the keyboard
shortcut (starting from cell A2) Ctrl+Shft+right arrow+down arrow for Windows). Once the
4
entire table is selected, go to the ribbon above in your Excel and click on the Insert tab. From
there, select PivotTable.
This action will prompt another window, which will show you some options about where you
would like to place your pivot table.
The first highlighted option refers to the range of the selected data you want to use for the pivot
table. The second one asks you whether you would like to insert the pivot table in a new
worksheet or in the existing one. For the purposes of tidy working, putting the pivot table in a
new worksheet.
5
The block surrounded in red is the main menu with pivot functionalities. What options you select
here will determine how your pivot table will eventually look.
Step 2: Set an intention
In order to show a couple of core functionalities in pivot tables, we will focus on the following
three outputs:
Create a summary for salaries across regions in the US
Create a cross table between gender and occupation
Create a visualization of the cross table from the previous step
Step 3: Create a summary
From this list you can pick which columns you need for your analysis. In our case, we need the
column “Region” and the column “Salary”. You can click on them and see them appear in the
second box with layout options, as well as in the left part of your workbook as a pivot table:
6
Let us look more closely at the options we are given:
Values: In this box, you add the columns that you would like to show as an output of the
summary. For our example, this is the Salary column, because we are interested in the salary
figures per region.
Filters: Here you can create a custom filter, which enables you to exclude some parts of your data
and show only the items you find relevant for your analysis.
Columns and Rows: Here you can drag the input columns depending on whether you want them
to appear as columns or rows in the pivot table.
In Rows
In Columns
This will open a dropdown menu where you should select the last option—Value Field Settings.
This will prompt a window, where all of the options for the format of the value are presented:
7
You can see here that the selected option now is Sum, which is why we see the sums of the
salaries in the pivot table. If you change it to Average, this will immediately alter the output in
the pivot table:
8
In order to populate the table, we need to drag the “Gender” column into the “Values” box as
well. Remember, the “Values” section contains the actual numbers that are to be shown in the
pivot table:-
9
Selecting the suggested option will yield this graph:
For this example, we'll be using a very simple set of numbers. We have three quarters' worth of
sales numbers and a yearly goal. We can use Goal Seek to figure out what the numbers need to
be in Q4 to make the goal.
10
Here is how to use Goal Seek, step by step:
Click on Data > What If Analysis > Goal Seek. The Goal Seek window will pop up.
Put the "equals" part of your equation in the Set Cell field. This is the number that Excel will try
to optimize for.
Type your goal value into the to value field. We are looking for a total of 250,000 units sold, so
we'll put "250,000" in this field.
11
Click OK again, and you'll see the value that solves your equation in the cell that you chose
for By changing cell.
12
Make sure the box next to Solver AddIn is checked, and hit OK.
You'll now see the Solver Button in the Analysis Group of the Data tab:
13
Set your cell objective and tell Excel your goal. The objective is at the top of the Solver window,
and it has two parts:
The objective cell and a choice of maximize, minimize, or a specific value.
If you select Max, Excel will adjust your variables to get the largest number possible in your
objective cell. Min is the opposite: Solver will minimize the objective number. Value Of lets you
specify a specific number for Solver to look for.
Choose the variable cells that Excel can change. The variable cells are set with the By Changing
Variable Cells field. Click the arrow next to the field, then click and drag to select the cells that
Solver should work with.
14
Once all of this information is in place, hit Solve to get your answer
How to Set Constraints in Solver
You might tell Excel that one variable has to be greater than 200. When trying different variable
values, Excel won't go under 201 with that particular variable.
To add a constraint, click the Add button next to the constraint list. Then choose an operator.
<= (less than or equal to)
= (equal to)
=> (greater than or equal to)
int (must be an integer)
bin (must be either 1 or 0)
All Different
All Different is a little confusing. It specifies that every cell in the range that you select for Cell
Reference must be a different number. But it also specifies that they must be between 1 and the
number of cells.
So if you have three cells, you'll end up with the numbers 1, 2, and 3 (but not necessarily in that
order).
15
A Solver Example
In it, we have five different jobs, each of which pays a different rate. We also have the number of
hours a theoretical worker has worked at each of those jobs in each week.
We can use the Solver add-in to find out how to maximize the total pay while keeping certain
variables within some constraints. Here are the constraints we will use:
No jobs can fall below four hours.
Job 4 must be greater than 12 hours.
Job 5 must be less than eleven hours.
The total hours worked must be equal to 40.
Here's how we'd set that up in Solver:
16
Firstly, this table contains our current working hours.
And second, see that the values in the greater than and less than constraints are one higher or
lower than what is mentioned above.
To keep the new values, make sure Keep Solver Solution is checked and hit OK.
17
Assignment 2
What is a scenario in Excel?
A scenario in Excel is a data analysis tool you can implement and manage through the
spreadsheet application features. Excel scenarios are useful for forecasting potential values for
budgets, investments, revenues, profits and performance. Creating named scenarios in Microsoft
Excel allows you to save different sets of input values for your data and switch between them
easily to see the impact on your results. This feature is useful for what if analysis.
What are the benefits of creating scenarios in Excel?
● Identifying potential risks and opportunities
● Making better decisions
● Improving communication
How to Create a Scenario in Excel (Step by Step)
1. Take an example
Step 1: Open Excel
18
Step 2: Create a New Worksheet
19
Step 2: Add Scenario:
In the Scenario Manager dialog, click "Add."
20
Step 4: Specify Changing Cells:
Identify the cells that will change for this scenario by selecting them.
21
Step 6: Save the Scenario:
Click "OK" to save the scenario.
22
3. Create Second Excel Scenario
Step 1: To prepare for the Second scenario, change the values in cells B1, B3 and B4, as
shown below
Step 2: Go to the Data Tab, click on "What If Analysis" in the Data tab's menu.
Choose "Scenario Manager" from the "What If Analysis" menu.
23
Step 4: Name the Second Scenario
Give your second scenario a unique name.
24
Step 6: Set Values for the Changing Cells:
Enter the values for the changing cells in this second scenario.
Page No.
Step 7: Save the Scenario:
Click "OK" to save the second scenario.
25
Step 7: Click the OK button, to return Table of Content
26
Step 2: Click "Show":
Once you've selected a scenario, click the "Show" button.
27
5. Add Scenario to Excel Ribbon
Step 1: Customize Ribbon:
Right click on the Ribbon, and click Customize the Ribbon
28
Step 3: Data tools:
In the list of commands that are currently on the Ribbon, click the plus sign for Data, and then
click Data Tools. That group contains the Scenario Manager, so we'll add the new group beside
it.
29
Step 4: Below the list, click the New Group button.
Step 5: Then, click the Rename button, type Scenario as the name for the group, and click
OK
30
Step 6: At the left, in the list of All Commands, scroll down to find Scenario
Make sure that the new Scenario group is still selected in the list at the right.
Click on Scenario, and then click Add, to put Scenario in the Scenario group.
Step 7: Click OK, to close the window, then click the Data tab, and select a Scenario to view
31
6. Click the Add button to add a new scenario.
7. Type a name for the new scenario.
8. Click OK.
32
9. Update any values you want to see for the given scenario.
10. Click OK.
11. Click the Show button.
1. On the Ribbon's Data tab, click What If Analysis, then click Scenario Manager.
2. The Scenario Manager dialog box opens, showing a list of scenarios in the workbook
33
3. In the list of Scenarios, select Marketing
4. Click the Show button
5. Click the Close button.
Edit a scenario
Once a scenario is saved, you can later edit it without the necessity of editing the worksheet and
resaving the scenario. Instead, you use the Scenario Manager to do the editing. Follow these
steps:
1. Choose Scenarios from the Tools menu. Excel displays the Scenario Manager.
2. Highlight the name of the scenario whose values you want to change.
3. Click on the Edit button. Excel displays the Edit Scenario dialog box. (See Figure 1.)
4. Change the name of the scenario, cell range it refers to, or any comments, as desired.
34
5. Click on the OK button. Excel displays the Scenario Values dialog box. (See Figure 2.)
Delete a Scenario
4. Click Delete.
35
A Scenario Summary sheet is added to the workbook.
To show or hide the details, click the + / – buttons at the left side and top of the
worksheet
36
Assignment 3
Validation and Auditing
Data validation in Excel refers to setting specific criteria for accepting data in a cell or range of
cells. This feature prevents users from entering invalid data that could lead to errors in
calculations, reports, and automated processes. For example, you can restrict data entry to a
certain range of numbers, dates, or a list of predefined items, ensuring that data adheres to the
required format and standards.
Auditing
Auditing in Excel refers to the process of tracking and reviewing changes, errors, and
dependencies in your worksheets. This helps identify issues and understand the relationships
between different cells.
37
Steps to Use Auditing Tools:
By using data validation and auditing tools, you can enhance the reliability and transparency of
your Excel worksheets, making them more robust and easier to maintain.
Set, edit validation criteria for data entry in a cell range like: whole number, decimal, list,
date, time
To set and edit validation criteria for data entry in a cell range in Microsoft Excel, follow
these steps:
Setting Data Validation Criteria
1. Select the Cell Range:
Click and drag to select the range of cells where you want to apply data validation.
2. Open the Data Validation Dialog Box:
Go to the Data tab on the Ribbon.
Click on Data Validation in the Data Tools group.
In the dropdown menu, click Data Validation again.
3. Define Validation Criteria:
In the Data Validation dialog box, go to the Settings tab.
Under Allow, choose the type of data you want to allow:
Whole Number: Restricts entries to whole numbers.
Decimal: Restricts entries to decimal numbers.
List: Restricts entries to values from a predefined list.
Date: Restricts entries to dates.
Time: Restricts entries to times.
Criteria for Each Data Type
Whole Number
Data: Choose from criteria such as between, not between, equal to, not equal to, greater than, less
than, etc.
Minimum/Maximum: Enter the minimum and maximum values if you chose "between" or "not
between".
38
Example: Allow only numbers between 1 and 100.
Decimal
Data: Choose from criteria such as between, not between, equal to, not equal to, greater than, less
than, etc.
Minimum/Maximum: Enter the minimum and maximum values if you chose "between" or "not
between".
Example: Allow only decimal numbers between 0.5 and 10.5.
List
Source: Enter a list of valid entries separated by commas or refer to a range containing the list
values.
Example: `Apples, Bananas, Oranges` or `=$A$1: $A$3`.
Example: Allow only the entries "Yes", "No", or "Maybe".
Date
Data: Choose from criteria such as between, not between, equal to, not equal to, greater than, less
than, etc.
Start/End Date: Enter the start and end dates if you chose "between" or "not between".
Example: Allow only dates between 01/01/2022 and 12/31/2022.
Time
Data: Choose from criteria such as between, not between, equal to, not equal to, greater than, less
than, etc.
Start/End Time: Enter the start and end times if you chose "between" or "not between".
Example: Allow only times between 09:00 AM and 05:00 PM.
Editing Validation Criteria
1. Select the Cell Range:
Select the cells with existing data validation rules.
2. Open the Data Validation Dialog Box:
Go to the Data tab on the Ribbon.
Click on Data Validation in the Data Tools group.
In the dropdown menu, click Data Validation again.
3. Edit the Criteria:
Modify the criteria in the Settings tab as needed.
39
Adjust the Input Message and Error Alert if necessary.
4. Apply Changes:
Click OK to apply the changes.
By following these steps, you can set and edit data validation criteria in Excel.
Trace precedent and dependents.
In financial modelling, trace precedents and trace dependents are crucial for understanding the
relationships between variables and formulas. Financial analysts can use these tools to quickly
identify the source of errors in their models and ensure that all inputs and outputs are properly
connected. This is especially important in complex financial models that involve numerous
variables and calculations, where even a small error can have a significant impact on the overall
results
40
Assignment 4
Macros
A macro is a series of commands and actions that can be stored and run whenever you need to
perform a computer task. Use macros to automate actions that you perform repeatedly or on a
regular basis.
You may choose to use macros in Excel for a range of functions. Some of the most common uses
for macro automation can include:
Data management
Pivot tables
Sheet tidying
Workbook management
Creating Macros.
1. Click View > Macros > Record Macro.
41
2. Type a name for the macro.
3. To use this macro in any new documents you make, be sure the Store macro in box says All Documents
(Normal.dotm).
5. Click the new macro (it’s named something like Normal.NewMacros.<your macro name>), and
click Add.
42
6. Click Modify.
7. Choose a button image, type the name you want, and click OK twice.
8. Now it’s time to record the steps. Click the commands or press the keys for each step in the task. Word
records your clicks and keystrokes.
9. To stop recording, click View > Macros > Stop Recording.
43
The button for your macro appears on the Quick Access Toolbar.
To run a macro, click the button on the Quick Access Toolbar, press the keyboard shortcut, or
you can run the macro from the Macros list.
2. In the list under Macro name, click the macro you want to run.
3. Click Run.
44
Assignment 5
45
Creating and formatting charts.
Creating a Chart
1. To create a basic chart in Excel that you can modify and format later, start
by entering the data for the chart on a worksheet
2. Then simply select that data (including titles) and press F11. This
creates an instant column chart in a new tab, which can be customized
to meet your needs.
46
3. Or, instead of pressing F11, go to the Insert tab and select the type of chart you would
like to create.
Formatting Charts
1. Select the chart. This activates the Chart Tools on the Ribbon.
47
Raw data has not changed:
48
2) Bar Chart: - Like a Column Chart. Bar Chart is also used when you want to compare
values across categories; however, this Chart represents values in a horizontal bar.
3) Area Chart: - An Area Chart is used to show a change among various datasets.
4) Line Chart: - It must be used to show trends over a period.
5) Surface Chart: - Choose a Surface Chart when you need to analyse the ideal combination
between data sets.
6) Scatter Chart: - If you want to show similarities among different datasets or compare data
points regardless of the time, use Scatter Charts.
7) Pie Chart: - Use a Pie Chart to quantify the data values and display them as percentage.
8) Radar Chart: - It is used to compare multiple values relative multiple categories.
9) Doughnut Chart: - Doughnut Chart is used when you want to represent multiple data
series that total up to a 100 per cent.
10) Combo Chart: - Combo Charts are used when you have mixed type of data across data
series.
Create combination charts like: column and line, column and area.
A combination chart is a chart that combines two or more chart types in a single chart.
To create a combination chart, execute the following steps.
1. Select the range A1:C13.
2. On the Insert tab, in the Charts group, click the Combo symbol.
49
3. Click Create Custom Combo Chart.
4. For the Rainy Days series, choose Clustered Column as the chart type.
5. For the Profit series, choose Line as the chart type.
6. Plot the Profit series on the secondary axis.
7. Click OK.
Result:
50
Assignment 6
1. Column chart
A column chart is a technique for data visualization where categories are represented in the
form of vertical columns. They allow easy comparisons among a number of items and
trends analysis.
2. Line chart
A line chart, also known as a line graph or curve chart is a graphical representation used to
display data points connected by straight lines. This type of chart is particularly useful for
visualizing trends, changes, and relationships in data over a continuous interval, often time.
51
3. Bar chart
A bar chart is a chart or graph that presents categorical data with rectangular bars with
heights or lengths proportional to the values that they represent. The bars can be plotted
vertically or horizontally. A vertical bar chart is sometimes called a column chart.
Data that's arranged in one column or row on a worksheet can be plotted in a pie chart. Pie
charts show the size of items in one data series, proportional to the sum of the items. The data
points in a pie chart are shown as a percentage of the whole pie.
Data that's arranged in columns and rows on a worksheet can be plotted in an xy (scatter)
chart. Place the x values in one row or column, and then enter the corresponding y values in
the adjacent rows or columns.
A scatter chart has two value axes: a horizontal (x) and a vertical (y) value axis. It combines x
and y values into single data points and shows them in irregular intervals, or clusters. Scatter
charts are typically used for showing and comparing numeric values, like scientific,
statistical, and engineering data.
52
6. Area chart
Area charts can be used to plot change over time and draw attention to the total value across a
trend. By showing the sum of the plotted values, an area chart also shows the relationship of
parts to a whole.
7. Surface chart
This chart is useful when you want to find optimum combinations between two sets of data.
As in a topographic map, colours and patterns indicate areas that are in the same range of
values. You can create a surface chart when both categories and data series are numeric
values.
53
8. Bubble chart
Much like a scatter chart, a bubble chart adds a third column to specify the size of the bubbles
it shows to represent the data points in the data series.
54