Professional Documents
Culture Documents
Data Analysis Parv Gupta
Data Analysis Parv Gupta
Data Analysis Parv Gupta
ON
BATCH (2022-2025)
8. VLookup Function 60
9. Sorting 61-67
10. Charts 68-73
Step 1: Open the Run Command, using Press Window+R then type excel.
1
Step 3: Collpase the column B.
Step 4: Select Cells C1 to J1 by holding the Ctrl Bu on, and the click on the “Merge & Center” on the
Home tab under Alignment sec on.
Step 6: Start dra ing the tex ng work and forma ng as given.
2
Step 7: Enter the Column name given in the marksheet.
Grading System:
3
Step 8: Enter the paper codes, paper name and maximum credit of each paper in the respec
ve cells.
Step 9: Now, generate the internal marks in the cell using formula “=RANDBETWEEN()” &
then select and drag down the cells for applying the same formula in the bo om cells.
4
Then, Press Ctrl+C and then Click on the Paste op on on the Home Tab under Clipboard then
Select the “Paste into Values”, it helps in keeping the marks constant else, it changes as per
shi ing to new cell.
5
Step 10: Now, repeat step 8 for the external marks in the cell using formula
“=RANDBETWEEN()” & then select and drag down the cells for applying the same formula
in the bottom cells.
6
7
Step 11: Calculate the Total marks using “=SUM()” formula.
Formula : =sum(E19,F19), then drag down the same cell to the bo om cells.
8
Step12: To check whether the student secured the credit or not as per criteria if Total Marks
>= 40, the credit will be given 0 credit is given. Using the Logical Formula of MS EXCEL
“=IF()”.
9
And the drag down the cells the bo om cells.
Step 13: Now allocate the grades as per criteria and marks. Using the “=if()” referencing we
will allocate the grades of each and every subject as per criteria.
Formula Syntax: =IF(Logical test, value if true, IF(Logical test, value if true, value if false))
Formula:
=IF(G19>=90,"O",IF(G19>=75,"A+",IF(G19>=65,"A",IF(G19>=55,"B+",IF(G19>=50,"B",I
F(G19> =45,"C",IF(G19>=40,"P","F")))))))
10
Then Drag down the cell to below cells for applying the same criteria of grading
Step 14: Now allocate the grade point as per criteria we again use the “=if()” as referencing.
Then Drag down the same formula for applying the same criteria.
11
A er comple ng this tabular calcula on and formula work now me to calculate the total credits
secured and CGPA.
12
13
3. For Calcula on of Credit Secured
14
4. Insert the university logo on top of the sheet by merge and center A1 TO A7
15
5. Set the Print Area under the Page Layout Tab
16
6. Press Ctrl+P for taking PDF File of Marksheet
17
8. Press Save Bu on.
9. Now Save the excel file for future purpose.
18
Ques on: Prepare the Salary sheet for Oasis Private
Limited based on the given informa on. For 10 employees.
Also show the graphical view of Company expense on
sheet as monthly, Quarterly & Annually.
19
1. HRA CALCULATION:
Formula: “=Basic*50/100”
20
2. DA Calcula on:
Formula: “=Basic*50%”
21
3. TA Calcula on
Formula: “=Basic*15%”
22
4. MA Calcula on
Formula: “=Basic*10%”
23
5. Gross
Formula: “=SUM(Basic,HRA,DA,TA,MA)”
24
6. EPF Calcula on
Formula: “=Gross*12%”
25
7. Tax Calcula on
Formula:“=IF(Gross<=250000,Gross*0%,IF(Gross<=500000,Gross*5%,IF(Gross<=1000
000,Gross*10%,Gross*15%)))”
26
8. Net Pay
Formula: “=Gross-EPF-Tax”
27
9. Company monthly, quarterly & annually calcula on
28
29
GRAPHICAL VIEW OF COMPANY ESTIMATE IN SALARY AS
MONTHLY, QUARTERLY & ANNUALLY
₹ 7,000,000.00
₹ 6,000,000.00
₹ 5,000,000.00
₹ 4,000,000.00
₹ 3,000,000.00
₹ 2,000,000.00
₹ 1,000,000.00
₹-
Name Basic HRA DA TA MA Gross EPF Tax Net Pay
30
31
32
33
34
35
36
37
38
39
40
41
42
What is a Pivot Table in Excel?
An Excel Pivot Table is a tool to explore and summarize large amounts of data, analyze
related totals and present summary reports designed to:
For example, you may have entries in your worksheet with employee figures of the
data.
43
Organize your source data
Before creating a summary report, organize your data into rows and columns, and then
convert your data range in to an Excel Table. To do this, select all of the data, go to
the Insert tab and click Table.
Using an Excel Table for the source data gives you a very nice benefit - your data range
becomes "dynamic". In this context, a dynamic range means that your table will
automatically expand and shrink as you add or remove entries, so won't have to worry
that your Pivot Table is missing the latest data.
Useful tips:
Add unique, meaningful headings to your columns, they will turn into the field names later.
Make sure your source table contains no blank rows or columns, and no subtotals.
To make it easier to maintain your table, you can name your source table by switching to
the Design tab and typing the name in the Table Name box the upper right corner of your
worksheet.
Select any cell in the source data table, and then go to the Insert tab > Tables group
> PivotTable.
This will open the Create PivotTable window. Make sure the correct table or range of
cells is highlighted in the Table/Range field. Then choose the target location for your
Excel Pivot Table:
Selecting New Worksheet will place a table in a new worksheet starting at cell A1.
Selecting Existing Worksheet will place your table at the specified location in an existing
worksheet. In the Location box, click the Collapse Dialog button to choose the first cell where
you want to position your table.
44
This will open the Create PivotTable window. Make sure the correct table or range of
cells is highlighted in the Table/Range field. Then choose the target location for your
Excel Pivot Table:
Selecting New Worksheet will place a table in a new worksheet starting at cell A1.
Selecting Existing Worksheet will place your table at the specified location in an existing
worksheet. In the Location box, click the Collapse Dialog button to choose the first cell
where you want to position your table.
Clicking OK creates a blank Pivot Table in the target location, which will look similar to
this:
If you are creating a Pivot Table from the data in another worksheet or workbook, include the
workbook and worksheet names using the following syntax
[workbook_name]sheet_name!range, for exam Alternatively, you can click the Collapse Dialog
button and select a table or range of cells in another workbook using the mouse. Arrange the
layout of your Pivot Table report
The area where you work with the fields of your summary report is called PivotTable
Field List. It is located in the right-hand part of the worksheet and divided into the
header and body sections:
The Field Section contains the names of the fields that you can add to your table. The filed
names correspond to the column names of your source table.
45
The Layout Section contains the Report Filter area, Column Labels, Row Labels area, and
the Values area. Here you can arrange and re-arrange the fields of your table.
Uncheck the box nest to the field's name in the Field section of the PivotTable pane.
Right-click on the field in your Pivot Table, and then click "Remove Field_Name".
Before creating a summary report, organize your data into rows and columns, and then
convert your data range in to an Excel Table. To do this, select all of the data, go to
the Insert tab and click Table.
Using an Excel Table for the source data gives you a very nice benefit - your data range
becomes "dynamic". In this context, a dynamic range means that your table will
automatically expand and shrink as you add or remove entries, so won't have to worry
that your Pivot Table is missing the latest data.
Useful tips:
Add unique, meaningful headings to your columns, they will turn into the field names later.
Make sure your source table contains no blank rows or columns, and no subtotals.
To make it easier to maintain your table, you can name your source table by switching to
the Design tab and typing the name in the Table Name box the upper right corner of your
worksheet
Clicking OK creates a blank Pivot Table in the target location, which will look similar to
this
The area where you work with the fields of your summary report is called PivotTable
Field List. It is located in the right-hand part of the worksheet and divided into the
header and body sections:
46
The Field Section contains the names of the fields that you can add to your table. The filed
names correspond to the column names of your source table.
The Layout Section contains the Report Filter area, Column Labels, Row Labels area, and
the Values area. Here you can arrange and re-arrange the fields of your table.
47
ANALYSING THE DATA USING GOAL SEEK AND SCENARIO
Let's say you're planning an event and want to invite as many people as you can
without exceeding a budget of $500. We can use Goal Seek to figure out how
many people to invite. In our example below, cell B5 contains the formula
=B2+B3*B4 to calculate the total cost of a room reservation, plus the cost per
person.
Select the cell with the value you want to change. In our example, we'll select
cell B5.
48
• From the Data tab, click the What-If Analysis command, then select Goal
Seek from the drop-down menu.
• A dialog box will appear with three fields. The first field, set cell:, will
contain the desired result. In our example, cell B5 is already selected.
• The second field, to value: is the desired result. In our example, we'll
enter 500 because we only want to spend $500.
• The third field, by changing cell: is the cell where Goal Seek will place its
answer. In our example, we'll select cell B4 because we want to know how
many guests, we can invite without spending more than $500.
• The dialog box will tell you if Goal Seek was able to find a solution.
Click OK.
49
The result will appear in the specified cell. In our example, Goal Seek
calculated the answer to be approximately 18.62. In this case, our final
answer needs to be a whole number, so we'll need to round the answer
up or down. Because rounding up would cause us to exceed our budget,
we'll round down to 18 guests.
50
EXAMPLE-2
51
Scenarios let you substitute values for multiple cells (up to 32) at
the same time. You can create as many scenarios as you want and
then compare them without changing the values manually. In the
example below, we're using scenarios to compare different venues
for an upcoming event.
The Scenario Manager dialog box appears with the message “No
52
Click the Add button to add a new scenario.
• If you already have cells selected, the Changing cells field will already
• Click OK.
53
The Scenario Values dialog box appears, showing each of the variable cells
you selected.
• If you name the worksheet cells you're changing, the cell names
appear here, making it easy to tell what value you're working with.
• Update any values you want to see for the given scenario.
• To make sure you don’t lose the original values for the changing
cells, use the original cell values in the first scenario you create.
• Click OK.
54
The scenario is added and is listed in the Scenario Manager. If you click
Add, the Add Scenario dialog box appears again so you can add another
scenario.
55
View a Scenario Summary
A scenario summary report is a single compiled report that summarizes
the results from several scenarios. It’s easier to read than switching
• Click Summary.
56
57
DATA TABLE WITH ONE VARIABLE
Interest [year] 6%
Term [monthly 60
Loan 100000
₹ -514.18
58
DATA TABLE WITH TWO VARIABLE
59
VLOOKUP FUNCTION
60
61
62
63
64
65
66
67
68
69
70
71
72
73
POWER - PIVOT
STEP – 1:
STEP – 2:
74
STEP – 3:
STEP – 4:
STEP – 5:
75
STEP – 6:
STEP – 7:
76
77
QUESTION: CALCULATE REVENUE, COST, AND PROFIT PER ORDER.
78
SOLUTION:
CALCULATION OF REVENUE:
CALCULATION OF COST:
79
CALCULATION OF PROFIT:
80
QUESTION: CALCULATE AVERAGE PROFIT FOR CUSTOMER.
SOLUTION:
81
POWER QUERY
Ans- Power Query is an application for transforming and preparing data. With Power Query
you can get data from sources using a graphical interface and apply transformations using
a Power Query Editor. Using Power Query, a business intelligence tool offered by Microsoft
Excel, you can import data from any number of sources, clean it, transform it, then reshape
it according to your needs. In this way, you can set up a query only once, re-use it later by
simply refreshing.
• Importing data is easy with the help of the Get & Transform Data section of the Data
tab in Excel.
After importing the data, we can transform it with the help of Power Query. The Power
Query Editor helps you transform data based on your needs.
Let’s take a look at the editor and understand its different components.
82
(3) Output excel
After performing all the operations on the editor, we will have to output it to our Excel sheet.
To do this, click on the Close and Load option on the Ribbon section of the Power Query
Editor.
On clicking this option, the Editor closes and loads the result to your worksheet.
• In the next section, we will look at different ways by which we can Import Data to our
Excel sheet.
(4) Load
Finally, in the Load phase, users specify where to load the transformed data. They can load
the data into an Excel worksheet or a Power BI report or create a connection to the data
source so that the data is automatically refreshed whenever the source data changes.
83
Let’s move forward and understand the concept of Power Query
84
POWER MAPS
It is a great feature for analysing data and gathering insights from your spreadsheets, as well as all
85