Sunteți pe pagina 1din 75

Excel Prodigy Training & Consultancy Pvt

A Premier Corporate Training Company | Microsoft Authorized Testing Center


+91 89 39 89 8008 +91 72991 00354
sethu@excelprodigy.com info@excelprodigy.com
www.excelprodigy.in www.facebook.com/excelprodigy

Trainer : Mohamed Yousuf, Microsoft Certified Trainer


+91 98840 99951 yousuf@excelprodigy.com
facebook.com/friendyousuf linkedin.com/in/friendyousuf

The use of this training model (Excel file) is intended solely as a learning aid for
participants of Excel Prodigy's training programs. Excel Prodigy assumes no
responsibility or liability whatsoever, to the client or to any third party, for any other
use or purpose.

For Training Purposes Only


© Excel Prodigy | All rights reserved
ltancy Pvt

m/excelprodigy

endyousuf
Cell - A1 Column Headers ------------------------------------> No of Columns 256

Vertcal Lines -
Row Headers <---------------------------------------- No of Rows 65536

Columns
Horizontal Lines - Rows Cell - E14

H17
H18
H19
Columns Rows H20
16,384 1,048,576 H21
16 64 H22
H23
16 Times of 64 Times of H24
earlier Vaersions earlier Vaersions H25
H26
H27
Row Hea
<------------ Scroll Bar ------
<------------ Scroll Bar -------->
-------- Scroll Bar ------------>
Version Released Comments
1 1985 Version 1, for the Macintosh was released.
The first Windows version was labelled "2" to correspond to the Mac version. This included a ru
2 1987 time version of Windows.
Included toolbars, drawing capabilities, outlining, add-in support, 3D charts, and many more ne
3 1990 features.
4 1992 The first "popular" version. Included lots of usability features.
5 1993 A major upgrade. Included multi-sheet workbooks and support for VBA.**
Known as Excel 95. The first major 32-bit version of Excel**. Feature-wise, it's very similar to Ex
7* 1995 5.
Known as Excel 97. A new interface for VBA developers, UserForms, data validation, and lots
8 1997 more.
Known as Excel 2000. Can use HTML as a native file format, "self-repair" capability, enhanced
9 1999 clipboard, pivot charts, modeless user forms.
Known as Excel 2002, this is part of Office XP. It has a long list of new features, but most of the
10 2001 will probably be of little value to the majority of users. Perhaps the most significant feature is t
ability to recover your work when Excel crashes.
Known as Excel 2003, the new features in this version are: (a) improved support for XML, (b) a
11 2003 new "list range" feature, (c) Smart Tag enhancements, and (d) corrected statistical functions.
Most users will not find the upgrade worthwhile.

Excel "12" (Excel 2007) arrived early in 2007, and represents a BIGstep forward - the largest fo
10 years.
A lot of improvements have been made. Although the interface is radically changed, with for th
12  2007 first time Word, Excel and PowerPoint sharing a common look-and-feel, a lot of the underlying
features and commands remain the same.
Experienced users are in for a steep learning curve, at the end of which users will enjoy fewer
mouse clicks and thus better efficiency!!!
14*** 2010 Builds on Excel 2007 and is due to arrive in the first half of 2010. Offers improved network
collaboration and introduces Office Web Apps - lightweight versions of the Office Suite accessib
online.
ed.
c version. This included a run-

D charts, and many more new

ity features.
upport for VBA.**
-wise, it's very similar to Excel

ms, data validation, and lots

repair" capability, enhanced


ms.
w features, but most of them
most significant feature is the
shes.
roved support for XML, (b) a
rrected statistical functions.
while.

step forward - the largest for

adically changed, with for the


-feel, a lot of the underlying
me.
which users will enjoy fewer
!!
. Offers improved network
s of the Office Suite accessible
BODMAS - Brackets, Order/Index (or Power), Division, Multiplication, Addition & Subtraction

Brackets 2+3*4 14 20
=2+3*4 =(2+3)*4

Order/Index (or Power) 1 + 2 ^ 3 -2 7 25


=1+2^3-2 =(1+2)^3-2

Division 2+6/2 5 4
=2+6/2 =(2+6)/2
IMP: Formulas in Excel always start with = (is equal to) sign
Formula by selectng different Cells

C6 + C8 ------ For Additon of two different Cells


Explainaton

B8 * B9 ------ For Multplicaton of two different Cells


B9 / B10 ------ For Division of two different Cells
E10 - G10 ------ For Subtracton of two different Cells

Different ways of Adding numbers

1. by using '+' sign D18+E18+F18


2. By using 'Sum' for different Cells SUM(D19,E19,F19)
3. By using 'Sum' for a range SUM(D20:F20)

Example
15 120
25 120
35 120
45
Formula Usage
45 60
15 675
48 3.2
68 20
Keyboard Shortcuts

General Formatting Text In Worksheet


New file Ctrl + N Bold toggle for selection Ctrl + B
Open file Ctrl + O Italic toggle for selection Ctrl + I
Save file Ctrl + S Underline toggle for selection Ctrl + U
Move between open workbooks Ctrl + Tab Strikethrough for selection Ctrl + 5
Close file Ctrl + F4 Change the font Ctrl + Shift + F
Save as F12 Change the font size Ctrl + Shift + P
Display the print menu Ctrl + P
Select whole spreadsheet Ctrl + A Highlightng Cells
Select column Ctrl + Space Select entire worksheet Ctrl + A
Select row Shift + Space Select entire row Shift + Spacebar
Undo last action Ctrl + Z Select entire column Ctrl + Spacebar
Redo last action Ctrl + Y Manual select Shift + Arrow Key
Exit Excel Alt + F4
Spell Check F7 Formatting Cells
Cut Ctrl + X Format cells Ctrl + 1
Copy Ctrl + C Format as number Ctrl + Shift + 1
Paste Ctrl + V Format as date Ctrl + Shift + 3
Find text Ctrl + F Format as currency Ctrl + Shift + 4
Recalculate F9 Format as percentage Ctrl + Shift + 5

