Anda di halaman 1dari 48

Excel Tutorials from the Blog

COUNT COUNTA COUNTBLANK Go to sheet

SUBSTITUTE Go to sheet

Histogram Go to sheet

Hyperlinks Go to sheet

Chart Secondary Axis Go to sheet

Chart Axis Labels Go to sheet

SEARCH & FIND Go to sheet

Wildcards Go to sheet

Database Functions Go to sheet

CONVERT Go to sheet

TIME Go to sheet
Excel COUNT, COUNTA and COUNTBLANK Functions

Function Numbers Text Combination


56 Monday 56 Monday
54 Tuesday Tuesday
58 Wednesday 58
65 Thursday
71 Friday 71
Cell D10 has a
65 Saturday Err:512
space entered in
49 Sunday it. That's why the
COUNT 7 0 2 total is 6.
COUNTA 7 7 6
COUNTBLANK 0 0 1
=COUNT(B4:B10)

=COUNTA(C4:C10)

=COUNTBLANK(D4:D10)
CLICK HERE TO READ
THE TUTORIAL

10 has a
entered in
s why the
l is 6.
Excel SUBSTITUTE Function

Monthly
Keyword SUBSTITUTE Formulas
Searches
[excel substitute] 1000 excel substitute,
[substitute function in excel] 91 substitute function in excel,
[substitute function excel] 110 substitute function excel,
[substitute formula excel] 36 substitute formula excel,
[excel substitute function] 170 excel substitute function,
[excel substitute formula] 140 excel substitute formula,
[excel substitute multiple] 73 excel substitute multiple,
[excel formula substitute] 28 excel formula substitute,
[substitute excel formula] 36 substitute excel formula,

=SUBSTITUTE(SUBSTITUTE(A4,"[","",1),"]",", ",1)
CLICK HERE TO READ
THE TUTORIAL

TE(A4,"[","",1),"]",", ",1)
Excel FREQUENCY Function and Histogram Chart
CLICK HERE TO REA
THE TUTORIAL

Frequency of Goals Scored Frequency Cum %

12 120%
96% 100%
10 100%
80%
8 80%

6 60%
Frequency
36%
4 40%

2 20%

0 0%
0-1 2-3 4-5 6-7
Goals Scored
K HERE TO READ Football Scores
HE TUTORIAL
Goals Group Bin Frequency Cum %
2 0-1 1 9 36%
5 2-3 3 11 80%
0 4-5 5 4 96%
2 6-7 7 1 100%
Cum %
6
120% 1 This column is
4 This column This column is the the
100% upper limit of the FREQUENCY
3 feeds the
horizontal axis group that feeds the formula
80% 1
of the chart. FREQUENCY formula
0
60%
3
40% 2
20%
3
2
0% 2
1
4
4
3
3
2
1
1
0
0
This column
is the
cumulative
FREQUENCY
formula

This column is
the
FREQUENCY
formula
Excel Hyperlinks

Hyperlinks as text - click here to go to cell A500

Hyperlinks applied
to shapes that look
Click to go to like buttons
My Online Training Hub
and read this tutorial
Click here to go to cell A1
Charts - Secondary Axis

600 93% 100%

81% 90%
500
80%
69%
70%
400
53% 60%
300 50%
40%
200 30%
30%
20%
100 10%
10%
0 0%
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
Sales $'000 Cum %
CLICK HERE TO READ
THE TUTORIAL
Month Sales Cum %
Jan 469,000 10%
Feb 424,000 19%
Mar 491,000 30%
Apr 568,000 42%
May 509,000 53%
Jun 415,000 62%
Jul 322,000 69%
Aug 280,000 75%
Sep 288,000 81%
Oct 277,000 87%
Nov 286,000 93%
Dec 301,000 100%
Excel Chart Axis Label Tricks
Aligned Axis Labels

Abbreviated Axis Labels

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec

Nested Axis Labels

J F M A M J J A S O N D J F M A M J J A S O N D
2010 2011
Vertical Bar Charts

New Zealand 97
UK 52
China 40
US 39
Japan 35
Singapore 26
Malaysia 20
Korea 18
Hong Kong 14
Germany 13
India 11
Indonesia 10
Canada 10
France 8
Other 10
January-2010 Jan
CLICK HERE TO READ
February-2010 Feb THE TUTORIAL
March-2010 Mar
April-2010 Apr
May-2010 May
June-2010 Jun
July-2010 Jul
August-2010 Aug
September-2010 Sep
October-2010 Oct
November-2010 Nov
December-2010 Dec
January-2011 Jan
February-2011 Feb
March-2011 Mar
April-2011 Apr
May-2011 May
June-2011 Jun
July-2011 Jul
August-2011 Aug
September-2011 Sep
October-2011 Oct
November-2011 Nov
December-2011 Dec

