Excel Tutorialpoint
Excel Tutorialpoint
Step 4 − Search for Microsoft Excel 2010 from the submenu and
click it.
This will launch the Microsoft Excel 2010 application and you will
see the following excel window.
Ribbon
Ribbon contains commands organized in three components −
Title Bar
This lies in the middle and at the top of the window. Title bar
shows the program and the sheet titles.
Help
The Help Icon can be used to get excel related help anytime you
like. This provides nice tutorial on various subjects related to
excel.
Zoom Control
Zoom control lets you zoom in for a closer look at your text. The
zoom control consists of a slider that you can slide left or right to
zoom in or out. The + buttons can be clicked to increase or
decrease the zoom factor.
View Buttons
The group of three buttons located to the left of the Zoom
control, near the bottom of the screen, lets you switch among
excel's various sheet views.
Sheet Area
The area where you enter data. The flashing vertical bar is called
the insertion point and it represents the location where text will
appear when you type.
Row Bar
Rows are numbered from 1 onwards and keeps on increasing as
you keep entering data. Maximum limit is 1,048,576 rows.
Column Bar
Columns are numbered from A onwards and keeps on increasing
as you keep entering data. After Z, it will start the series of AA,
AB and so on. Maximum limit is 16,384 columns.
Status Bar
This displays the current status of the active cell in the
worksheet. A cell can be in either of the fours states
(a) Ready mode which indicates that the worksheet is ready to
accept user inpu (b) Edit mode indicates that cell is editing mode,
if it is not activated the you can activate editing mode by double-
clicking on a cell (c) A cell enters into Enter mode when a user
types data into a cell (d) Point mode triggers when a formula is
being entered using a cell reference by mouse pointing or the
arrow keys on the keyboard.
Save
1 If an existing sheet is opened, it would be saved as is, otherwise it will display a
dialogue box asking for the sheet name.
Save As
2 A dialogue box will be displayed asking for sheet name and sheet type. By default,
it will save in sheet 2010 format with extension .xlsx.
Open
3
This option is used to open an existing excel sheet.
Close
4
This option is used to close an opened sheet.
Info
5
This option displays the information about the opened sheet.
Recent
6
This option lists down all the recently opened sheets.
New
7
This option is used to open a new sheet.
Print
8
This option is used to print an opened sheet.
Help
10
You can use this option to get the required help about excel 2010.
Options
11
Use this option to set various option related to excel 2010.
Exit
12
Use this option to close the sheet and exit.
Sheet Information
When you click Info option available in the first column, it displays
the following information in the second column of the backstage
view −
Sheet Properties
When you click Info option available in the first column, it displays
various properties in the third column of the backstage view.
These properties include sheet size, title, tags, categories etc.
You can also edit various properties. Just try to click on the
property value and if property is editable, then it will display a
text box where you can add your text like title, tags, comments,
Author.
So, just keep your mouse cursor at the text insertion point and
start typing whatever text you would like to type. We have typed
only two words "Hello Excel" as shown below. The text appears to
the left of the insertion point as you type.
There are following three important points, which would help you
while typing −
Up one box
You can move box by box or sheet by sheet. Now click in any box
containing data in the sheet. You would have to hold down the
Ctrl key while pressing an arrow key, which moves the insertion
point as described here −
If your sheet is new and it was never saved so far, then with
either of the three options, word would display you a dialogue
box to let you select a folder, and enter sheet name as explained
in case of saving new sheet.
Step 1 − Right Click the Sheet Name and select Insert option.
Step 2 − Now you'll see the Insert dialog with
select Worksheet option as selected from the general tab. Click
the Ok button.
Now you should have your blank sheet as shown below ready to
start typing your text.
You can use a short cut to create a blank sheet anytime. Try
using the Shift+F11 keys and you will see a new blank sheet
similar to the above sheet is opened.
Step 1 − Right Click the Sheet Name and select the Move or
Copy option.
Step 2 − Now you'll see the Move or Copy dialog with
select Worksheet option as selected from the general tab. Click
the Ok button.
Select Create a Copy Checkbox to create a copy of the current
sheet and Before sheet option as (move to end) so that new sheet
gets created at the end.
Step − Right Click the Sheet Name and select the Hide option.
Sheet will get hidden.
Unhiding Worksheet
Here are the steps to unhide a worksheet.
Step − Right Click the Sheet Name and select the Delete option.
Sheet will get deleted if it is empty, otherwise you'll see a
confirmation message.
Press the Delete Button.
Step 1 − Click the File Menu as shown below. You can see the Open
option in File Menu.
Inserting Data
For inserting data in MS Excel, just activate the cell type text or
number and press enter or Navigation keys.
Inserting Formula
For inserting formula in MS Excel go to the formula bar, enter the
formula and then press enter or navigation key. See the screen-
shot below to understand it.
Modifying Cell Content
For modifying the cell content just activate the cell, enter a new
value and then press enter or navigation key to see the changes.
See the screen-shot below to understand it.
Select Data in Excel 2010
MS Excel provides various ways of selecting data in the sheet. Let
us see those ways.
Step 1 − Select the data you want to Move. Right Click and Select
the cut option.
Step 2 − Select the first cell where you want to move the data.
Right click on it and paste the data. You can see the data is moved
now.
Rows & Columns in Excel 2010
Row and Column Basics
MS Excel is in tabular format consisting of rows and columns.
Copy Paste
• To copy and paste, just select the cells you want to copy.
Choose copy option after right click or press Control + C.
• Select the cell where you need to paste this copied content.
Right click and select paste option or press Control + V.
In this case, MS Excel will copy everything such as values,
formulas, Formats, Comments and validation. MS Excel will
overwrite the content with paste. If you want to undo this,
press Control + Z from the keyboard.
To access the Find & Replace, Choose Home → Find & Select →
Find or press Control + F Key. See the image below.
You can see the Find and Replace dialogue as below.
You can replace the found text with the new text in the Replace
tab.
Exploring Options
Now, let us see the various options available under the Find
dialogue.
You can view the zoom slider at the right bottom of the workbook
as shown below.
Zoom In
You can zoom in the workbook by moving the slider to the right.
It will change the only view of the workbook. You can have
maximum of 400% zoom in. See the below screen-shot.
Zoom Out
You can zoom out the workbook by moving the slider to the left.
It will change the only view of the workbook. You can have
maximum of 10% zoom in. See the below screen-shot.
Special Symbols in Excel 2010
If you want to insert some symbols or special characters that are
not found on the keyboard in that case you need to use
the Symbols option.
Using Symbols
Go to Insert » Symbols » Symbol to view available symbols. You can
see many symbols available there like Pi, alpha, beta, etc.
Select the symbol you want to add and click insert to use the
symbol.
Using Special Characters
Go to Insert » Symbols » Special Characters to view the available
special characters. You can see many special characters available
there like Copyright, Registered etc.
Select the special character you want to add and click insert, to
use the special character.
Insert Comments in Excel 2010
Adding Comment to Cell
Adding comment to cell helps in understanding the purpose of
cell, what input it should have, etc. It helps in proper
documentation.
To add comment to a cell, select the cell and perform any of the
actions mentioned below.
• Fill − Specifies the filling of text box like No fill, solid fill.
Also specifying the transparency of text box fill.
• Line Colour − Specifies the line colour and transparency of
the line.
• Line Style − Specifies the line style and width.
• Size − Specifies the size of the text box.
• Properties − Specifies some properties of the text box.
• Text Box − Specifies text box layout, Auto-fit option and
internal margins.
Undo Changes in Excel 2010
Undo Changes
You can reverse almost every action in Excel by using the Undo
command. We can undo changes in following two ways.
Redo Changes
You can again reverse back the action done with undo in Excel by
using the Redo command. We can redo changes in following two
ways.
Text Decoration
Various options are available in Home tab of the ribbon as
mentioned below.
• Left − Aligns the cell contents to the left side of the cell.
• Center − Centers the cell contents in the cell.
• Right − Aligns the cell contents to the right side of the cell.
• Fill − Repeats the contents of the cell until the cell’s width is
filled.
• Justify − Justifies the text to the left and right of the cell.
This option is applicable only if the cell is formatted as
wrapped text and uses more than one line.
Additional Options
The Home » Alignment group » Merge & Center control contains a
drop-down list with these additional options −
Apply Shading
You can add shading to the cell from the Home tab » Font Group »
Select the Color.
• These options are also available when you choose File » Print.
If none of these settings does the job, choose Custom Margins to
display the Margins tab of the Page Setup dialog box, as shown
below.
Center on Page
By default, Excel aligns the printed page at the top and left
margins. If you want the output to be centered vertically or
horizontally, select the appropriate check box in the Center on
Page section of the Margins tab as shown in the above
screenshot.
You can choose the predefined header and footer or create your
custom ones.
• Select the First row or First Column or the row Below, which
you want to freeze, or Column right to area, which you want
to freeze.
• Choose View Tab » Freeze Panes.
• Select the suitable option −
o Freeze Panes − To freeze area of cells.
o Freeze Top Row − To freeze first row of worksheet.
o Freeze First Column − To freeze first Column of
worksheet.
• If you have selected Freeze top row you can see the first
row appears at the top, after scrolling also. See the below
screen-shot.
Unfreeze Panes
To unfreeze Panes, choose View Tab » Unfreeze Panes.
Suppose you want to find cell with Amount 0 and Mark them as
red.Choose Range of cell » Home Tab » Conditional Formatting
DropDown » Highlight Cell Rules » Equal To.
After Clicking ok, the cells with value zero are marked as red.
• Top/Bottom Rules − It opens a continuation menu with
various options for defining the formatting rules that
highlight the top and bottom values, percentages, and
above and below average values in the cell selection.
Suppose you want to highlight the top 10% rows you can do this
with these Top/Bottom rules.
• Data Bars − It opens a palette with different color data bars
that you can apply to the cell selection to indicate their
values relative to each other by clicking the data bar
thumbnail.
With this conditional Formatting data Bars will appear in each cell.
• Color Scales − It opens a palette with different three- and
two-colored scales that you can apply to the cell selection to
indicate their values relative to each other by clicking the
color scale thumbnail.
Elements of Formulas
A formula can consist of any of these elements −
Creating Formula
For creating a formula you need to type in the Formula Bar.
Formula begins with '=' sign. When building formulas manually,
you can either type in the cell addresses or you can point to them
in the worksheet. Using the Pointing method to supply the cell
addresses for formulas is often easier and more powerful method
of formula building. When you are using built-in functions, you
click the cell or drag through the cell range that you want to use
when defining the function’s arguments in the Function
Arguments dialog box. See the below screen shot.
As soon as you complete a formula entry, Excel calculates the
result, which is then displayed inside the cell within the worksheet
(the contents of the formula, however, continue to be visible on
the Formula bar anytime the cell is active). If you make an error
in the formula that prevents Excel from being able to calculate
the formula at all, Excel displays an Alert dialog box suggesting
how to fix the problem.
Let us see this with the help of example. Suppose we want the
sum of all the rows at last, then we will write a formula for first
column i.e. B. We want sum of the rows from 3 to 8 in the
9th row.
• column C : =SUM(C3:C8)
• column D : =SUM(D3:D8)
• column E : =SUM(E3:E8)
• column F : =SUM(F3:F8)
• column G : =SUM(G3:G8)
Formula Reference in Excel 2010
Cell References in Formulas
Most formulas you create include references to cells or ranges.
These references enable your formulas to work dynamically with
the data contained in those cells or ranges. For example, if your
formula refers to cell C2 and you change the value contained in
C2, the formula result reflects new value automatically. If you
didn’t use references in your formulas, you would need to edit the
formulas themselves in order to change the values used in the
formulas.
When you use a cell (or range) reference in a formula, you can
use three types of references − relative, absolute, and mixed
references.
Using Functions
When you type = sign and then type any alphabet you will see
the searched functions as below.
Suppose you need to determine the largest value in a range. A
formula can’t tell you the answer without using a function. We will
use formula that uses the MAX function to return the largest
value in the range B3:B8 as =MAX(A1:D100).
Another example of functions. Suppose you want to find if the cell
of month is greater than 1900 then we can give Bonus to Sales
representative. The we can achieve it with writing formula with IF
functions as =IF(B9>1900,"Yes","No")
Function Arguments
In the above examples, you may have noticed that all the
functions used parentheses. The information inside the
parentheses is the list of arguments.
Functions by Categories
Let us see some of the built in functions in MS Excel.
• Text Functions
o LOWER − Converts all characters in a supplied text
string to lower case
o UPPER − Converts all characters in a supplied text
string to upper case
o TRIM − Removes duplicate spaces, and spaces at the
start and end of a text string
o CONCATENATE − Joins together two or more text
strings.
o LEFT − Returns a specified number of characters from
the start of a supplied text string.
o MID − Returns a specified number of characters from
the middle of a supplied text string
o RIGHT − Returns a specified number of characters from
the end of a supplied text string.
o LEN − Returns the length of a supplied text string
o FIND − Returns the position of a supplied character or
text string from within a supplied text string (case-
sensitive).
• Date & Time
o DATE − Returns a date, from a user-supplied year,
month and day.
o TIME − Returns a time, from a user-supplied hour,
minute and second.
o DATEVALUE − Converts a text string showing a date, to
an integer that represents the date in Excel's date-time
code.
o TIMEVALUE − Converts a text string showing a time, to
a decimal that represents the time in Excel.
o NOW − Returns the current date & time.
o TODAY − Returns today's date.
• Statistical
o MAX − Returns the largest value from a list of supplied
numbers.
o MIN − Returns the smallest value from a list of
supplied numbers.
o AVERAGE − Returns the Average of a list of supplied
numbers.
o COUNT − Returns the number of numerical values in a
supplied set of cells or values.
o COUNTIF − Returns the number of cells (of a supplied
range), that satisfies a given criteria.
o SUM − Returns the sum of a supplied list of numbers
• Logical
o AND − Tests a number of user-defined conditions and
returns TRUE if ALL of the conditions evaluate to TRUE,
or FALSE otherwise
o OR − Tests a number of user-defined conditions and
returns TRUE if ANY of the conditions evaluate to
TRUE, or FALSE otherwise.
o NOT − Returns a logical value that is the opposite of a
user supplied logical value or expression i.e. returns
FALSE if the supplied argument is TRUE and returns
TRUE if the supplied argument is FAL
• Math & Trig
o ABS − Returns the absolute value (i.e. the modulus) of
a supplied number.
o SIGN − Returns the sign (+1, -1 or 0) of a supplied
number.
o SQRT − Returns the positive square root of a given
number.
o MOD − Returns the remainder from a division between
two supplied numbers.
Using the store data, if you are interested in seeing data where
Shoe Size is 36, then you can set filter to do this. Follow the
below mentioned steps to do this.
Example of Ranges −
Selecting Ranges
You can select a range in several ways −
Settings Tab
Here you can set the type of validation you need. Choose an
option from the Allow drop-down list. The contents of the Data
Validation dialog box will change, displaying controls based on
your choice.
• Any Value − Selecting this option removes any existing data
validation.
• Whole Number − The user must enter a whole number.For
example, you can specify that the entry must be a whole
number greater than or equal to 50.
• Decimal − The user must enter a number. For example, you
can specify that the entry must be greater than or equal to
10 and less than or equal to 20.
• List − The user must choose from a list of entries you
provide. You will create drop-down list with this validation.
You have to give input ranges then those values will appear
in the drop-down.
• Date − The user must enter a date. You specify a valid date
range from choices in the Data drop-down list. For example,
you can specify that the entered data must be greater than
or equal to January 1, 2013, and less than or equal to
December 31, 2013.
• Time − The user must enter a time. You specify a valid time
range from choices in the Data drop-down list. For example,
you can specify that the entered data must be later than
12:00 p.m.
• Text Length − The length of the data (number of characters)
is limited. You specify a valid length by using the Data drop-
down list. For example, you can specify that the length of
the entered data be 1 (a single alphanumeric character).
• Custom − To use this option, you must supply a logical
formula that determines the validity of the user’s entry (a
logical formula returns either TRUE or FALSE).
Input Message Tab
You can set the input help message with this tab. Fill the title and
Input message of the Input message tab and the input message
will appear when the cell is selected.
Error Alert Tab
You can specify an error message with this tab. Fill the title and
error message. Select the style of the error as stop, warning or
Information as per you need.
Using Styles in Excel 2010
Using Styles in MS Excel
With MS Excel 2010 Named styles make it very easy to apply a set
of predefined formatting options to a cell or range. It saves time
as well as make sure that look of the cells are consistent.
• Number format
• Font (type, size, and color)
• Alignment (vertical and horizontal)
• Borders
• Pattern
• Protection (locked and hidden)
Now, let us see how styles are helpful. Suppose that you apply a
particular style to some twenty cells scattered throughout your
worksheet. Later, you realize that these cells should have a font
size of 12 pt. rather than 14 pt. Rather than changing each cell,
simply edit the style. All cells with that particular style change
automatically.
Applying Styles
Choose Home » Styles » Cell Styles. Note that this display is a live
preview, that is, as you move your mouse over the style choices,
the selected cell or range temporarily displays the style. When
you see a style you like, click it to apply the style to the selection.
Applying Themes
Choose Page layout Tab » Themes Dropdown. Note that this display
is a live preview, that is, as you move your mouse over the
Theme, it temporarily displays the theme effect. When you see a
style you like, click it to apply the style to the selection.
• View Macros − Opens the Macro dialog box where you can
select a macro to run or edit.
• Record Macro − Opens the Record Macro dialog box where
you define the settings for your new macro and then start
the macro recorder; this is the same as clicking the Record
Macro button on the Status bar.
• Use Relative References − Uses relative cell addresses when
recording a macro, making the macro more versatile by
enabling you to run it in areas of a worksheet other than the
ones originally used in the macro’s recording.
Creating Macros
You can create macros in one of two ways −
Insert Shape
• Choose Insert Tab » Shapes dropdown.
• Select the shape you want to insert. Click on shape to insert
it.
• To edit the inserted shape just drag the shape with the
mouse. Shape will adjust the shape.
Insert Smart Art
• Choose Insert Tab » SmartArt.
• Clicking SmartArt will open the SmartArt dialogue as shown
below in the screen-shot. Choose from the list of available
smartArts.
• Click on SmartArt to Insert it in the worksheet.
• Edit the SmartArt as per your need.
Insert Clip Art
• Choose Insert Tab » Clip Art.
• Clicking Clip Art will open the search box as shown in the
below screen-shot. Choose from the list of available Clip
Arts.
• Click on Clip Art to Insert it in the worksheet.
VLOOKUP
VlookUp searches for a value vertically down for the lookup table.
VLOOKUP(lookup_value,table_array,col_index_num,range_lookup
) has 4 parameters as below.
VLOOKUP Example
Let's look at a very simple example of cross-referencing two
spreadsheets. Each spreadsheet contains information about the
same group of people. The first spreadsheet has their dates of
birth, and the second shows their favorite color. How do we build
a list showing the person's name, their date of birth and their
favorite color? VLOOOKUP will help in this case. First of all, let us
see data in both the sheets.
• Choose File » Print (which displays the Print pane), and then
click the Print button.
• Press Ctrl+P and then click the Print button (or press Enter).
Adjusting Common Page Setup Settings
You can adjust the print settings available in the Page setup
dialogue in different ways as discussed below. Page setup options
include Page orientation, Page Size, Page Margins, etc.
Protect Worksheet
You may want to protect a worksheet for a variety of reasons.
One reason is to prevent yourself or others from accidentally
deleting the formulas or other critical data. A common scenario is
to protect a worksheet, so that the data can be changed, but the
formulas can’t be changed.
Protecting a Workbook
Excel provides three ways to protect a workbook.
This will generate the Pivot table pane as shown below. You have
various options available in the Pivot table pane. You can select
fields for the generated pivot table.
• Column labels − A field that has a column orientation in the
pivot table. Each item in the field occupies a column.
• Report Filter − You can set the filter for the report as year,
then data gets filtered as per the year.
• Row labels − A field that has a row orientation in the pivot
table. Each item in the field occupies a row.
• Values area − The cells in a pivot table that contain the
summary data. Excel offers several ways to summarize the
data (sum, average, count, and so on).
After giving input fields to the pivot table, it generates the pivot
table with the data as shown below.
Simple Charts in Excel 2010
Charts
A chart is a visual representation of numeric values. Charts (also
known as graphs) have been an integral part of spreadsheets.
Charts generated by early spreadsheet products were quite
crude, but thy have improved significantly over the years. Excel
provides you with the tools to create a wide variety of highly
customizable charts. Displaying data in a well-conceived chart
can make your numbers more understandable. Because a chart
presents a picture, charts are particularly useful for summarizing
a series of numbers and their interrelationships.
Types of Charts
There are various chart types available in MS Excel as shown in
the below screen-shot.
• Column − Column chart shows data changes over a period of
time or illustrates comparisons among items.
• Bar − A bar chart illustrates comparisons among individual
items.
• Pie − A pie chart shows the size of items that make up a
data series, proportional to the sum of the items. It always
shows only one data series and is useful when you want to
emphasize a significant element in the data.
• Line − A line chart shows trends in data at equal intervals.
• Area − An area chart emphasizes the magnitude of change
over time.
• X Y Scatter − An xy (scatter) chart shows the relationships
among the numeric values in several data series, or plots
two groups of numbers as one series of xy coordinates.
• Stock − This chart type is most often used for stock price
data, but can also be used for scientific data (for example,
to indicate temperature changes).
• Surface − A surface chart is useful when you want to find the
optimum combinations between two sets of data. As in a
topographic map, colors and patterns indicate areas that are
in the same range of values.
• Doughnut − Like a pie chart, a doughnut chart shows the
relationship of parts to a whole; however, it can contain
more than one data series.
• Bubble − Data that is arranged in columns on a worksheet,
so that x values are listed in the first column and
corresponding y values and bubble size values are listed in
adjacent columns, can be plotted in a bubble chart.
• Radar − A radar chart compares the aggregate values of a
number of data series.
Creating Chart
To create charts for the data by below mentioned steps.
• Select the data for which you want to create the chart.
• Choose Insert Tab » Select the chart or click on the Chart group to
see various chart types.
• Select the chart of your choice and click OK to generate the
chart.
Editing Chart
You can edit the chart at any time after you have created it.
• You can select the different data for chart input with Right
click on chart » Select data. Selecting new data will generate
the chart as per the new data, as shown in the below
screen-shot.
MS Excel selects the data of the table. You can select the pivot
chart location as an existing sheet or a new sheet. Pivot chart
depends on automatically created pivot table by the MS Excel.
You can generate the pivot chart in the below screen-shot.
Keyboard Shortcuts in Excel 2010
MS Excel Keyboard Short-cuts
MS Excel offers many keyboard short-cuts. If you are familiar
with windows operating system, you should be aware of most of
them. Below is the list of all the major shortcut keys in Microsoft
Excel.