Navigatng Editng/Deletng Text


Move to next cell in row Tab Delete one character to right Delete
Move to previous cell in row Shift + Tab Delete one character to left Backspace
Up one screen Page Up Edit active cell F2
Down one screen Page Down Cancel cell entry Escape Key
Move to next worksheet Ctrl + Page Down
Move to previous worksheet Ctrl + Page Up Insertng Text Automatcally
Go to first cell in data region Ctrl + Home Autosum a range of cells Alt + Equals Sign
Go to last cell in data region Ctrl + End Insert the date Ctrl + ; (semi-colon)
Data Region Left Ctrl + Left Arrow Insert the time Ctrl + Shift + ; (semi-colon)
Data Region Right Ctrl + Right Arrow Insert columns/rows Ctrl + Shift + "+" (plus sign)
Data Region Down Ctrl + Down Arrow Insert a new worksheet Shift + F11
Data Region Up Ctrl + Up Arrow Delete columns/rows Ctrl + Shift + "- "
Select Whole Data Region Ctrl + Shift + 8
Move to Next Sheet Ctrl + Page Down
Move to Prior Sheet Ctrl + Page Up
Access Drop down menu Alt + Down/Up Arrow
Zoom in / out Ctrl + mouse scroll
Error Checking

Errors happen, but if you know why they are happening, they can help you to understand your data
There are 7 different types of errors in Excel:

#NULL! Occurs when you specify an intersection of two areas that do not intersect. The intersection operator is a space
#NULL! Occurs when a number is divided by zero (0).
#NULL! Occurs when the wrong type of argument is used.
#NULL! Occurs when a cell reference is not valid
#NULL! Occurs when Microsoft Excel doesn't recognize text in a formula.
#NULL! Occurs with invalid numeric values in a formula or function.
#NULL! Occurs when a value is not available to a function or formula.

to find if a value in a cell is an error, use the ISERROR() function


to create a #N/A, use the NA() function

Example

Standard problem: error check


1 25 1 25 25
2 30 2 30 30
3 #N/A 3 #N/A
4 15 4 15 15
total #N/A total #N/A 70

The error messes up computations Can now find the total


ection operator is a space between references.

formula used:
=IF(ISERROR(G18),"",G18)

n now find the total despite the bad data


Absolute vs. Relative references

To create an absolute reference, you insert a dollar sign ($) before the column and row of the cell refe
For example, the cell reference $B$8 is an absolute reference, whereas the cell reference B8 is a rela
If you copy a formula that contains the absolute reference $B$8 to another cell, the cell reference $B$
On the other hand, if you copy a formula containing the relative reference B8 to another cell, the refe

Relative formula result


1 =C10 1 Both the row and colums change based o
2 2 In this case, as the row changes, so does
3 3
4 4
5 5

Absolute formula result


1 =$C$10 1
2 1 When copyed down, the reference stays t
3 1
4 1
5 1

To create a reference to another sheet, include the sheet name, followed by an excalimation mark (!),
and row of the cell reference.
l reference B8 is a relative reference.
, the cell reference $B$8 does not change.
o another cell, the reference B8 changes.

olums change based on their relative postions


row changes, so does the row's relative reference

n, the reference stays the same

excalimation mark (!), then the cell range


In Excel, Cell reference identifies the location a cell or group of cells in the spreadsheet. Sometimes referred to as a cell addre
column letter and row number that intersect at the cell's location. Note that when listing a cell reference, the column letter is

Serial No Method What is referenced? Type

Cell referencing
1 A1 Cell Relative
2 A$1$ Cell Absolute

3 A$1 Cell Mixed

4 $A1 Cell Mixed

Range referencing
5 A1:B3 Range Relative
6 5:5 Range Relative
7 B:B Range Relative
8 5:7 Range Relative
9 B:E Range Relative
10 $A$1:$B$3 Range Absolute
11 $B:$B Range Absolute

Relatve Reference Cell referred Absolute reference Mixed Reference


15 15 15 15
16 16 15 15
17 17 15 15
18 18 15 15
19 19 15 15
20 20 15 15
21 21 15 15
22 22 15 15
preadsheet. Sometimes referred to as a cell address, a cell reference consists of the
t when listing a cell reference, the column letter is always listed first.

Usage

A is column identifier, 1 is row identifier


The cell A1. Cut-pasting formula to another location will not change the
reference.
The $ makes the column reference absolute, leaving the row reference
relative
The $ makes the Row reference absolute, leaving the Column reference
relative

This references 6 cells (A1, A2, A3, B1, B2, B3)


All cells in row 5
All cells in column B
All cells in rows from 5 to 7
All cells in columns from B to E
This is Absolute references of 6 cells (A1, A2, A3, B1, B2, B3)
Absolute Reference of all cells in column B

Mixed Reference
15
16
17
18
19
20
21
22
COUNTIF - Conditonal Count
What for? Counts the number of cells within a range that meet the gi

Syntax COUNTIF(range,criteria)

Code Name City Dept Basic Incentve Total Salary