Year Month Value


2010 J 6
F 6
M 5
A 6
M 8
J 10
J 6
A 10
S 5
O 10
N 6
D 6
2011 J 5
F 6
M 8
A 8
M 9
J 8
J 5
A 10
S 8
O 10
N 7
D 9

Visitors by Country
New Zealand 97
UK 52
China 40
US 39
Japan 35
Singapore 26
Malaysia 20
Korea 18
Hong Kong 14
Germany 13
India 11
Indonesia 10
Canada 10
France 8
Other 10
O READ
RIAL
SEARCH and FIND Functions

Text String Formula


Needle in a haystack =SEARCH("E", A4)
Needle in a haystack =SEARCH("e", A5,4)
Needle in a haystack =SEARCH("edle",A6)
Needle in a haystack =SEARCH("e?d",A7)
Needle in a haystack =SEARCH("h*k",A8)

Needle in a haystack =FIND("N", A11)


Needle in a haystack =FIND("e", A12,4)
Needle in a haystack =FIND("edle",A13)
Needle in a haystack =FIND("E",A14)
Needle in a haystack =FIND("h*k",A15)

Convert to TRUE/FALSE using ISNUMBER and use in IF statement


Fox Value
The quick brown fox jumped over the lazy dog $100.00
The quick yellow fox jumped over the lazy dog $50.00
The quick beige fox jumped over the lazy dog $50.00

Use SEARCH or FIND with MID to parse columns instead of Text to Columns
Original Text
Needle in a haystack

Use it in an Array formula to count the instances of a word in a text string in a range of
The quick brown fox jumped over the lazy dog
The quick brown fox jumped over the snoring dog
The quick brown fox jumped over the sleepy dog
The quick orange fox jumped over the lazy dog Array formula result

4
CLICK HERE TO READ
Result THE TUTORIAL
2
6
3
2
13

1
6
3
#VALUE!
#VALUE!

Fox Value Table


Brown Foxes $100
Not Brown Foxes $50

to Columns
Parsed Text
7 10 12 21
Needle in a haystack

text string in a range of cells

ray formula result


Wildcards in Formulas
COUNTIF number of instances of Apples using Wildcards

Red Apples
Green Apples
Gala Apples
Pineapples
Oranges

4 =COUNTIF(A5:A9,"*apples*")

SUMIF using Wildcards

Fruit Sales
Red Apples $62.00
Green Apples $74.00
Gala Apples $57.00
Pineapples $64.00
Oranges $58.00

Sum Apples Sales $257.00 =SUMIF(A17:A21,"*apples*",B17:B21)

VLOOKUP using Wildcards

Car Manufacturer Location


Ford Geelong, Victoria
Holden Port Melbourne, Victoria
Audi Botany, NSW
BMW Mulgrave, VIC
Chrysler Dandenong, VIC

Formula in B29 =VLOOKUP("*"&A29&"*",car_manufacturers,2,FALSE)


CLICK HERE TO READ
Wildcards THE TUTORIAL

*apples*")

*apples*",B17:B21)

Lookup Table
Car Manufacturer Location
Ford Motor Company of Australia Geelong, Victoria
General Motors-Holden Ltd Port Melbourne, Victoria
Audi Australia Botany, NSW
BMW Group Australia Mulgrave, VIC
Chrysler Dandenong, VIC

manufacturers,2,FALSE)
O READ
RIAL
Database Functions
Criteria DSUM
Type Date Date Name Amount
Level 1 >=01/01/2011 <=31/03/2011 229,151
Level 2 >=01/01/2011 <=31/03/2011

Type Date Invoice Name Amount


