Experiment No: 01
Basics in MS Excel
Excel:
Excel is a spreadsheet developed by the microsoft.
Spreadsheet:
A program that displays data (text and number) in the table called
worksheet.
Uses of spreadsheet:
Prepare budgets
Financial statements
Inventory management
Create charts
Worksheet:
A grid with columns and rows. The term worksheet is used
interchangeably with spreadsheet.
Cell:
The intersection of row and column.
The 3 things can you type into a cell?
Label = words or letters
Value = number
Formula = statement that performs a calculation.
Cell range:
A group of cells that are closely together.
Columns:
Vertical arrangement of cell, identified by letters
Rows:
Horizontal arrangement of cell, identified by number.
Worksheet tab:
A tab that identifies each open worksheet in spreadsheet program,
located in the lower left conner of the screen
Cell address (reference):
This is a column letter and row number combination, such as A1, B2,
…
Name box:
Display the name of the active cell or range.
Formula bar:
Display the data or formula stored in the active cell
Active cell:
The cell in which you are currently working (Normally the cell is
surrounded by a black border).
Function:
A built-in formula that is shortcut for common calculations such as
addition and average.
Operation symbols:
Instruct the computer as to what mathematical operations to
perform.
Operation symbols:
Addition (+)
Subtraction (-)
Multiplication (*)
Division (/)
How do you key a formula:
Combine number of cell addresses (reference) operation symbols
and/or functions.
Order of operation:
Completes formulas in this order: -
Parentheses
Exponents
Multiplication
Division
Addition
subtraction
A Column width tool:
Tool that changes the width of the column on the spreadsheet.
A Row height tool:
Tool that changes the height of the row on the spreadsheet.
The fill handle tool:
Used to copy data and formulas to another cell and create a series
Chart:
Graphic representation used to compare and contrast worksheet
data.
Sorting:
Organizing or rearranging data in either ascending or descending
order.
Definitions:
Sort ascending – arranger records from a to z or smallest to
largest.
Sort descending – arrangers records from z to a or largest to
smallest.
Result:
Thus,the different basics used in the MS Excel learned.
Experiment No: 02
Layout/Working Sheet in MS Excel:
Files:
Home> new> open> save> print> share> export> more
Home:
clipboard> font> alignment> styles> cells> editing
Insert:
Table> charts> tours > spark line> filter> lines
Page layout:
Themes> page setup> scales to fit> sheet options> arrange
Formula:
Insert function> function library> defined names> formula auditing>
calculation
Data:
Get and transform data> queries and connections> sort and filter>
data tools> forecast> outline
View:
Workbook views> show> zoom> window> macros
Result:
Thus the different Layout used in the MS Excel learned.
Experiment No.:03
Adding the value using auto sum:
AIM: To add the marks using Auto Sum
Auto sum tool: Automatically creates a formula to add a series of
number in a spreadsheet.
It’s help to calculate the value of the given data, like calculate the
total mark of students.
Result:
Thus the “Sum” Formula is used for add the MARKS in the Row.
Experiment No: 04
Calculate the (%) percentage :
AIM: To identify the percentage of particular student.
Dividing the overall mark of students by total mark.
The student overall mark divide by total mark
Then to find a percentage:
Go to “Home”, in “Home” there will be “Number” there will be a
‘percentage’ %
Click that percentage %
Formula for percentage:
= (student mark/total mark) then click %
Result:
Thus the “%” Formula is used for calculate the percentage of the
Row.
Experiment No: 05
Calculate the grade of student:
AIM : To identify the grade of students by using marks.
ALGORTHIM:
STEP1: Entering Data,Here, I made columns for English, Maths,
Science, Social and Tamil. Secondly, insert the obtained marks for
these subjects.
STEP2: Use of SUM Function to Get Total Obtained Marks
STEP3: Employing AVERAGE and ROUND Functions in Result Sheet
The 3rd step to making a result sheet in Excel is to calculate the
Average marks for each student. Here, I will use the AVERAGE
function and the ROUND function for this step.
Firstly, select the cell where you want your Average marks.
Secondly, write the following formula in the selected cell.
Thirdly, press ENTER to get the Average marks.
STEP4: Using Nested IF Function to Show Grades.
Result:
Thus the “If and “AND” formula used for calculate the overall result
of the student in the given Data Set
Experiment No: 06
Calculate the result :
In Excel, the IF function assesses a specific condition. Depending on
whether the condition is true or false, it returns one value in each
case. Suppose, we have a dataset in Excel that contains the Subjects
and Marks of a student. Here, we need to calculate subject-wise Pass
or Fail. In this method, we will use the IF function to do so. The steps
are below.
First, we need to select the cell (I2) where we want to show the
result.
Next, to find the result (Pass/Fail) of the first subject (Maths) type
the following formula:
=IF(AND(B2>=35,C2>=35,D2>=35,E2>=35,F2>=35),"PASS", "FAIL")
formula
Here, B2 is the Marks of Tamil, C2 is the Marks of English, D2 is the
Marks of Maths, E2 is the Marks of Sci, F2 is the Marks of SST. Here,
this formula denotes if Marks is less than 35 then the result will be
Fail otherwise Pass.
Result:
Thus the “If and “AND” formula used for calculate the overall result
of the student in the given Data Set
Experiment No: 07
Identify the rank
AIM: To identify the rank of the students by using
Applying [Link] Function in Result Sheet
In this step, I will show the ranks in the result sheet in Excel. I will use
the [Link] function to show the ranks.
Firstly, select the cell where you want the Rank. Here, I selected cell
J2.
Secondly, in cell J2 write the following formula.
=[Link](H2,$H$2:$H$11,0)
Here, in the [Link] function I selected G2 as number, range
G2:G10 as ref, and 0 as order which is the descending order.
Result:
Thus the “Rank” formula used for calculate the overall rank of the
student in the given Data Set
Experiment No: 08
Preparing the Charts
AIM: To insert chart to compare marks.
Select the data for which you want to create a chart.
Click INSERT > Recommended Charts.
On the Recommended Charts tab, scroll through the list of charts
that Excel recommends for your data, and click any chart to see how
your data will look.
If you don’t see a chart you like, click All Charts to see all the
available chart types.
When you find the chart you like, click it > OK.
Use the Chart Elements, Chart Styles, and Chart Filters buttons, next
to the upper-right corner of the chart to add chart elements like axis
titles or data labels, customize the look of your chart, or change the
data that is shown in the chart.
To access additional design and formatting features, click anywhere
in the chart to add the CHART TOOLS to the ribbon, and then click
the options you want on the DESIGN and FORMAT tabs.
Result:
Thus the different chart is prepared for the given Data.
Experiment No: 09
Data validation
Data validation processes check for the validity of the data. Using a
set of rules, it checks whether the data is within the acceptable
values defined for the field or not. The system ensures the inputs
stick to the set rules, for instance, the type, uniqueness, format, or
consistency of the data.
Select the cell(s) you want to create a rule for.
Select Data >Data Validation.
Whole Number - to restrict the cell to accept only whole
numbers.
Decimal - to restrict the cell to accept only decimal
numbers.
List - to pick data from the drop-down list.
Date - to restrict the cell to accept only date.
Time - to restrict the cell to accept only time.
Text Length - to restrict the length of the text.
Custom – for custom formula.
Under Data, select a condition.
Set the other required values based on what you chose for Allow and
Data.
Select the Input Message tab and customize a message users will see
when entering data.
Select the Show input message when cell is selected checkbox to
display the message when the user selects or hovers over the
selected cell(s).
Select the Error Alert tab to customize the error message and to
choose a Style.
Select OK.
Now, if the user tries to enter a value that is not valid, an Error Alert
appears with your customized message.
Result:
Thus the data validated using various criteria for the given Data set.
Experiment No: 10
Sumif
Enter the data in the Excel sheet for which you want to see the result
using sumif condition.
First we have to select the cell H5 where we want to show the result.
Enter the following formula there : =SUMIF(B2:B8,H5,E2:E8)
Here we have selected A2:A8 as the range, then we has selected F5
as criteria, next we have choosed D2:D8 as sum range
Result:
Thus the “Sumif” formula is used for sum the overall data of specific
person in the given Data set.
Experiment No: 11
VLookup condition
In the Formula Bar, type =VLOOKUP().
In the parentheses, enter your lookup value, followed by a comma.
This can be an actual value, or a blank cell that will hold a value: (B2,
Enter your table array or lookup table, the range of data you want to
search, and a comma: (B2,A2:B11,
Enter column index number. This is the column where you think the
answers are, and it must be to the right of your lookup values:
(B2,A2:B11,2,
Enter the range lookup value, either TRUE or FALSE. TRUE finds
partial matches, FALSE finds exact matches. Your finished formula
looks something like this: =VLOOKUP(B2,A2:B11,2,FALSE)
Result:
Thus the “Vlookup condition” formula is used for get the data from
different sheet and present/summarize the data for given Data set.
Experiment No: 12
Average function
Returns the average (arithmetic mean) of all the cells in a range that
meet a given
criteria.
Syntax:
AVERAGEIF(range,criteria,average_range)
Range is one or more cells to average, including numbers or names,
arrays, or
references that contain numbers.
Criteria is the criteria in the form of a number, expression, cell
reference, or text
that defines which cells are averaged.
Average_range is the actual set of cells to average. If omitted, range
is used.
Enter the data in the Excel sheet for which you want to see the result
using Average function. First we have to select the cell B13 where we
want to show the result. Enter the following formula there :
=average(C2:C11)
Now we got the average marks of the students in that particular
subject in cell B13
Result:
Thus the “AVERAGE” formula is used for finding the average of data.
Experiment No: 13
SUMIFS
AIM: To calculate the sumifs using flowers
SUMIF function allows us to sum the data given based on associated
criteria within the same data. However, the SUMIFs Function in Excel
allows applying multiple criteria.
Using the sales figures per region of different salespersons, I wish to
find out the:
1. Sales of North region greater than 100
2. Sales greater than 500
Result: Thus,the sumifs has been calculated by flower with price
Experiment No: 14
INDEX and Match
AIM: To calculate the grocery items by using index and match
function.
Enter the grocery items with price and kg order
Using index with match function for know the individual items value
with kgs
Using data validations to know the specifics of grocery items
=INDEX(C2:F11,MATCH(B17,B2:B11,0),MATCH(C17,C1:F1,0)
Result:
Thus, the grocery items has been identified using data
validation through index and match functions.
Experiment No: 15
Format a cell
Cell formats allow you to only change the way cell data appears in
the spreadsheet. It is important to keep in mind that it only alters the
way the data is presented, and does not change the value of the
data. The formatting options allows for monetary units, scientific
options, dates, times, fractions,and more.
The Format Cells provide various control options that enable users to
change the view of the displayed data within the cells. We can use
the Format Cells to change the date style time style, add/ remove
colors in fonts or background, insert the border of a specific style,
protect the cells, and many more.
Enter the data in the Excel sheet for which you want to see the result
using Average function.
First we have to select the cell or range (B2:B11) where we do the
cell format .
Do the following steps :
Go to HOME option
There we have choosed NUMBER and expanded that option. Then a
dialogue box appeared. Here I have selected decimal . In decimal
place I have entered "3" , then selected the " OK " option.
Result:
Thus the “Cell format” is used in this experiment and we got the
result in the worksheet.