C001 John Durham Sales 69527 157 69683
C002 Kim Durham Marketing 14775 3088 17863 Few Examples or Applica
C003 Sharie Naples Finance 53429 4900 58329
C004 Lynn Naples Finance 52389 4508 56897
C005 Sandi Durham Finance 35842 2025 37867
C006 Allan Naples Sales 88736 9611 98347 How to Count number of rec
C007 Greg Durham Marketing 83162 9878 93040 1
C008 Mike Durham Operations 31915 4303 36218
C009 Mark Durham Sales 49108 9151 58259
C010 Adam Naples Marketing 10633 1787 12420 How to get Salary for
C011 Robert Naples Marketing 73532 8407 81939 2
C012 Bill Naples Operations 33990 6533 40523
C013 Lewis Durham Sales 8071 9773 17844
C014 Ashley Naples Operations 86497 4798 91296 Sum of all salaries where
C015 Kim Durham Marketing 14775 3088 17863 3
C016 Sharie Naples Finance 53429 4900 58329
C017 Lynn Naples Finance 52389 4508 56897
C018 Sandi Durham Finance 35842 2025 37867 Sum of all salaries where d
C019 Allan Naples Sales 88736 9611 98347 4
C020 Greg Durham Marketing 83162 9878 93040
C021 Mike Durham Operations 31915 4303 36218
C022 Mark Naples Sales 49108 9151 58259 Sum of Salary where City = w
C023 Adam Durham Marketing 10633 1787 12420 5
C024 Robert Naples Marketing 73532 8407 81939
C025 Bill Naples Operations 33990 6533 40523
C026 Lewis Durham Sales 8071 9773 17844 Sum of Salary where Total salar
C027 Ashley Naples Operations 86497 4798 91296
C028 Tracy Durham Finance 86594 2901 89495
nal Count
a range that meet the given criteria

ange,criteria)

Few Examples or Applicatons of - 'COUNTIF'

How to Count number of records with name 'Allan'


2

How to get Salary for City = Durham


14

Sum of all salaries where Total salary < 50000


12

Sum of all salaries where dept containing "ING"


8

Sum of Salary where City = word contained in "L31"


14 Naples

Sum of Salary where Total salary is in range 50000-80000


7
SUMIF - Conditonal Sum
What for? Adds the cells specified by a given criteria

Syntax SUMIF(range,criteria,sum_range)

Code Name City Dept Basic Incentve Total Salary


C001 John Durham Sales 69527 157 69683
C002 Kim Durham Marketing 14775 3088 17863 Few Examples or Applicatons of - 'SUMI
C003 Sharie Naples Finance 53429 4900 58329
C004 Lynn Naples Finance 52389 4508 56897
C005 Sandi Durham Finance 35842 2025 37867
C006 Allan Naples Sales 88736 9611 98347 How to Sum salary where name is 'Allan
C007 Greg Durham Marketing 83162 9878 93040 1 196693.706
C008 Mike Durham Operations 31915 4303 36218
C009 Mark Durham Sales 49108 9151 58259
C010 Adam Naples Marketing 10633 1787 12420 How to get Salary for City = Durham
C011 Robert Naples Marketing 73532 8407 81939 2 601869.387
C012 Bill Naples Operations 33990 6533 40523
C013 Lewis Durham Sales 8071 9773 17844
C014 Ashley Naples Operations 86497 4798 91296 Sum of all salaries where Total salary < 500
C015 Kim Durham Marketing 14775 3088 17863 3 270454.378
C016 Sharie Naples Finance 53429 4900 58329
C017 Lynn Naples Finance 52389 4508 56897
C018 Sandi Durham Finance 35842 2025 37867 Sum of all salaries where dept containing "IN
C019 Allan Naples Sales 88736 9611 98347 4 364206.788
C020 Greg Durham Marketing 83162 9878 93040
C021 Mike Durham Operations 31915 4303 36218
C022 Mark Durham Sales 49108 9151 58259 Sum of Salary where City = word contained in
C023 Adam Naples Marketing 10633 1787 12420 5 798413.912
C024 Robert Naples Marketing 73532 8407 81939
C025 Bill Naples Operations 33990 6533 40523
C026 Lewis Durham Sales 8071 9773 17844 Sum of Salary where Total salary is in range 5000
C027 Ashley Naples Operations 86497 4798 91296 379378.646
C028 Tracy Durham Finance 86594 2901 89495
Sum
y a given criteria

sum_range)

Examples or Applicatons of - 'SUMIF'

w to Sum salary where name is 'Allan'

How to get Salary for City = Durham

of all salaries where Total salary < 50000

f all salaries where dept containing "ING"

alary where City = word contained in "L31"


Naples

ary where Total salary is in range 50000-80000


Conditonal Test - IF
To Evaluate Specific Condition(s), Returns one value if a condition you spe
What for?
evaluates to TRUE and another value if it evaluates to FALSE.

Syntax IF(logical_test,value_if_true,value_if_false)

Few Examples of Applicatons of - 'IF' Test


Test Cell Result / Formula Cell

How to Check number in cell is '>=' than 500 or not


1 500 Greater than or equal to 500

How to Check Format of a cell is Text or not


2 200 Other Format

How to a cell containng number between 0-500 (excluding


0 & 500) or not
3 500 Out of range

How to Remove error from a cell


4 45 N/A
0

Nested if - Two or more conditions


5 250 0-250
alue if a condition you specify
t evaluates to FALSE.
This options is very useful for Graphical Presentation of the numerical
data. We have several different types of charts available here, like Bar
Charts - Menu - Charts, Pie Chart, Line Chart, Scatter Chart, Column Charts etc.
'Insert'

Date WACHOVIA WelchPrint Grand Total


31-Mar-08 178.48 160.48 338.96 800.00
1-Apr-08 349.89 2.04 351.93
2-Apr-08 192.78 382.84 575.62 700.00
3-Apr-08 101.66 282.55 384.20
600.00
4-Apr-08 78.55 3.43 81.98
5-Apr-08 586.86 34.57 621.43 500.00
6-Apr-08 688.86 688.86
7-Apr-08 247.12 263.77 510.89 400.00
8-Apr-08 447.72 447.72
9-Apr-08 415.16 57.19 472.35 300.00
10-Apr-08 227.61 94.32 321.94
200.00
11-Apr-08 453.52 28.85 482.37
12-Apr-08 314.38 25.83 340.21 100.00
13-Apr-08 116.13 12.38 128.50
14-Apr-08 20.91 4.08 24.99 0.00
8 8 8 8 8 8
15-Apr-08 144.69 144.69 ar
-0
p r-0 p r-0 p r-0 p r-0 p r-0
-M A A A A -A
16-Apr-08 163.47 163.47 2- 4- 6- 8- 10
31
17-Apr-08 207.00 207.00 WACHOVIA Wel chP
18-Apr-08 28.17 28.17
19-Apr-08 244.13 244.13
Grand Total 5000.08 1559.33 6559.41

