Professional Documents
Culture Documents
1.
Click a cell below the column of numbers or to the right of the row of numbers.
2.
Click AutoSum
TOP OF PAGE
1
2
Salesperson
Invoice
Buchanan
15,000
Buchanan
9,000
Suyama
8,000
Suyama
20,000
Buchanan
5,000
Dodsworth
22,500
Formula
Description (Result)
3
4
5
6
7
=SUM(B2:B3, B5)Adds two invoices from Buchanan, and one from Suyama (44,000)
=SUM(B2,B5,B7) Adds individual invoices from Buchanan, Suyama, and Dodsworth
(57,500)
NOTE
Function details
SUM
TOP OF PAGE
Salesperson
Invoice
Buchanan
15,000
Buchanan
9,000
Suyama
8,000
Suyama
20,000
Buchanan
5,000
Dodsworth
22,500
Formula
Description (Result)
=SUMIF(B2:B7,"<9000",B2:B7)
Region
Salesperson
Type
Sale
s
South
Buchanan
Beverage 3571
s
West
Davolio
Dairy
East
Suyama
Beverage 5122
s
North
Suyama
Dairy
6239
South
Dodsworth
Produce
8677
South
Davolio
Meat
450
South
Davolio
Meat
7673
East
Suyama
Produce
664
North
Davolio
Produce
1500
South
Dodsworth
Meat
6596
Formula
Description (Result)
3338
3
4
5
6
7
8
9
10
11
NOTE The formulas in the example must be entered as array formulas. After copying the
example to a blank worksheet, select the formula cell. Press F2, and then press CTRL+SHIFT+ENTER. If the
formula is not entered as an array formula, the error #VALUE! is returned.
Region
Salesperson
Type
Sale
s
South
Buchanan
Beverage 3571
s
West
Davolio
Dairy
East
Suyama
Beverage 5122
s
North
Suyama
Dairy
6239
South
Dodsworth
Produce
8677
South
Davolio
Meat
450
South
Davolio
Meat
7673
East
Suyama
Produce
664
North
Davolio
Produce
1500
South
Dodsworth
Meat
6596
Region
Salesperson
Type
Sale
s
1
2
3
3338
6
7
8
9
10
11
South
Meat
Produce
Formula
Description (Result)
=DSUM(A1:D11, "Sales",
A12:D13)
=DSUM(A1:D11, "Sales",
A12:D14)
Select a cell below or to the right of the numbers for which you want to find the
smallest number.
2.
1.
2.
Select a cell below or to the right of the numbers that you want to count.
TOP OF PAGE
19
22.44
Formula
Description (Result)
=COUNT(A2:A6)
Counts number of cells that contain numbers (3) in the list. A date is a number.
=COUNT(A2:A3,A6)Counts number of cells that contain numbers (2), of the top two and bottom cells
in the list. A date is a number.
Example
The example may be easier to understand if you copy it to a blank worksheet.
How to copy an example
A
1
2
Data
Sales
3
4
19
TRUE
Formula
Description (Result)
=COUNTA(A2:A6)
=COUNTA(A2:A3, A6) Counts the number of nonblank cells in the top two, and bottom cell in the list
(1)
Salesperson
Invoice
Buchanan
15,000
Buchanan
9,000
Suyama
8,000
Suyama
20,000
Buchanan
5,000
Dodsworth
22,500
Formula
Description (Result)
Salesperson
Invoice
Buchanan
15,000
Buchanan
9,000
Suyama
8,000
Suyama
20,000
Buchanan
5,000
Dodsworth
22,500
Formula
Description (Result)
=COUNTIF(B2:B7,">9000")
=COUNTIF(B2:B7,"<=9000")
Example
The example may be easier to understand if you copy it to a blank worksheet.
How to copy an example
A
1
2
Data
6
Formula
Description (Result)
=CONVERT(A2,"C","F")
1
2
Formula
Description (Result)
Description (Result)
4
=EXACT(A2,A3)Compare contents of A2 and A3 (FALSE)
=EXACT(A3,A4)Compare contents of A3 and A4 (TRUE)
List
Cell
Apple
Grape
Orange
Banana
Formula
Description (Result)
NOTE The formula in the example must be entered as an array formula. After copying the
example to a blank worksheet, select each formula cell individually. Press F2, and then press
CTRL+SHIFT+ENTER. If the formula is not entered as an array formula, the error #VALUE! is
returned.
Example
The example may be easier to understand if you copy it to a blank worksheet.
How to copy an example
NOTE To see the result without breaking the lines of the name or address, expand the
width of column A to at least 17.00 units or 124 pixels.
A
First name
Last name
Street
City
address
Robert
Walters
4567
Buffal NY
Main St. o
Function
Description
Stat Zip
e
code
2
=CONCATENATE("The ", B2, "
Combines the last name with the
Family", CHAR(10), C2, CHAR(10), words "The" and "Family" and then
D2, ", ", E2, " ", F2)
combines the address with it.
CHAR(10) is used to insert a new
line.
Result:
The Walters Family
4567 Main St.
Buffalo, NY 98052
98052
27
4
5
6
7
0
4
Formula
Description (Result)
=AVERAGE(A2:A7)
=AVERAGE(A2:A4,A7)
Averages the top three and the last number in the list (7.5)
=AVERAGE(IF(A2:A7<>0,
A2:A7,""))
Averages the numbers in the list except those that contain zero,
such as cell A6 (11.4)
NOTE The last formula in the example must be entered as an array formula. After copying
the example to a blank worksheet, select the cell A11. Press F2, and then press
CTRL+SHIFT+ENTER. If the formula is not entered as an array formula, the error #VALUE! is
returned.
Number of units
20
500
25
750
35
200
Formula
Description (Result)
=SUMPRODUCT(A2:A4,B2:B4)/SUM(B2:B4) Divides the total cost of all three orders by the total
number of units ordered (24.66)
Data
10
27
0
4
7
Formula
Description (Result)
=AVERAGE(IF(A2:A7<>0,
A2:A7,""))
Averages the numbers in the list except those that contain zero,
such as cell A6 (11.4)
Data
15
8
Sprockets
Widgets
Formula
Description (Result)
=AND(A2>A3, A2<A4)
=OR(A2>A3, A2<A4)
=NOT(A2+A3=24)
=NOT(A5="Sprockets")
=OR(A5<>"Sprockets",A6 =
"Widgets")