Level 1 28/01/2011 595 Poole 8,000.00
Level 1 3/02/2011 600 Davis 6,000.00
Level 1 17/02/2011 602 Crowther 7,000.00
Level 1 17/02/2011 603 Maze 4,000.00
Level 1 18/02/2011 605 Park 1,000.00
Level 1 24/02/2011 606 Waterson 6,000.00
Level 1 24/02/2011 607 Dune 6,000.00
Level 2 19/01/2011 591 Bryant 34,970.00
Level 2 21/01/2011 596 Carver 34,545.45
Level 2 25/02/2011 592 Blythe 25,196.36
Level 2 28/02/2011 569 Porter 24,913.64
Level 2 28/02/2011 594 Blair 7,000.00
Level 2 10/03/2011 611 Boyden 14,545.45
Level 2 21/03/2011 614 Hayden 17,943.64
Level 2 31/03/2011 546 Wilson 32,036.36
Level 3 9/03/2011 610 Dune 84,200.00
Level 4 10/03/2011 611 Bryant 77,258.18
Level 8 14/02/2011 575 Constable 8,015.91
Level 8 4/03/2011 608 Constable 27,272.73
Level 1 6/04/2011 616 Stuart 6,000.00
Level 2 6/04/2011 611 Bryant 14,545.45
Level 3 14/04/2011 618 Hayden 36,533.64
Level 3 24/04/2011 621 Polter 46,845.45
Level 4 6/04/2011 611 Blair 77,258.18
Level 4 7/04/2011 617 Dune 20,719.09
Level 4 12/04/2011 612 Carver 12,869.09
Level 7 24/05/2011 630 Atkins 1,000.00
Level 7 30/05/2011 630 Atkins 1,000.00
Level 7 30/05/2011 632 Norris 1,000.00
Level 1 10/05/2011 623 Arthur 7,000.00
Level 1 11/05/2011 623 Arthur 7,000.00
Level 1 24/05/2011 630 Atkins 5,000.00
Level 1 30/05/2011 630 Atkins 5,000.00
Level 2 9/05/2011 611 Blair 14,545.45
Level 4 9/05/2011 611 Blair 77,258.18
Level 4 19/05/2011 627 Hayden 10,023.64
Level 4 20/05/2011 627 Hayden 10,023.64
Level 4 24/05/2011 626 Wilson 11,909.09
Level 4 27/05/2011 625 Blythe 18,946.36
Level 6 23/05/2011 628 Craig 707.27
Level 6 23/05/2011 629 Polter 126.00
Level 8 2/05/2011 608 Craig 27,272.73
Level 8 18/05/2011 586 Howard 18,181.82
Level 8 19/05/2011 586 Howard 18,181.82
Level 8 23/05/2011 608 Craig 27,272.73
Level 8 24/05/2011 631 Soul 5,000.00
Level 8 26/05/2011 586 Simpson 18,181.82
Level 1 12/07/2011 653 Roberts 6,000.00
Level 1 22/07/2011 658 Murray 6,000.00
Level 1 25/07/2011 658 Murray 6,000.00
Level 4 20/07/2011 654 Peterson 9,711.82
Level 6 5/07/2011 646 Barney 2,660.00
Level 6 20/07/2011 657 Boyden 2,516.36
Level 6 20/07/2011 657 Boyden 649.09
Level 9 20/07/2011 652 Soul 35,201.82
Level 9 22/07/2011 652 Soul 35,201.82
Level 9 26/07/2011 652 Soul 35,201.82
Level 5 6/07/2011 648 Simpson 18,181.82
Level 5 25/07/2011 659 Davis 10,909.09
Level 7 8/06/2011 630 Atkins 1,000.00
Level 1 8/06/2011 630 Atkins 5,000.00
Level 1 17/06/2011 636 Martin 4,000.00
Level 1 20/06/2011 642 Carter 2,000.00
Level 1 23/06/2011 643 Carter 5,000.00
Level 6 9/06/2011 633 Garrison 655.00
Level 5 15/06/2011 635 Simpson 20,909.09
CLICK HERE TO RE
DCOUNT DAVERAGE DMAX DMIN List THE TUTORIAL
Level 1
15 15,277 34,970 1,000 Level 2
Level 3
Level 4
Level 5
Level 6
Level 7
Level 8
Level 9
K HERE TO READ
HE TUTORIAL
Conversion Functions

Syntax
=CONVERT(number,from_unit,to_unit)

Example
=CONVERT(0.5,"lbm","g")

Result
226.796185

Description Amt From To Result


5lb to grams 5 lbm g 2,267.96
Fahrenheit to Celsius 350 F C 176.67
10 yards to metres 10 yd m 9.14
400 kilojoules to calories 400 J cal 95.54
800m2 to square feet 800 m ft 8,611.13
CLICK HERE TO
READ THE
TUTORIAL

Function
=CONVERT(B13,C13,D13)
=CONVERT(B14,C14,D14)
=CONVERT(B15,C15,D15)
=CONVERT(B16,C16,D16)
=CONVERT(CONVERT(B17,C17,D17),C17,D17)
Complete List of Conversion Units

Weight and mass From_unit or to_unit