Pie Chart
800.00
Grand Total 700.00
600.00
500.00
400.00
WelchPrint;
23.77% 300.00
200.00
WACHOVIA; 100.00
76.23%
0.00
8 8
ar
-0
pr-0
-M A
7-
31
23.77% 300.00
200.00
WACHOVIA; 100.00
76.23%
0.00
8 8
ar
-0
pr-0
M -A
3 1- 7
on of the numerical
ilable here, like Bar
umn Charts etc.

Column Chart

8 8 8 8 8 8 8
pr
-0
p r-0 p r-0 p r-0 p r-0 p r-0 p r-0
A -A A A -A A
8- 10 12
-
14
-
16 18
-

WACHOVIA Wel chPri nt

Line Chart

WACHOVIA

WelchPrint

8 8
pr-0 p r-0
A A
7- 1 4-
WelchPrint

8 8
pr-0 p r-0
7 -A -A
14
Vlookup
Searches for a value in the first column of a table array and returns a value in
What for?
the same row from another column in the table array.

Syntax VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)

=VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)

Value you are trying to match


Table of data you are looking in to find the match
The column of the value you want to return
Should always be "FALSE"

The table_array should always be an absolute reference ($ before column and row values)
The col_index_num is relative to the table_array, not the column of the Excel worksheet

Team Team Conference


BAL ARI National
ATL National
BAL American
BUF American
CAR National
CHI National
Example: This vlookup returns the conference Baltimore belongs to:
American =VLOOKUP(D14,$F$21:$G$26,2,FALSE)

remember that these dollar signs nail down the row and column references
since this is a relative reference, it will change as you copy and paste this formula down or across a block of data

Code Basic Incentve Total Salary Code Basic Incentve Total Salary
C001 69527 6953 76479 C001 69527 6953 76479
C002 14775 1478 16253 C002 14775 1478 16253
C003 53429 5343 58771 C003 53429 5343 58771
C004 52389 5239 57628 C004 52389 5239 57628
C005 35842 3584 39426 C005 35842 3584 39426
C006 88736 8874 97609 C006 88736 8874 97609
C007 83162 8316 91479 C007 83162 8316 91479
C008 31915 3191 35106 C028 #N/A #N/A #N/A
C009 49108 4911 54019 13 7388 369 3879
C010 10633 1063 11697 18 7388 369 3879
C011 73532 7353 80886 24 26195 1310 13752
C012 33990 3399 37389 49 17921 896 9409
C013 8071 807 8878
C014 86497 8650 95147
C015 14775 1478 16253
C016 53429 5343 58771
C017 52389 5239 57628
C018 35842 3584 39426
C019 88736 8874 97609

Code Basic Incentve Total Salary


1 34763 1738 18251
2 7388 369 3879
3 26714 1336 14025
6 26195 1310 13752
7 16995 850 8922
9 4036 202 2119
10 43249 2162 22706
12 7388 369 3879
19 26714 1336 14025
21 26195 1310 13752
45 17921 896 9409
60 44368 2218 23293
y and returns a value in
table array.

m,range_lookup)

and row values)


cel worksheet

and column references


own or across a block of data

Total Salary
Select the cells that you would like to sort and then Select Data from the menu and click on Sort.
Code Name City Dept Basic Incentve Total Salary
C001 John Durham Sales 69527 157 69683
C002 Kim Durham Marketing 14775 3088 17863
C003 Sharie Naples Finance 53429 4900 58329
C004 Lynn Naples Finance 52389 4508 56897
C005 Sandi Durham Finance 35842 2025 37867
C006 Allan Naples Sales 88736 9611 98347
C007 Greg Durham Marketing 83162 9878 93040
C008 Mike Durham Operations 31915 4303 36218
C009 Mark Durham Sales 49108 9151 58259
C010 Adam Naples Marketing 10633 1787 12420
C011 Robert Naples Marketing 73532 8407 81939
C012 Bill Naples Operations 33990 6533 40523
C013 Lewis Durham Sales 8071 9773 17844
C014 Ashley Naples Operations 86497 4798 91296
C002 Kim Durham Marketing 14775 3088 17863
C003 Sharie Naples Finance 53429 4900 58329
C004 Lynn Naples Finance 52389 4508 56897
C005 Sandi Durham Finance 35842 2025 37867
C006 Allan Naples Sales 88736 9611 98347
C007 Greg Durham Marketing 83162 9878 93040
C008 Mike Durham Operations 31915 4303 36218
C009 Mark Durham Sales 49108 9151 58259
C010 Adam Naples Marketing 10633 1787 12420
C011 Robert Naples Marketing 73532 8407 81939
C012 Bill Naples Operations 33990 6533 40523
C013 Lewis Durham Sales 8071 9773 17844
C014 Ashley Naples Operations 86497 4798 91296
C015 Tracy Durham Finance 86594 2901 89495
Filter
What For? Filter the rows having some specified data

Data Filters

Alt + D + F + F (Data - Filter - AutoFilter)

Filtered columns have a blue arrow column1 column2 column3


Filtered rows have blue numbers 86 4 0.28
All rows not matching the selected criteria are 76 7 0.39
9 3 0.42
23 2 0.63
- abc 0.42
52 6 0.43

