ACKNOWLEDGE
I WOULD LIKE TO SHOW MY SPECIAL THANKS OF MY GRATITUDE TO
OUR DATA ANALYSIS TEACHER MISS JAGRITI BHATIA FOR THEIR ABLE
GUIDANCE AND SUPPORT IN COMPLETION OF THE PROJECT.
I WOULD ALSO LIKE TO EXPRESS MY GRATITUDE TOWARDS OUR
“DIRECTOR” AND CO-ORDINATOR FOR PROVIDING THE FACILITIES
FOR HIS PROJECT.
RASHI TYAGI
[Link] (H)
2ND YEAR
00324388822
CERTIFICATE
THIS IS TO CERTIFY THAT RASHI TYAGI OF [Link] (H) 2 ND YEAR HAS
SUCCESSFULLY COMPLETED THE PROJECT OF DATA ANALYSIS LAB
PROJECT ON THE TOPIC OF EXCEL UNDER THE GIDANCE OF MISS
JAGRITI BHATIA.
RASHI TYAGI
…………………………… [Link] (H)
SIGNATURE 2ND YEAR
(MRS. JAGRITI BHATIA) 00324388822
INDEX
S. NO. CONTENT PAGE NO.
1 Total Sum & Status 01
2 Gross Salary, HRA, DA, BONUS 02
3 Uses of String 04
4 COUNTIF 08
5 HLOOKUP 09
6 VLOOKUP 10
7 WORKINGDAYS 11
8 Student detail using strings 12
9 NPV & IRR 13
10 Interaction Distribution Curve 14
11 Pivot Table & Chart 16
12 Gantt Chart 18
13 Pie chart 21
14 Column chart 22
15 Custom chart 23
16 Add or Edit & Rename chart data 25
17 Conditional Formatting 26
18 Filter 28
19 Filter by Job Title 29
20 Filter by Department 29
21 Filter by Unit 30
22 Filter by Country 30
23 Filter by Bonus Percentage of 5 31
24 Sort 31
252 Sort by EEID 32
26 Sort by BONUS (in %) 33
27 Sort by Annual Salary (in $) 33
Calculation of Total, Status of Employees in Excel
Total - =SUM(range)
Status - =IF(range>1,00,000,”sanction”,”not sanction”)
Calculation of Gross Salary Of Employees
HRA is =10% of Salary
DA is =15% of Salary
BONUS is =12.5% of Salary
GROSS SALARY is =SALARY + HRA + DA – BONUS
USES OF STRING
CONCATENATION
=concatenate(text1,text2)
LEFT
=left( text, number of characters)
RIGHT
=right(text, num of characters)
MID
=mid(text, start num, num of character)
UPPER
=upper(text)
LOWER
=lower(text)
TRIM
=trim(text)
LENGTH
=length(text)
PROPER
=proper(text)
COUNTIF
=countif(range, criteria)
HLOOKUP
HLOOKUP in Excel stands for ‘Horizontal Lookup’. It is a function that
makes Excel search for a certain value in a row (the so called ‘table
array’), in order to return a value from a different row in the same
column .A HLOOKUP function in Excel exists of 4 components:
The value you want to look up;
The range in which you want to find the value and the return
value;
The number of the row within your defined range, that
contains the return value;
0 or FALSE for an exact match with the value you are looking
for; 1 or TRUE for an approximate match.
Syntax: HLOOKUP([value], [range], [row number], [false or true])
VLOOKUP
VLOOKUP stands for ‘Vertical Lookup’. It is a function that makes
Excel search for a certain value in a column (the so called ‘table
array’), in order to return a value from a different column in the
same row. VLOOKUP function exists of 4 components:
1. The value you want to look up;
2. The range in which you want to find the value and the return
value;
3. The number of the column within your defined range, that
contains the return value;
4. 0 or FALSE for an exact match with the value your are looking
for; 1 or TRUE for an approximate match.
Syntax: VLOOKUP([value], [range], [column number], [false or true])
WORKING DAYS
Net Working Days
=NETORKDAYS(start _date, end _date, holidays)
Net Working Days
=[Link](start _date, end _date, weekend,
holidays)
DETAIL OF STUDENT USING STRING
COURSE ID : mid(A2,6,3)
COLLEGE ID : mid(A2,3,3)
ROLL NO. : left(A2,2)
YEAR : right(A2,2)
NPV (NET PRESENT VALUE)
=npv( rate, range of values)+cash outflow value
IRR (INTERNAL RATE OF RETURN)
=irr(values)
IDC (INTERACTION DISTRIBUTION CURVE)
A bell curve is a common type of distribution for a variable, also
known as the normal distribution. The term "bell curve" originates
from the fact that the graph used to depict a normal
distribution consists of a symmetrical bell-shaped curve.
The highest point on the curve, or the top of the bell, represents the
most probable event in a series of data (its mean, mode,
and median in this case), while all other possible occurrences are
symmetrically distributed around the mean, creating a downward-
sloping curve on each side of the peak. The width of the bell curve is
described by its standard deviation.
PIVOT TABLE AND CHART
A pivot table is a summary of the data, packaged in a chart that lets
the report on and explore trends based on the information. Pivot
tables are particularly useful if data is in long rows or columns that
hold values required to track the sums of and easily compare to one
another.
Steps to create Pivot Table:
1. Enter your data into a range of rows and columns.
2. Insert your pivot table.
a. Inserting your pivot table is actually the easiest part.
b. Highlight your data.
c. Go to Insert in the top menu.
d. Click Pivot table. (choosing the new worksheet)
3. Edit your pivot table fields - After you click OK, a pane will
appear to edit the pivot table fields.
a. Filter - This turns your chosen field into a filter at the top,
by which you can segment data.
b. Column - This turns your chosen field into vertical
columns in your pivot table
c. Row - This turns your chosen field into horizontal rows in
your pivot table
d. Value - This turns your chosen field into the values that
populate the table, giving you data to summarize.
GANTT CHARTS
A Gantt chart is a horizontal bar chart used in project
management to visually represent a project plan over time. Gantt
charts typically show you the timeline and status as well as who’s
responsible for each task in the project.
In other words, a Gantt chart is a super-simple way to
communicate what it will take to deliver a project on time and
budget. That means it’s a whole lot easier to keep your project
team and stakeholders on the same page from the get-go.
The first project management chart was invented by Karol
Adamiecki in 1896.
Steps to create Gantt chart:
1. Add tasks and dates to the Excel worksheet for your Gantt
chart. Create columns for Task Name, Start Date, Duration, and
fill those cells with the basic details for your project tasks.
2. Insert a Stacked Bar Chart from the Insert menu Click
the Insert tab, and select the bar chart icon. Choose Stacked
Bar from the Bar section to add a chart to your Excel
worksheet. This chart type most closely resembles a Gantt
chart.
3. Set up your Excel Gantt chart data You should see a blank chart
in your Excel worksheet now. Right-click the chart, and
choose Select Data. Click the plus sign (+) under
the Legend entries section to add the first data set. Name it
"Start Date." Then click on the Y values field, and select the
data in the Start Date column. Repeat this process to add a
second entry called “Duration,” making sure to select the data
in the Duration column for the Y values. Click the Horizontal
Axis Labels field, and select the entire Task Name column.
Repeat this process to add a second entry called “Duration,”
making sure to select the data in the Duration column for the Y
values. Click the Horizontal Axis Labels field, and select the
entire Task Name column.
4. Change the chart date range to your project start and end
dates. Copy the Start Date for the first task in your project into
a blank cell below your task list, and format that cell as a
number rather than a date. Repeat this process for the End
Date for the last task in your project. Now select the horizontal
axis of your Gantt chart, right-click, and choose Format Axis.
Under Bounds, there are fields for Minimum and Maximum.
These are the first and last “dates” in the chart. Change
the Minimum value to the number you got when you
converted the first task date into a number and
the Maximum value to the number for your last task date.
5. Format the horizontal axis as dates If the labels on the
horizontal axis of your Gantt chart show numbers instead of
dates, click the Number section of the Format Axis window to
expand it. Change the category from Number to Date. Now the
horizontal axis will show readable dates.
6. Set your Excel Gantt chart at weekly intervals Under Units in
the Axis Options section, you’ll find Major and Minor fields.
These determine the timeline intervals for your Excel Gantt
chart.
7. Reorder tasks, and move the date axis to the top of your Gantt
chart. Select the vertical axis, right-click, and choose Format
Axis. Tick the Categories in reverse order checkbox.
8. Format your stacked bar chart to look like a Gantt chart. Click
on the first portion of a taskbar with 2 colors to select all of the
bars in your first data series. In the Excel chart below, our first
data series is represented by the blue taskbars. Then click
the Paint Bucket tab, and expand the Fill section. Select No
fill to remove the blue bars that precede your task start dates.
9. Change taskbar colors for a customized look. Click on a single
bar twice. Don’t double-click it—click it once to highlight all the
bars in that color, then click it again to highlight a single bar.
Click the Paint Bucket icon, and choose the color you want
from the color fill options. Repeat this process for the rest of
the bars in your newly made Gantt chart to change their colors.
PIE CHART
A pie chart is a type of graph that represents the data in the circular
graph. The slices of pie show the relative size of the data, and it is a
type of pictorial representation of data.
STEPS:
1. Select the Data
2. Go to insert
3. Click on pie chart
4. Select the type of pie chart
COLUMN CHART
A column chart is a technique for data visualization where categories
are represented in the form of vertical columns. The column height
of each category is proportional to the values plotted.
STEPS :
1. Select the data
2. Go to insert tab
3. Click on chart
4. Now select the chart of the data
CUSTOM CHART
Charts in Excel can be customized. Customization can be helpful to
make the data easier to understand. For example to highlight key
points, give additional information and make it look better. Excel has
many options for how to customize a chart.
STEPS :
1. Select the data from the spreadsheet/excel.
2. Go to INSERT tab and choose column chart.
3. Now customize the chart according to the data which you want
to additionally add in the chart.
ADD OR EDDIT & RENAME EXCEL CHART
Add a chart title :
1. In the chart, select the "Chart Title" box and type in a title.
2. Select the + sign to the top-right of the chart.
3. Select the arrow next to Chart Title.
4. Select Centred Overlay to lay the title over the chart, or More
Options for additional choices.
5. Right-click the chart title to format it with options
like Fill or Outline.
Remove a chart title
1. Click on the chart.
2. Select the + sign to the top-right of the chart.
3. Uncheck the checkbox next to Chart Title.
CONDITIONAL FORTMATTING
Conditional formatting is used to change the appearance of cells in a
range based on your specified conditions. The conditions are rules
based on specified numerical values or matching text. Changing the
appearance of cells can visually highlight interesting data points for
analysis.
To find the figures greater than Rs 2,00,000 (or any number you
want) :
1. Select the data on excel.
2. Go to home tab and click on Conditional Formatting.
3. Now choose first option that is HIGHLIGHT CELLS RULE and
then click on Greater than rule.
4. Now type the amount that you want as the limit for greater
than rule. And also choose the color on the right hand side of
the dialog box
5. Click ok
To find the figure between Rs 30,000 and Rs 60,000 (or any number
you want) :
1. Select the data you want to format.
2. Go to home tab and click on conditional formatting.
3. Now click on highlight cells rule. And then choose the option
‘between’.
4. Now the dialog box appear.
5. Now fill the ranges accordingly and then choose the color as
green on the right hand side of dialog box.
6. Click ok.
FILTER
The Filter function allows you to filter a range of data based on
criteria you define.
Steps :
1. Select the data
2. Go to home tab
3. Click on sort and filter
4. Now click on filter
FILTER BY JOB TITLE
STEPS :
1. Click on the arrow along with the Job Title.
2. Now, only select the Director option and click ok.
3. The data that contains only Directors as Job Title will be
reflected.
FILTER BY DEPARTMENT
STEPS :
1. Click on the arrow along with the Department
2. Now, only select the Accounting option and click ok.
3. The data that contains only Accounting as Department will be
reflected.
FILTER BY BUSINESS UNIT
STEPS :
1. Click on the arrow along with the Business Unit
2. Now, only select the Manufacturing option and click ok.
3. The data that contains only Manufacturing as Business Unit will
be reflected.
FILTER BY COUNTRY
STEPS :
1. Click on the arrow along with the Country
2. Now, only select the China option and click ok.
3. The data that contains only China as Country will be reflected.
FILTER BY BONUS(in %)
STEPS :
1. Click on the arrow along with the Bonus (in %)
2. Now, only select the Manufacturing option and click ok.
3. The data that contains only 5% as Bonus (in %) will be reflected.
SORT
The SORT function sorts the contents of a range or array.
Step :
1. Select the data that you want to sort.
2. Go to Home Tab and click on Sort & Filter and click on sort A to
Z or Z to A , accordingly.
Sort by Employee ID
Steps :
1. Select the data that is to be sorted.
2. Go to Home Tab and click Sort & Filter option.
3. Now click on Custom Sort, a new dialog box will appear.
4. Choose the criteria as EEID. And then please enter.
5. The data will be sorted in ascending order in accordance to
EEID.
Sort by BONUS (IN %)
Steps :
1. Select the data that is to be sorted.
2. Go to Home Tab and click Sort & Filter option.
3. Now click on Custom Sort, a new dialog box will appear.
4. Choose the criteria as BONUS (IN %). And then please enter.
5. The data will be sorted in ascending order in accordance to
BONUS (IN %).
Sort by ANNUAL SALARY (IN $)
Steps :
1. Select the data that is to be sorted.
2. Go to Home Tab and click Sort & Filter option.
3. Now click on Custom Sort, a new dialog box will appear.
4. Choose the criteria as ANNUAL SALARY (IN $). And then please
enter.
5. The data will be sorted in ascending order in accordance to
ANNUAL SALARY (IN $).