SESSION I:
MICROSOFT EXCEL
Dr. Apoorva Gupta
TOPICS
Session I: Basic excel
Session II: Data cleaning
Session III: Data organizing and visualizing
Session IV: Basic Statistical Analysis
2
3
INTRODUCTION TO EXCEL
MS Excel is a part of MS Office family.
It is used for storing data and doing various types of
mathematical calculations.
Excel can do calculations ranging from simple addition-
subtraction to complex things like regression analysis.
Excel is like your Maths copy, collection of rows and
columns.
DO YOU KNOW HOW TO OPEN EXCEL???
Do you know how to operate Excel through Mobile Phone or
Google Sheets? 4
5
DIFFERENT ELEMENTS OF EXCEL
Title Bar: - Title of the workbook and three buttons
called window controls.
Menu Bar: - Displays NINE different menu names (or
options) to be used.
Tool Bar: - Collection of tools
Windows Workbook: - The area where you do all you
data entry and calculations.
6
Apoorva Gupta
March, 2014
Ramjas College
7
ADDRESS BAR
Each Cell has an address
Cell Address: - A1
Columns are represented Alphabets
Rows are represented by Numbers
Total number of rows=65536
Total number of columns=256
Total number of cells=65536*256
8
Formula Bar: - Displays whatever you write in a
cell.
Three types of “PLUS” signs.
Bold Plus
Arrow Plus
Simple Plus
LET’S UNDERSTAND THEM
9
WORKBOOK V/S WORKSHEET
A sheet of paper is a collection of different rows.
A copy is a collection of different pages.
Similarly, a worksheet in excel is a collection of
rows and columns.
A workbook is a collection of worksheets.
PROPERTIES OF SHEET
Add or Remove a Sheet
Rename a Sheet
Change the Position of Sheet
Change Colour
Hide/ Unhide Sheet 10
Protect Sheet
SAVING AN EXCEL WORKBOOK
Save a workbook, not a worksheet.
Extension is: - .xls (.xlsx)
“My First Excel File.xlsx”
Windows icon, save
Ctrl+S
Save v/s Save As
11
SHORTCUT KEYS
Shortcut Key Description Shortcut Key Description
ctrl+A Select All ctrl+N New
ctrl+B Bold ctrl+O Open
ctrl+C Copy ctrl+P Print
ctrl+D Redo ctrl+Q Symbol font
ctrl+E Align Centre ctrl+R Right Align
ctrl+F Find ctrl+S Save
ctrl+G Go to ctrl+T Create Table
ctrl+H Replace ctrl+U Underline
ctrl+I Italics ctrl+V Paste
ctrl+J Jutify ctrl+W Close File
ctrl+K Hyperlink ctrl+X Cut
ctrl+L Left Align ctrl+Y Repeat
ctrl+M Indent ctrl+Z Undo
12
CELL PROPERTIES
Font Size
Font Type
Font Color
Font Format:- Bold, Italics, Underline
Alignment of Text:- Centre, Right, Left, Top, Middle,
Bottom
Cell Border
Wrap Text
Merge and Splitting Cells
Eg: Annual Sales
13
Changing Column Width
Changing Row Height
Deleting or Adding Rows and Columns
Cell Border
Sorting
Eg: GDP and Money Supply
Be careful about the “Expand the current selection”
14
15
BASIC CALCULATIONS
Take some numbers and do basic calculations
Addition, Subtraction, Multiplication, Division, Average
Can use any function, either by clicking on “Insert Function”
button, or by going to “Formulas” menu
Every formula starts with “=” Sign.
Operation on cells, or on the numbers in the cell???
Excel also works on BODMAS rule.
16
REFERENCING A CELL
“$” means fixing
Absolute v/s relative reference of the cell
Eg: (B3/B15*100) or (B3/$B$15*100)
$Letter$Number
$A$1
$Letter Number
$A1
Letter $Number
A$1
Refer to: $ Sign sheet
Refer to: GDP & MS sheet for application to percentage
Paste Special
Eg: GDP 17
Formula, transpose, values, others
CREATE NEW VARIABLES
Square variables: X2 = X * X or X^2
Square Root of X = sqrt(X) or X^(1/2)
Interaction Variables: X * Y
Logarithmic of X: Ln(X); Log(X); Log10(X)
Lag Variable of X: Xt – Xt-1
Growth Rate of X: (Xt – Xt-1)/Xt-1
Absolute Value: abs(-1) => 1
Increasing points after Decimals
Look at help of the function 18
WHAT HAPPENS WHEN FORMULA EXTENDS
OVER THE SHEETS?
Same cell reference across the sheets:
=SUM(Sheet2:Sheet4!B7)
Different cells on different sheets
=SUM(Sheet2!B7,Sheet3!B4,Sheet4!B3)
19
FREEZE PANES AND SPLIT WINDOWS
When data is huge and need to work on two
columns/ rows which do not appear together on
the window.
View -> Freeze Panes
View -> Split
20
FILTER
Useful when you have to work with a subset of
your data.
Eg: Sports
Home menu -> Filter
Data menu -> Filter
Sort: Ascending/Descending/Custom Sort
Expand the selection
21
MAKING CHARTS IN EXCEL
Insert -> Charts
Chart Menu will appear
Choose data, chart type
Chart Design, Layout and Format
Chart Title, Legend (index), Data Labels, Label Axis
Charts take cell reference and not the number
Eg: Annual Sales (Simple), Religion (Pie), Marks
(Joint Graph)
MAKE YOUR CHART AS ATTRACTIVE AS 22
POSSIBLE.
LEARN EXCEL YOURSELF
Learning by doing
Click F1 for help
Click sign of “?” on the top right corner
Practice the details that appear on your window.
23