Documente Academic
Documente Profesional
Documente Cultură
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.
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-
ity features.
upport for VBA.**
-wise, it's very similar to Excel
Brackets 2+3*4 14 20
=2+3*4 =(2+3)*4
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
Example
15 120
25 120
35 120
45
Formula Usage
45 60
15 675
48 3.2
68 20
Keyboard Shortcuts
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.
Example
formula used:
=IF(ISERROR(G18),"",G18)
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
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.
Cell referencing
1 A1 Cell Relative
2 A$1$ Cell Absolute
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
Usage
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)
ange,criteria)
Syntax SUMIF(range,criteria,sum_range)
sum_range)
Syntax IF(logical_test,value_if_true,value_if_false)
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
-
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)
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
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
m,range_lookup)
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
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
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
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
Concatenate
How Are
You
&
ate
Mid
Compassionate
ompa
Left
Comp
Change the case(Upper/Lower etc.) of the string in the selected Cell
Upper
Lower
Proper
=RIGHT(text, [num-characters])
Takes num-characters from the right side of text
=LEFT(text, [num-characters])
Takes num-characters from the left side of text
=text1&text2
Glues text1 and text2 together
<-- 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
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'
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.
=COUNTIFS(B16:B55,"RT",C16:C55,"Dept 2") 4
=AVERAGEIF(B16:F55,"RT",D16:D55) 43.53
See below
ult of the formula.
Type: RT
Department: Dept 2
Cost: $55.30
Quantity: 15
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.
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)
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)
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.
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)
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
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
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