Excel Tutorial
Excel Tutorial
Status Bar:
This displays sheet information as well as the insertion point location.
From left to right, this bar can contains the total number of pages and
words in the document, language etc.
You can configure the status bar by right-clicking anywhere on it and by
selecting or deselecting options from the provided list.
Press F5 key to use Go To command, which will display a dialogue box where you will have
various options to reach to a particular box.
Normally we use row and column number ,for example K5 and finally press Go To button.
Entering Values in Excel 2010
Let us see how easy is to enter text in a excel sheet. Hope you are aware that when you start a
sheet, it displays a new sheet by default as shown below:
Sheet area is the area where where you type your text. The flashing vertical bar is called the
insertion point and it represents the location where text will appear when you type. When you
click on a box then box becomes highlighted . When you double click the box flashing vertical
bar will come and you can start entering data then.
So just keep your mouse cursor at the text insertion point and start typing whatever text you
would like to type. I typed only two word "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:
Press Tab to go to next column.
Press Enter to go to next row.
Press Alt + Enter to enter a new line in the same column.
Insert Data in Excel 2010
In MS Excel there are 1048576*16384 cells.MS Excel cell can have Text,
Numeric value or formulas. MS Excel cell can have maximum of 32000
characters.
Inserting Data
For inserting data in MS Excel just activate the cell type text or number and
press enter or Navigation key.
Inserting Formula
For inserting formula in MS Excel go to 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 changes. See the screen-shot below to
understand it.
Setting Fonts in Excel 2010
Setting font from Home
You can set the font of the selected text from Home » Font group » select the font
Setting font from format cell dialogue
Right click on cell » Format cells » Font Tab
Press Control + 1 or Shift + Control + F
Formatting Cell
MS Excel Cell can hold different types of data like Numbers, Currency, Dates, etc..You can
set the cell type in various ways as below:
Right Click on the cell » Format cells » Number
Click on the Ribbon from the ribbon
Various Cell formats
Margins
Margins are the unprinted areas along the sides, top, and bottom of a printed page. All printed
pages in MS Excel have the same margins. You can’t specify different margins for different
pages.
You can set margins by various ways as below
Choose Page Layout » Page Setup » Margins drop-down list, you can select Normal, Wide,
Narrow, or the custom Setting.
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
Page Orientation
Page orientation refers to how output is printed on the page. If you change the
orientation, the onscreen page breaks adjust automatically to accommodate the new
paper orientation.
Types of Page Orientation
Portrait : Portrait to print tall pages (the default).
Landscape : Landscape to print wide pages. Landscape orientation is useful when you
have a wide range that doesn’t fit on a vertically oriented page.
Changing Page Orientation
Choose Page Layout » Page Setup » Orientation » Portrait or Landscape
Choose File » Print
Header and Footer in Excel 2010
Header and Footer
A header is information that appears at the top of each printed page and a footer is
information that appears at the bottom of each printed page. By default, new workbooks do
not have headers or footers.
Adding Header and Footer
Choose Page Setup dialog box » Header or Footer tab
You can choose predefined header and footer or create your custom
If you don’t want a row to print on a page by itself or you don't want a table header row to
be the last line on a page. MS Excel gives you precise control over page breaks.
MS Excel handles page breaks automatically, but sometimes you may want to force a page
breakeither a vertical or a horizontal one so that the report prints the way you want.
For example, if your worksheet consists of several distinct sections, you may want to print
each section on a separate sheet of paper.
Inserting Page Breaks
Insert Horizontal Page Break: For example, if you want row 14 to be the first row of a new
page, select cell A14. Then choose Page Layout » Page Setup Group » Breaks» Insert Page
Break.
Set Background in Excel 2010
Background Image
If you like to have a background image on your printouts then Unfortunately, you can’t.
You may have noticed the Page Layout » Page Setup » Background command. This
button displays a dialogue box that lets you select an image to display as a background.
Placing this control among the other print-related commands is very misleading.
Background images placed on a worksheet are never printed.
Alternative to placing Background
You can insert a Shape, WordArt, or a picture on your worksheet and then adjust its
transparency. Then copy the image to all printed pages.
You can insert an object in a page header or footer.
Freeze Panes in Excel 2010
Freezing Panes
If you set up a worksheet with row or column headings, these
headings will not be visible when you scroll down or to the right.MS
Excel provides a handy solution to this problem with freezing panes.
Freezing panes keeps the headings visible while you’re scrolling
through the worksheet.
Using Freeze Panes
Follow below steps to do freeze panes
Select the First row or First Column or row Below are which you want
to freeze or Column right to area which you want to freeze
Choose View Tab » Freeze Panes
Select the suitable option
Freeze Panes : To freeze area of cells
Freeze Top Row : To freeze first row of worksheet
Freeze First Column : To freeze first Column of worksheet
If you selected Freeze top row you can see first row appears at the top after scrolling also. See
below screen-shot
Unfreeze Panes
To unfreeze Panges choose View Tab » Unfreeze Panes
Conditional Format in Excel 2010
Conditional Formatting
MS Excel 2010 Conditional Formatting feature enables you to format a range of values so
that values outside certain limits,are automatically formatted.
Choose Home Tab » Style group » Conditional Formatting dropdown.
Various conditional formatting options
Highlight Cells Rules : It opens a continuation menu with various options for defining
formatting rules that highlight the cells in the cell selection that contain certain values, text,
or dates, or that have values greater or less than a particular value, or that fall within a
certain ranges of values.
Suppose you want to find cell with Amount 0 and Mark them as red. Choose Range of cell »
Home Tab » Conditional Formatting Drop Down » 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
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 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.
See below screenshot with Color Scales conditional formatting applied.
Icon Sets : It opens a palette with different sets of icons that you can apply to the
cell selection to indicate their values relative to each other by clicking the icon set.
See below screenshot with Icon Sets conditional formatting applied.
New Rule : It opens the New Formatting Rule dialog box, where
you define a custom conditional formatting rule to apply to the cell
selection.
Clear Rules : It opens a continuation menu, where you can remove
conditional formatting rules for the cell selection by clicking the
Selected Cells option, for the entire worksheet by clicking the
Entire Sheet option, or for just the current data table by clicking
the This Table option.
Manage Rules : It opens the Conditional Formatting Rules
Manager dialog box, where you edit and delete particular rules as
well as adjust their rule precedence by moving them up or down in
the Rules list box.
Creating Formulas in Excel 2010
Elements of Formulas
A formula can consist of any of these elements:
Mathematical operators, such as +(for addition) and *(for
multiplication)
Example:
=A1+A2 Adds the values in cells A1 and A2.
Values or text
Example:
=200*0.5 Multiplies 200 times 0.5. This formula uses only
values, and it always returns the same result as 100.
Cell references (including named cells and
ranges)
Example:
=A1=C12 Compares cell A1 with cell C12. If
the cells are identical, the formula returns
TRUE; otherwise, it returns FALSE.
Worksheet functions (such as SUM or
AVERAGE)
Example:
=SUM(A1:A12) Adds the values in the range
A1:A12.
Creating Formula
For creating formula you need to type in 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
used when defining the function’s arguments in the Function Arguments dialog box .
See below screen shot.
Copying Formulas in Excel 2010
Built in Functions
MS Excel has many built in functions which we can use in our formula. To see all the
functions by category choose Formulas Tab » Insert Function. Then Insert function Dialog
appears from which we can choose function.
Functions by categories
Let us see some of the built in functions in MS Excel.
Text Functions
LOWER : Converts all characters in a supplied text string to lower
case
UPPER : Converts all characters in a supplied text string to upper
case
TRIM : Removes duplicate spaces, and spaces at the start and
end of a text string
CONCATENATE : Joins together two or more text strings
LEFT : Returns a specified number of characters from the start of
a supplied text string
MID : Returns a specified number of characters from the middle
of a supplied text string
RIGHT : Returns a specified number of characters from the end
of a supplied text string
LEN : Returns the length of a supplied text string.
FIND : Returns the position of a supplied character or text
string from within a supplied text string (case-sensitive)
Date & Time
DATE : Returns a date, from a user-supplied year, month and
day
TIME : Returns a time, from a user-supplied hour, minute and
second
DATEVALUE : Converts a text string showing a date, to an
integer that represents the date in Excel's date-time code
TIMEVALUE : Converts a text string showing a time, to a
decimal that represents the time in Excel
NOW : Returns the current date & time
TODAY : Returns today's date
Statistical
MAX : Returns the largest value from a list of
supplied numbers
MIN : Returns the smallest value from a list of
supplied numbers
AVERAGE : Returns the Average of a list of supplied
numbers
COUNT: Returns the number of numerical values in
a supplied set of cells or values
COUNTIF : Returns the number of cells (of a
supplied range), that satisfy a given criteria
SUM : Returns the sum of a supplied list of numbers
Logical
AND : Tests a number of user-defined conditions and returns
TRUE if ALL of the conditions evaluate to TRUE, or FALSE
otherwise
OR : Tests a number of user-defined conditions and returns
TRUE if ANY of the conditions evaluate to TRUE, or FALSE
otherwise
NOT : Returns a logical value that is the opposite of a user
supplied logical value or expression i.e. returns FALSE is the
supplied argument is TRUE and returns TRUE if the supplied
argument is FALSE)
Math & Trig
ABS : Returns the absolute value (ie. the modulus) of a supplied
number
SIGN : Returns the sign (+1, -1 or 0) of a supplied number
SQRT : Returns the positive square root of a given number
MOD : Returns the remainder from a division between two
supplied numbers
Data Filtering in Excel 2010
Filters in MS Excel
Filtering data in MS Excel refers to displaying only the rows that meet certain conditions. (The
other rows gets hidden.)
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 below steps to do this
Place a cursor on the Header Row
Choose Data Tab » Filter to set filter
Using Multiple Filters
You can filter the records by multiple conditions i.e. by multiple column values. Suppose after
size 36 is filtered you need to have filter where color is equal to Coffee. After setting filter for
Shoe Size, choose Color column and then set filter for color
Data Sorting in Excel 2010
Sorting in MS Excel
Sorting data in MS Excel rearranges the rows based on the contents of a particular column.
You may want to sort a table to put names in alphabetical order. Or, maybe you want to
sort data by Amount from smallest to largest or largest to smallest.
To Sort the data follow below steps.
Select the Column by which you want to sort data.
Choose Data Tab » Sort Below dialog appears
If you want sort data based on selected column Choose Continue with the selection or If you
want sorting based on other columns choose Expand Selection.
You can Sort based on below Conditions.
Values : Alphabetically or numerically
Cell Color : Based on Color of Cell
Font Color : Based on Font color
Cell Icon : Based on Cell Icon
Clicking Ok will sort the data.
Sorting option is also avilable from the Home Tab. Choose Home Tab » Sort & Filter. You can
see same dialog to sort records.
Data Sorting in Excel 2010
Sorting in MS Excel
Sorting data in MS Excel rearranges the rows based on the contents of a particular column.
You may want to sort a table to put names in alphabetical order. Or, maybe you want to sort
data by Amount from smallest to largest or largest to smallest.
To Sort the data follow below steps.
Select the Column by which you want to sort data.
Choose Data Tab » Sort Below dialog appears
If you want sort data based on selected column Choose Continue with the selection or If
you want sorting based on other columns choose Expand Selection.
You can Sort based on below Conditions.
Values : Alphabetically or numerically
Cell Color : Based on Color of Cell
Font Color : Based on Font color
Cell Icon : Based on Cell Icon
Clicking Ok will sort the data.
Sorting option is also avilable from the Home Tab. Choose Home Tab » Sort & Filter. You
can see same dialog to sort records.
Data Validation in Excel 2010
Data Validation:
MS Excel data validation feature allows you to set up certain rules that dictate what can be
entered into a cell. For example, you may want to limit data entry in a particular cell to
whole numbers between 0 and 10. If the user makes an invalid entry, you can display a
custom message as shown below
Validation Criteria
To specify the type of data allowable in a cell or range, follow the steps below
while you refer to which shows all three tabs of the Data Validation dialog box.
Select the cell or range.
Choose Data » Data Tools » Data Validation. Excel displays its Data Validation
dialog box having 3 tabs settings, Input Message and Error alert.
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 cell is selected..
Error Alert Tab
You can specify 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
We can create new custom style in Excel 2010.To create a new style, follow these steps:
Select a cell and click on Cell styles from Home Tab
Click on New Cell Style and give style name
Click on Format to apply formatting to the cell
After applying formatting click on OK. This will add new style in the styles. You can view it
on Home » Styles.
Using Themes in Excel 2010
Using themes in MS Excel
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 temporarily displays the theme effect. When you
see a style you like, click it to apply the style to the selection.
Creating Custom Theme in MS Excel
We can create new custom Theme in Excel 2010.To create a new style, follow these steps:
Click on save current theme option under Theme in Page Layout Tab
This will save the current theme to office folder.
You can browse the theme later to load the theme.
Using Templates in Excel 2010
Using templates in MS Excel
Macros in MS Excel
Macros enable you to automate almost any task that you can undertake in Excel 2010. By
using macro recorder from View Tab » Macro Dropdown to record tasks that you perform
routinely, you not only speed up the procedure considerably but you are assured that each
step in a task is carried out same way each and every time you perform task.
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 MS Excel’s macro recorder to record your actions as you undertake them in a
worksheet
Enter the instructions that you want followed in VBA code in the Visual Basic Editor
Now lets create a simple simple macro that will automate the task of making cell
content Bold and apply cell color.
Choose View Tab » Macro dropdown
Click on Record Macro as below
Now Macro recording will start.
Do the steps of action which you want to perform repeatedly. Macro will record those steps.
You can stop the macro recording once done with all steps.
Edit Macro
You can edit the created Macro at any time. Editing macro will take you to the VBA
programming editor
Adding Graphics in Excel 2010
Graphic Objects in MS Excel
MS Excel supports various types of graphic objects like Shapes gallery, SmartArt, Text Box,
and WordArt available on the Insert tab of the Ribbon. Graphics are available in the Insert
Tab. See below screenshot for various available graphics in MS Excel 2010.
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
If you want to print a copy of a worksheet with no layout adjustment, use the Quick Print
option. There are two ways in which we can use this option.
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 print settings available in Page setup dialogue in different ways as below.Page
setup options include Page orientation, Page Size, Page Margins, etc.
The Print screen in Backstage View, displayed when you choose File » Print
The Page Layout tab of the Ribbon
Choosing your printer
To switch to a different printer, choose File » Print and use the drop-down control in the Printer
section to select a different installed printer.
Specifying what you want to print
Sometimes you may want to print only a part of the worksheet rather than the
entire active area. Choose File » Print and use the controls in the Settings section to
specify what to print.
Active Sheets : Prints the active sheet or sheets that you selected
Entire Workbook : Prints the entire workbook, including chart sheets
Selection : Prints only the range that you selected before choosing File » Print
Email Workbooks MS Excel 2010
Email Workbook
MS Excel allows you to email the workbook very easily. To email the workbook to anyone
follow below steps.
Choose File » Save and Send. It basically saves the document first and then emails.
Click on Send using E-mail . If your email system is configured. MS
Outlook will open with the file as attachment in the New Email
Window . You can send mail to anyone this workbook with valid email
address.
Translate Worksheet in Excel 2010
Translate Worksheet
You can translate text written in a different language, such as phrases or paragraphs,
individual words (by using the Mini Translator), or translate your whole file with MS
Excel 2010.
Translation is available in review tab of ribbon in MS Excel 2010. You can quickly
translate cell into different language with this option.
Performing translation step by step
select the content which you want to translate to different language.
Pivot tables
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 will generate the pivot table with the
data as below
Simple Charts in Excel 2010
Charts
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.
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).
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