Steps for Filtering Data


Code Name City Dept Basic Incentve Total Salary Step 1 Select the data range
C001 John Durham Sales 69527 157 69683 Step 2 Click Filter from Data M
C002 Kim Durham Marketing 14775 3088 17863 Step 3 Select the Drop Down
C003 Sharie Naples Finance 53429 4900 58329
C004 Lynn Naples Finance 52389 4508 56897
C005 Sandi Durham Finance 35842 2025 37867
C006 Allan Naples Sales 88736 9611 98347
C007 Greg Durham Marketing 83162 9878 93040
C008 Mike Durham Operations 31915 4303 36218
C009 Mark Durham Sales 49108 9151 58259
C010 Adam Naples Marketing 10633 1787 12420
C011 Robert Naples Marketing 73532 8407 81939
C012 Bill Naples Operations 33990 6533 40523
C013 Lewis Durham Sales 8071 9773 17844
C014 Ashley Naples Operations 86497 4798 91296
C002 Kim Durham Marketing 14775 3088 17863
C003 Sharie Naples Finance 53429 4900 58329
C004 Lynn Naples Finance 52389 4508 56897
C005 Sandi Durham Finance 35842 2025 37867
C006 Allan Naples Sales 88736 9611 98347
C007 Greg Durham Marketing 83162 9878 93040
C008 Mike Durham Operations 31915 4303 36218
C009 Mark Durham Sales 49108 9151 58259
C010 Adam Naples Marketing 10633 1787 12420
C011 Robert Naples Marketing 73532 8407 81939
C012 Bill Naples Operations 33990 6533 40523
C013 Lewis Durham Sales 8071 9773 17844
C014 Ashley Naples Operations 86497 4798 91296
C015 Tracy Durham Finance 86594 2901 89495
pecified data

Filtering Data
Select the data range
Click Filter from Data Menu
Select the Drop Down Menu from the Columns
Most powerful tool to arrange huge amounts of data in a more structured way than pure sortng. In partcular help
sums, averages, distributons, etc. in combinaton with a structure criteria

Pivot Table

Month Subject Student Score Sum - Score Student


January Art Elisa 89 Elisa
February Art Elisa 83 Subject January
March Art Elisa 92 Art 150
January English Elisa 87 English 87
February English Elisa 51 French 62
March English Elisa 41 History 81
January French Elisa 62 Maths 65
February French Elisa 57 Science 58
March French Elisa 56 Total Result 503
January History Elisa 81
February History Elisa 84
March History Elisa 91
January Maths Elisa 65
February Maths Elisa 72
March Maths Elisa 71
January Science Elisa 58
February Science Elisa 89
March Science Elisa 41
January Art Elisa 61
February Art Mary 59
March Art Mary 48
January English Mary 87
February English Mary 68
March English Mary 41
January French Mary 92
February French Mary 93
March French Mary 90
January History Mary 58
February History Mary 61
March History Mary 67
January Maths Mary 53
February Maths Mary 54
March Maths Mary 35
January Science Mary 35
February Science Mary 56
March Science Mary 41
han pure sortng. In partcular helpful to run quick

Pivot Table
Field List

Pivot Table

Month
Mary
February March January February March
83 92 59 48
51 41 87 68 41
57 56 92 93 90
84 91 58 61 67
72 71 53 54 35
89 41 35 56 41
436 392 325 391 322
Conditional Formatting
What? Conditional formatting allows you to define the format of individual cells based on a series of criteria
Why? This feature can be used to make your reports look better or to highlight specific values in a table
How? Select "Format -- Conditional Formatting" from the menu to find this dialog box:

Only up to 3
conditions can be
defined. The first
condition takes
precedence over the
.second, etc

This box previews


the format of the
cell when the
condition is met

Use "Add" to create new


conditions

Conditional Formatting, Example 1

Name HR Here is the conditional formatting behind this table…


Adam Dunn 30

Adam LaRoch 17

Adrián Gonzá 18

Albert Pujols 32

Brad Wilkers 15

Carlos Delga 24

Chris Shelton 16
Conor Jackso 8

Doug Mientki 4

Jason Giambi 28

Jeff Conine 7

Jim Thome 32

Justin Morne 25

Kevin Youkili 11

Lance Berkm 26

Lyle Overbay 16

Mark Teixeira 13

Michael Cudd 12

Mike Jacobs 14

Nick Johnson 14

Nick Swisher 21

Nomar Garcia 12

Paul Konerko 24

Prince Fielde 17

Richie Sexso 19

Ryan Howard 31

Scott Hatteb 9

Shea Hillenb 12

Todd Helton 11

Todd Walker 5

Travis Hafner 29
Tip: Use the "Format Painter" function to copy
conditional formatting across cells

Condition 1 is met if
the value of the cell
. is between 1 and 3

Click here to
select the format
of the font,
border, and
patterns

Formulas allow you to


use absolute or relative
references to determine
whether the condition is
met

dd" to create new


ons

behind this table…


Joining Two or more Strings or Cells as one Cell / String

Concatenate

How Are You

How Are
You
&

How Are You

Counting Number of Text Strings in a Range and Number of Characters in


Close
Companions
Will
Admire COUNTA
Your
Bravery 13
Though
They
May Length
Question
Your 10
Common
Sense

Get The Specified Number Of Characters From The Specified Position Of T


Right

ate

Mid
Compassionate
ompa

Left

Comp
Change the case(Upper/Lower etc.) of the string in the selected Cell
Upper

CHANGE THE CASE(UPPER/LOWER ETC.) OF THE STRING IN THE SELECTED CELL

Lower

change the case(upper/lower etc.) of the string in the selected cell

Proper

Change The Case(Upper/Lower Etc.) Of The String In The Selected Cell


ber of Characters in the selected Cell

pecified Position Of The Selected Cell


