Lab 05: Application Software: MS EXCEL: 1. The Interface
Lab 05: Application Software: MS EXCEL: 1. The Interface
When working in excel first you need to know that we work on sheets in excel for which different
templates are provided in excel 2013.
1. The Interface
Each excel sheet is divided in cells. Each cell can be referenced using its respective column and row
number. The data you can enter in them can be alphabetical characters, numbers and symbols.
Following are few uses of excel 2013 which you should know.
To get excel to auto-complete this row, we now position the mouse cursor at the bottom-left corner of the
rectangle. Make sure the cursor has changed into a + sign. Now hold down the cursor and drag it to the left
till I1.
3. SORTING ITEMS
You can sort your data, by selecting the Data tab and then clicking the Sort command. You can sort
both numbers and words. You can use either the inbuilt sorting options or make your own
customized sorting. You can also sort on the basis of cell color.
4. REMOVING DUPLICATES
You can remove duplicates form an excel sheet. Just by selecting the targeted data, then click the
Data tab and then by using the command of Remove Duplicates.
It identifies cells (by changing the color of cells) on the basis of duplicate, unique or values
equal to some specified value. If desired, all the formatting can be removed using the clear format
command.
This tool can also create charts for the entered data, as shown below.
Total of entered data can also be done using this tool. In figure below only the count of words is
shown but for number this tool can calculate the sum, average and percentages.
When working on a spreadsheet, you will almost definitely need to perform some calculations on the data
you have. The first thing you need to remember about Excel calculations is that formulas always start with
an = sign. Let us begin with a very simple calculation.
Pressing Enter will give you the result of the calculation. Double-clicking on the cell with the formula allows
you to edit the formula.
The Formulas tab provides a wide range of (Financial, logical, text, date and time, mathematical,
trigonometric and even customized) formulae. For instance, if you need to use any mathematical
formula, you can find your desired one from the Math and Trig option. You just have to move your
cursor to any formula in order to know, what it does.
Let’s learn how to use these formulae. If you need to add two numbers you can click any empty cell,
wherever you want the sum. Then can either, select Sum from the Math and Trig option and then
provide the cells to be summed, the cell numbers should be enclosed in brackets and separated by
commas.. Or you type ‘=’ and ‘sum’ and then specify the cells to be summed.
In order to sum a large number of cells then the starting and ending cell should be enclosed in
brackets separated by : (colon)
• COUNT: Counts the number of cells that contain numbers and numbers within the
list of arguments.
Syntax: =COUNT (value1, value2,…….)
Similarly, you can use the Text Formulae e.g. Proper to capitalize the first letter of every word
entered.
You can also use Logical operator based formulae. They enable the user to add decision-making and
logical tests to the worksheet.
The IF statement is useful for testing conditions and making decisions based on a cell’s contents.
The AND and OR functions can test multiple criteria or test conditions for use in IF functions.
= AND(D1, E1<30) result is TRUE only when D1 is not zero and E3 is less than 30
7. IF functions
IF functions or statements allow you to ask the question “is this true or false?” It then allows you to
implement different actions based on the outcome. That is, it allows you to compute two different
outcomes based on whether a certain criterion (logical test) is true or false.
The format of an IF statement is as follows: =IF(logical test, value if true, value if false).
= IF(AND(D17>10, D17<30), “Valid”, “Invalid”) returns Valid if the contents of cell D17 is
greater than 10 and less than 30; otherwise the formula returns Invalid.
8. Conditional functions
One very useful set of built-in functions in Excel is conditional functions. As the name implies, these
perform certain operations based when a specified condition is satisfied.
In order to use to such logical functions that make use of words such as valid or invalid, you would
first have to Define them using Define Names can be found under the Formulas tab.
9. Conditional formatting
Conditional formatting allows you to make data trends stand out visually.
10.Pivot tables
Pivot tables are used to easily create meaning out of large amounts of data.
Let us first take a look at what the different field areas are used for.
Row labels: these labels are used to display fields as rows on the side of the pivot table. The
table is broken down by the first row label; each subsequent label appears as subcategory of the
previous label.
Column labels: these labels are used to display fields as columns on the top of the pivot table.
Column labels are nested in a similar way to row labels.
Report filter: this is used to filter the whole report (the pivot table).
11.VLOOKUP
Use VLOOKUP, one of the lookup and reference functions, when you need to find things in a table or a
range by row. For example, look up a price of an automotive part by the part number.
=VLOOKUP(Value you want to look up, range where you want to look up the value, the column number in
the range containing the return value, Exact Match or Approximate Match – indicated as 0/FALSE or
1/TRUE).
There are four pieces of information that you will need in order to build the VLOOKUP syntax:
1. The value you want to look up, also called the lookup value.
2. The range where the lookup value is located. Remember that the lookup value should always be in the
first column in the range for VLOOKUP to work correctly. For example, if your lookup value is in cell C2
then your range should start with C.
3. The column number in the range that contains the return value. For example, if you specify B2: D11 as
the range, you should count B as the first column, C as the second, and so on.
4. Optionally, you can specify TRUE if you want an approximate match or FALSE if you want an exact match
of the return value. If you don't specify anything, the default value will always be TRUE or approximate
match.
Student Tasks:
2. Design a salary sheet to automatically calculate Basic salary and Net salary etc.
Example:
.
3. Design a template for mark sheet to automate creation of student report card. It should calculate over
all percentage, assign grades accordingly in each subject and GPA etc. It should contain all marks of your
quizzes and assignments. Also highlight grade D and F.