Excel Examples
Excel Examples
S# Description
1 Getting Familiar with Excel
What is excel - is it useful
Will I be able to use it
How to use excel
2 Data Entry
What data can be entered
How to input data
3 Simple operations
What does excel do with data
Can I process the data
4 Creating excel sheets
Creating simple financial models
Making excel work for us
Lets process two numbers
Sales Table
Number 1 100 Salesperson Q1 Q2 Q3
Number 2 200 Amit 4 6 7
Sum 300 Ankush 3 6 6
Average 150 Birendra 5 4 8
Difference 100 Indra 4 5 7
Maximum 200 Dilip 3 5 6
Minimum 100 Total 19 26 34
19 26 34
39
Err:504
50
Sales #REF!
Amit #REF!
0.5
5 5 5
Q4 Total
8 25
9 24
7 24
8 24
7 21
39 118
39
Data
Sales 1
8/12/2008 1
0
19 1
22.24 1
1 0
#DIV/0! #DIV/0!
3
COUNT FUNCTION
Description
Counts the number of cells that contain numbers in cells A2 through A8.
Counts the number of cells that contain numbers in cells A5 through A8.
Counts the number of cells that contain numbers in cells A2 through A8, and the value 2
COUNTA
Counts the number of nonblank cells in cells A2 through A8
COUNTBLANK
Counts empty cells in the range A2 through A8
COUNTIF
Counts the number of cells with a given criteria (>15)
Formula
3
2
4
3
Simple IF Examples
IF fetches one of the two values based on a condition
Syntax if(is-this-true?, do this, or this)
Predicted
Actual Expenses Over Budget or OK
Expenses
1500 900 Over Budget
500 900 OK
500 925 OK
Sales Table
Salesperson Q1 Q2 Q3
Amit 4 6 7
Ankush 3 6 6
Birendra 5 4 8
Indra 4 5 7
Dilip 3 5 6
19 26 34
4 q2
=VLOOKUP( this value, your data table, column number, optional is your table sort
Data
Sales Person No. Customers Net Sales Profit / Loss
Joseph 8 1,592 563
John 8 1,088 397
Josh 8 1,680 753
Jamie 9 2,133 923
Jackie 10 1,610 579
Johnson 10 1,540 570
Jonathan 7 1,316 428
Jagjit 7 1,799 709
?osh 8 1,624 621
Jessy 6 726 236
Javed 9 2,277 966
Jimmy 6 714 221
Juno 9 2,682 1,023
Questions Answer
1. How much sales did John make? 1088
2. How many customers did Jamie have? 9
3. What is the profit of Jessy? 236
4. How many customers did Joshua have? 6
Homework
Questions Your Answer
1. How many sales for the person in cell G17?
2. Who made more sales - Jamie or Jackie?
3. What is the sale per customer for Jagjit?
4. What is the profit % for person in G17?
Jonathan
=VLOOKUP(2,$B$32:$C$38,2,TRUE) 0.11
=VLOOKUP(2.5,$B$32:$C$38,2,TRUE) 0.11
=VLOOKUP(8,$B$32:$C$38,2,TRUE) 0.53
=VLOOKUP(0.5,$B$32:$C$38,2,TRUE) #N/A
nd returns corresponding value from adjacent columns.
Formula
=VLOOKUP("John",$B$5:$E$17,3,FALSE)
=VLOOKUP("Jamie",$B$5:$E$17,2,FALSE)
=VLOOKUP("Jessy",$B$5:$E$17,4,FALSE)
=VLOOKUP("Joshua",$B$5:$E$17,2,FALSE)
=VLOOKUP("?osep?",$B$8:$E$20,3,FALSE)
=VLOOKUP("*seph",$B$8:$E$20,3,FALSE)
=VLOOKUP("?osh",$B$8:$E$20,3,FALSE)
=VLOOKUP("~?osh",$B$8:$E$20,3,FALSE)
Simple OFFSET Examples
OFFSET returns a cell or range of cells that is a specified nu
Syntax =OFFSET(reference, rows, cols, [height], [width])
Anchor
Data
Month East West
Jan 510 1,010
Feb 605 1,467
Mar 648 1,034
Apr 155 1,030
May 691 588
Jun 861 694
Jul 379 1,219
Aug 317 610
Sep 928 1,159
Oct 340 746
Nov 443 1,213
Dec 934 1,209
ange of cells that is a specified number of rows and columns from a
s, [height], [width])
=OFFSET(B6,3,2,1,1) 1034
=SUM(OFFSET(B6,5,1,2,2)) 2834
number of rows and columns from a cell or range of cells.
Simple DATE Examples
DATE returns the number that represents the date in excel
Syntax
6/23/2012
=B6
6:00
=B8
6/23/2012 6:00
=B10
=YEAR(B6)
=B6+5
=DATE(YEAR(B6)+4,MONTH(B6)+2,DAY(B6)+5)
=NOW()
6:45:17
=HOUR(B16)
=TIME(HOUR(B16)+2,MINUTE(B16)+10,SECOND(B16)+70)
presents the date in excel
=DATE(year, month, day)
4/7/2016
6/23/2012 8/12/2012
41083 9/25/2015
6:00 1139
0.25 1139
6/23/2012 6:00 12/31/1899
41083.25 9/23/2018
2012
6/28/2012
8/28/2016
9/23/18 7:20 AM
6:45:17
6
8:56:27
11/12/2012 =EDATE(D6,3)
2015 =YEAR(D7)
9 =MONTH(D7)
25 =DAY(D7)
1 "First Date"
=today()
12/24/2016 12/24/2016
12/24/2016 42728
1 1
Simple ROUND Examples
Rounds a number to a specified number of digits
Syntax =Round(number, num_digits)
=Roundup(number, num_digits)
=Rounddown(number, num_digits)
=mround(number, multiple)