Gram "g"
Slug "sg"
Pound mass (avoirdupois) "lbm"
U (atomic mass unit) "u"
Ounce mass (avoirdupois) "ozm"
Distance From_unit or to_unit
Meter "m"
Statute mile "mi"
Nautical mile "Nmi"
Inch "in"
Foot "ft"
Yard "yd"
Angstrom "ang"
Pica "pica"
Time From_unit or to_unit
Year "yr"
Day "day"
Hour "hr"
Minute "mn"
Second "sec"
Pressure From_unit or to_unit
Pascal "Pa" (or "p")
Atmosphere "atm" (or "at")
mm of Mercury "mmHg"
Force From_unit or to_unit
Newton "N"
Dyne "dyn" (or "dy")
Pound force "lbf"
Energy From_unit or to_unit
Joule "J"
Erg "e"
Thermodynamic calorie "c"
IT calorie "cal"
Electron volt "eV" (or "ev")
Horsepower-hour "HPh" (or "hh")
Watt-hour "Wh" (or "wh")
Foot-pound "flb"
BTU "BTU" (or "btu")
Power From_unit or to_unit
Horsepower "HP" (or "h")
Watt "W" (or "w")
Magnetism From_unit or to_unit
Tesla "T"
Gauss "ga"
Temperature From_unit or to_unit
Degree Celsius "C" (or "cel")
Degree Fahrenheit "F" (or "fah")
Kelvin "K" (or "kel")
Liquid measure From_unit or to_unit
Teaspoon "tsp"
Tablespoon "tbs"
Fluid ounce "oz"
Cup "cup"
U.S. pint "pt" (or "us_pt")
U.K. pint "uk_pt"
Quart "qt"
Gallon "gal"
Liter "l" (or "lt")

The following abbreviated unit prefixes can be prepended to any metric from_unit or to_unit.

Prefix Multiplier Abbreviation


exa 1.00E+18 "E"
peta 1.00E+15 "P"
tera 1.00E+12 "T"
giga 1.00E+09 "G"
mega 1.00E+06 "M"
kilo 1.00E+03 "k"
hecto 1.00E+02 "h"
dekao 1.00E+01 "e"
deci 1.00E-01 "d"
centi 1.00E-02 "c"
milli 1.00E-03 "m"
micro 1.00E-06 "u"
nano 1.00E-09 "n"
pico 1.00E-12 "p"
femto 1.00E-15 "f"
atto 1.00E-18 "a"
TIME Calculations

Local Time New York


Local Time GMT +/- GMT +/- New York Time Formula bar vi
3:00:00 AM 10:00 5:00 12:00:00 PM of row 4
1/01/2011 4:00:00 AM =TIME(10,,) =TIME(5,,) =B4-(C4+D4)

With VLOOKUP Solution


Local Time New York
Local Time GMT +/- GMT +/- New York Time
3:30:00 AM GMT+9:00 GMT-5:00 1:30:00 PM
4:00:00 AM GMT GMT+1:00 5:00:00 AM
5:00:00 PM GMT+5:00 GMT-4:00 8:00:00 AM
Name
Formula bar view
of row 4 GMT
UTC
ECT
EET
ART
EAT
MET
NET

PLT
IST
BST
VST
CTT
JST
ACT
AET
SST
NST
MIT
HST
AST
PST
PNT
MST
CST
EST
IET
PRT
CNT
AGT
BET
CAT
CLICK HER
Description
Relative to Excel Time THE TU
GMT Value
Greenwich Mean Time GMT 0:00
Universal Coordinated Time GMT 0:00
European Central Time GMT+1:00 1:00
Eastern European Time GMT+2:00 2:00
(Arabic) Egypt Standard Time GMT+2:00 2:00
Eastern African Time GMT+3:00 3:00
Middle East Time GMT+3:30 3:30
Near East Time GMT+4:00 4:00

Pakistan Lahore Time GMT+5:00 5:00


India Standard Time GMT+5:30 5:30
Bangladesh Standard Time GMT+6:00 6:00
Vietnam Standard Time GMT+7:00 7:00
China Taiwan Time GMT+8:00 8:00
Japan Standard Time GMT+9:00 9:00
Australia Central Time GMT+9:30 9:30
Australia Eastern Time GMT+10:00 10:00
Solomon Standard Time GMT+11:00 11:00
New Zealand Standard Time GMT+12:00 12:00
Midway Islands Time GMT-11:00 13:00
Hawaii Standard Time GMT-10:00 14:00
Alaska Standard Time GMT-9:00 15:00
Pacific Standard Time GMT-8:00 16:00
Phoenix Standard Time GMT-7:00 17:00
Mountain Standard Time GMT-7:00 17:00
Central Standard Time GMT-6:00 18:00
Eastern Standard Time GMT-5:00 19:00
Indiana Eastern Standard Time GMT-5:00 19:00
Puerto Rico and US Virgin Islands Time GMT-4:00 20:00
Canada Newfoundland Time GMT-3:30 20:30
Argentina Standard Time GMT-3:00 21:00
Brazil Eastern Time GMT-3:00 21:00
Central African Time GMT-1:00 23:00
CLICK HERE TO READ
THE TUTORIAL

Anda mungkin juga menyukai