e selected Cell
Text Manipulation
What? Formulas used to work with text strings, including RIGHT(), LEFT(), MID(), and "&" to glue together text s
Why? These functions allow you to parse and combine text strings. Frequently useful when working with pulled

=RIGHT(text, [num-characters])
Takes num-characters from the right side of text

Text Formula Result


Bill Clinton =RIGHT(B9,4) nton
Bill Clinton =RIGHT(B10,1) n

=LEFT(text, [num-characters])
Takes num-characters from the left side of text

Text Formula Result


Bill Clinton =LEFT(B16,4) Bill
Bill Clinton =LEFT(B17,1) B

=MID(text, start-position, num-characters)


Takes num-characters from text starting at start-position
Use a large number (like 999) for num-characters if you want to get all the
remaining characters in a string
Text Formula Result
Bill Clinton =MID(B24,4,4) l Cl
Bill Clinton =MID(B25,FIND(" ",B25),999 Clinton

=text1&text2
Glues text1 and text2 together

Text Formula Result


Bill Clinton =B31&" was a US president"Bill Clinton was a US president

=FIND(text-to-find, within-text, [start-position])


Finds text-to-find within within-text and returns the character location of
the text cases, you don't need start-position
For basic
Text Formula Result
Bill Clinton =FIND("l",B38) 3
Bill Clinton =FIND("n",B39,10) 12
Bill Clinton =FIND("X",B40) #VALUE!
d "&" to glue together text strings
ul when working with pulled from other data sources

<-- Take all the characters starting from the first space

US president
<-- find a "n" starting from the 10th character(the "t" in Clinton)
<-- If text-to-find is not in the string FIND returns a value error
Find and Replace
What: How to use the Find and Replace functionality
Why: Can use this to quickly manipulate data

start by going to either:


Edit -> Find
Edit -> Replace

Tips:
If a highlighted region is selected, Excel will only search that region, otherwise, Excel will search the e

Wildcard characters

Use To find
? (question mark) Any single character
For example, sm?th finds "smith" and "smyth"
* (asterisk) Any number of characters
For example, *east finds "Northeast" and
~ (tilde) followed by ?, *, or ~ "Southeast"
A question mark, asterisk, or tilde
For example, fy91~? finds "fy91?"
important:
Wildcards work the same way for data filters
erwise, Excel will search the entire sheet by default
Hyperlink - Menu-'Insert'

This option could be used when


hyperlinking requires to open a file a
webpage or a folder

This option could be used when


hyperlinking requires to jump on a
particular sheet or some defined cell

To create a new document and place


hyperlink on that document could be
done through this option

To give acces to an email address or to


ceate an email is possible through the
email address option of hypelinking

Examples

yahoo Filter

Note: To see how this linking has been placed, right click on the text and choose ' Edit Hyperlink'
dit Hyperlink'
New 2007 Functions
You must have Excel 2007 to use these functions.
Function Syntax
SUMIFS SUMIFS(sum range, criteria range1, criteria1, criteria range2, criteria2, …)
Adds the cells in a range that meet multiple criteria.
COUNTIFS COUNTIFS(criteria range1, criteria1, criteria range2, criteria2…)
Applies criteria to cells across multiple ranges and counts the number of times all criteria are met.
AVERAGEIF AVERAGEIF(range, criteria, average range)
Average the values in a range that meet specified criteria.
AVERAGEIFS AVERAGEIFS(average range, criteria range1, criteria1, criteria range2, criteria2…)
Returns the average (arithmetic mean) of all cells that meet multiple criteria.
IFERROR IFERROR(value, value if error)
Returns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formula.

Part Number Type Department Cost Quantty Total Value


11164539 RT Dept 2 55.30 15 829.50
11164540 AC Dept 5 69.58 7 487.06
11164541 AB Dept 4 47.87 1 47.87
11164542 RT Dept 2 16.22 5 81.10
11164544 AC Dept 5 54.36 -
11164545 DE Dept 5 74.45 13 967.85
11164546 DE Dept 2 52.03 11 572.33
11164547 DE Dept 4 25.74 8 205.92
11164548 DB Dept 5 39.12 14 547.68
11164549 DE Dept 4 10.97 3 32.91
11164550 DB Dept 1 18.56 12 222.72
11164551 RT Dept 2 45.80 17 778.60
11164556 DE Dept 4 88.39 2 176.78
11164557 AB Dept 2 79.08 12 948.96
11164558 DE Dept 1 15.28 7 106.96
11164559 AC Dept 1 2.77 15 41.55
11164560 RT Dept 5 40.96 -
11164561 RT Dept 3 25.07 12 300.84
11164562 DE Dept 2 0.84 12 10.08
11164563 DE Dept 1 9.42 3 28.26
11164564 AC Dept 5 16.02 7 112.14
11164565 RT Dept 2 77.83 4 311.32
11164567 AB Dept 3 1.54 15 23.10
11164568 AC Dept 1 9.81 1 9.81
11164569 DE Dept 3 1.77 8 14.16
11164570 DB Dept 3 7.99 13 103.87
11164571 DE Dept 5 23.54 10 235.40
Sample Formula Sample Result
=SUMIFS(F16:F55,B16:B55,"RT",C16:C55,"Dept 2") 2,000.52

=COUNTIFS(B16:B55,"RT",C16:C55,"Dept 2") 4

=AVERAGEIF(B16:F55,"RT",D16:D55) 43.53

=AVERAGEIFS(F16:F55,B16:B55,"RT",C16:C55,"Dept 2") 500.13

See below
ult of the formula.

Vlookup functon with valid data:


Enter Part Number: 11164539

Type: RT
Department: Dept 2
Cost: $55.30
Quantity: 15

Vlookup functon with invalid data:


Enter Part Number: 11160000

Type: #N/A
Department: #N/A
Cost: #N/A
Quantity: #N/A

If a lookup value is not found, vlookup returns the #N/A error. For cases when
this is not acceptable, IFERROR allows you to set an alternate value.

Vlookup nested in Iferror:


Formula in I39: =IFERROR(VLOOKUP(I37,A16:F42,2), "Invalid Part #")
Formula in I40: =IF(I39= "Invalid Part #","",VLOOKUP(I37,A16:F42,3))
Enter Part Number: 11160000

Type: Invalid Part #


Department:
Cost:
Quantity:
Date Functions

Basic Math with Dates Formula in Column C


Difference in number of days
2/26/2020 1/1/2008 4439 is the number of days between today and 1/1/08.=A8-B8

Add days to a date


2/26/2020 90 5/26/2020 is the date 90 days after today. =A11+B11

Date Functions Function in Column C Function Syntax


EDATE Add number of months to a date. Function in Column C

2/26/2020 3 5/26/2020 is the date 3 months after today's date. =EDATE(A15,B15) EDATE(start date, months)

EOMONTH Gives the end of month date for a date plus a given number of months.
2/26/2020 0 2/29/2020 is the last day in this month. =EOMONTH(A18,B18) EOMONTH(start date, months)
2/26/2020 1 3/31/2020 is next months end of month date. =EOMONTH(A19,B19)
2/26/2020 3 5/31/2020 is the end of month date for three months from n=EOMONTH(A20,B20)

NETWORKDAYSReturns the number of full workdays between two dates.


2/26/2020 2/29/2020 3 is the number of workdays between these dates =NETWORKDAYS(A23,B23) NETWORKDAYS(start date, end date, holidays)

2/26/2020 3/31/2020 25 is the number of workdays between these dates. =NETWORKDAYS(A24,B24) Holidays is an optional range containing dates to exclude.

WORKDAY Returns a date that is the given number of working days before or after a date.
2/26/2020 5 2/19/2020 is the date 5 work days before today. =WORKDAY(A27,-B27) WORKDAY(start date, days, holidays)
Holidays is an optional range containing
2/26/2020 45 4/29/2020 is the date 45 work days from today. =WORKDAY(A28,B28)
dates to exclude.
WEEKDAY Returns the day of the week corresponding to a date
2/26/2020 1 4 =WEEKDAY(A30,B30) WEEKDAY(serial_number,[return_type])
Day of the week, with numbers 1
2/29/2020 2 6 =WEEKDAY(A31,B31)
(Monday) through 7 (Sunday) (4)

WEEKNUM Returns the week number of a specific date.


2/26/2020 1 9 =WEEKNUM(A34,B34) WEEKNUM(serial_number,[return_type])
Number of the week in the year, with a
3/22/2020 2 12 =WEEKNUM(A35,B35)
week beginning on Monday (2)

DATEDIF
Calculates the number of days, months, or years between two dates. This function is provided for compatibility with Lotus 1-2-3.
Syntax: DATEDIF(start date, end date, unit)
Unit Finds
Y The number of complete years in the period.
M The number of complete months in the period.
D The number of days in the period.
MD The difference between the days in start date and end date if the end date were within one month of the start date.
YM The difference between the months in start date and end date if the end date were within one year of the start date.
YD The difference between the days of start date and end date if the end date were within one year of the start date.

Page 68 of 75
DATEDIF examples
Start Date End Date Result Function in column C Explanation
2/5/1990 8/15/2008 18 '=DATEDIF(A49,B49,"y") There are 18 complete years between these two dates.

2/5/1990 8/15/2008 222 '=DATEDIF(A50,B50,"m") There are 222 complete months between these two dates.

2/5/1990 8/15/2008 6,766 '=DATEDIF(A51,B51,"d") There are 6,766 complete days between these two dates.

2/5/1990 8/15/2008 10 '=DATEDIF(A52,B52,"md") There are 10 days between the start date and end date, if the date were 2/15/2008.

2/5/1990 8/15/2008 6 '=DATEDIF(A53,B53,"ym") There are 6 complete months between these dates, if the end date were 8/15/1990.

2/5/1990 8/15/2008 191 '=DATEDIF(A54,B54,"yd") There are 191 complete days between these dates if the end date was 8/15/1990.

2/5/2008 8/15/2010 192 '=DATEDIF(A55,B55,"yd") There are 192 complete days between 2/5 and 8/15 if both were 2008 dates, one more than the previous because 2008 is a leap year.

8/15/1990 3/5/2008 17 '=DATEDIF(A56,B56,"y") There are 17 complete years between these two dates.

8/15/1990 3/5/2008 210 '=DATEDIF(A57,B57,"m") There are 210 complete months between these two dates.

8/15/1990 3/5/2008 6,412 '=DATEDIF(A58,B58,"d") There are 6,412 complete days between these two dates.

8/15/1990 3/5/2008 19 '=DATEDIF(A59,B59,"md") There are 21 days between the start date and end date, if the end date were 3/5/1991.

8/15/1990 3/5/2008 6 '=DATEDIF(A60,B60,"ym") There are 6 complete months between these dates, if the end date were 3/5/1991.

8/15/1990 3/5/2008 203 '=DATEDIF(A61,B61,"yd") Using the yd unit when the end date is earlier in the year than the start date gives an incorrect result.

Information from Dates Function in Column B Function Syntax


DAY Returns the day of a date, a number between 1 and 31.

2/26/2020 26 =DAY(A32) DAY(valid date)

MONTH Returns the month, a number between 1 and 12.


2/26/2020 2 =MONTH(A35) MONTH(valid date)

YEAR Returns the year, a number between 1900 and 9999.


2/26/2020 2020 =YEAR(A38) YEAR(valid date)

TODAY Returns the current date.


2/26/2020 =TODAY() TODAY()

NOW Returns the current date and time.

2/26/2020 1:50 43887.0764 The number to the left of the decimal is the date =NOW() NOW()
value and the number to the right of the
Date/Time FormaGeneral Format decimal is the time.

Page 69 of 75
Other Functons
Statstcal Functons
Functon Syntax Sample Formula
AVERAGE AVERAGE(number1, number2,...) =AVERAGE(I4:I43)
Returns the average (arithmetic mean) of the arguments.
MAX MAX(number1,number2,...) =MAX(J4:J43)

Returns the largest value in a set of values.


MIN MIN(number1,number2,...) =MIN(I4:I43)
Returns the smallest number in a set of values.
COUNT COUNT(value1, value2,...) =COUNT(J4:J43)

Counts the number of cells that contain numbers


COUNTA COUNTA(value1, value2,...) =COUNTA(G4:G43)
Counts the number of cells that are not empty.
SUMIF SUMIF(range, criteria, sum range) =SUMIF(H4:K43,"Dept 1",K4:K43)

Sum the values in a range that meet specified criteria.


COUNTIF COUNTIF(range, criteria) =COUNTIF(G4:G43,"RT")

Count the values in a range that meet specified criteria.


AVERAGEIF AVERAGEIF(range, criteria, average range) =AVERAGEIF(G4:K43,"RT",I4:I43)
Average the values in a range that meet specified criteria.

Text Functons
President George Washington, United States of America (A23 contains sample text for text functions)
Functon Syntax Sample Formula
FIND FIND(find text ,within text, start with num)
=FIND(",",A23)

Locate text within a text entry and returns the number of the starting position of the text within that entry.
LEFT LEFT(text, num chars) =LEFT(A23,9)
Returns the number of leftmost characters specified.
LEN LEN(text) =LEN(A23)
Returns the number of characters in a text entry.
MID MID(text, start num, num chars) =MID(A23,18,10)
Returns the specified number of characters from a text entry, beginning with the specified character number.
RIGHT RIGHT(text, num chars) =RIGHT(A23,7)
Returns the number of rightmost characters specified.
Use the text functions together to work with variable text lengths in a column. This formula will always return
the text following a comma/space in a text entry: =RIGHT(A38,(LEN(A38)-FIND(",",A38)-1))
President George Washington, United States of America United States of America

USS Enterprise, Starfleet Command Starfleet Command


I think that I will never see, a poem as lovely as a tree. a poem as lovely as a tree.
Using the first example above, it works by taking the length of the text (53) and subtracting the number of

characters up to the comma (28) and an extra 1 for the space, and then returning that number (24) of characters
from the right end of the text.
Part Number Type Department Cost Quantty Total Value
Sample Result
11164539 RT Dept 2 55.30 15 829.50
32.60 11164540 AC Dept 5 69.58 7 487.06
11164541 AB Dept 4 47.87 1 47.87
19 11164542 RT Dept 2 16.22 5 81.10
11164544 AC Dept 5 54.36 -
0.84 11164545 DE Dept 5 74.45 13 967.85
11164546 DE Dept 2 52.03 11 572.33
38 11164547 DE Dept 4 25.74 8 205.92
11164548 DB Dept 5 39.12 14 547.68
40 11164549 DE Dept 4 10.97 3 32.91
11164550 DB Dept 1 18.56 12 222.72
1,092.30 11164551 RT Dept 2 45.80 17 778.60
11164556 DE Dept 4 88.39 2 176.78
10
11164557 AB Dept 2 79.08 12 948.96
11164558 DE Dept 1 15.28 7 106.96
33.13
11164559 AC Dept 1 2.77 15 41.55
11164560 RT Dept 5 40.96 -
11164561 RT Dept 3 25.07 12 300.84
11164562 DE Dept 2 0.84 12 10.08
t for text functions) 11164563 DE Dept 1 9.42 3 28.26
Sample Result
11164564 AC Dept 5 16.02 7 112.14
28
11164565 RT Dept 2 77.83 4 311.32
e text within that entry. 11164567 AB Dept 3 1.54 15 23.10
President 11164568 AC Dept 1 9.81 1 9.81
11164569 DE Dept 3 1.77 8 14.16
53
11164570 DB Dept 3 7.99 13 103.87
11164571 DE Dept 5 23.54 10 235.40
Washington 11164572 AB Dept 4 71.10 4 284.40
pecified character number. 11164574 RT Dept 1 64.64 5 323.20
America 11164575 AB Dept 5 50.87 19 966.53
11164579 AC Dept 4 27.60 3 82.80
11164580 DE Dept 4 46.85 9 421.65
ula will always return
11164581 RT Dept 4 1.18 16 18.88
ND(",",A38)-1))
11164582 AB Dept 1 35.00 10 350.00
11164583 DE Dept 2 12.13 13 157.69
11164584 DB Dept 4 51.16 5 255.80
11164585 DB Dept 3 27.88 2 55.76
btracting the number of 11164586 RT Dept 3 2.31 16 36.96
mber (24) of characters 11164587 RT Dept 1 1.96 5 9.80
11164591 AC Dept 3 0.92 4 3.68
Some Useful Wingdings

Arial Wingdings Wingdings2 Wingdings3

A a A a A a a a
B b B b B a a a
C c C c C a a a
D d D d D a a a
E e E e E a a a
F f F f F a a a
G g G g G a a a
H h H h H a a a
I i I i I i a a
J j J j J j a a
K k K k K k a a
L l L l L l a a
M m M m M m a a
N n N n a n a a
O o O o O o a a
P p P p P p a a
Q q Q q Q q a a
R r R r R r a r
S s S s S s a s
T t T t T t a t
U u U u a u a u
V v V v a v V v
W w W w a w a w
X x X x a x a a
Y y Y y a y a a
Z z Z z a z a a


S-ar putea să vă placă și