0% found this document useful (0 votes)
74 views108 pages

Excel Practice Sheet

Uploaded by

faryal hashmi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views108 pages

Excel Practice Sheet

Uploaded by

faryal hashmi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd

Get started with formulas

In just a few steps, you'll be up and running with building formulas and functions in Excel, the
world's most powerful spreadsheet app.

Go back to top by pressing CTRL+HOME. To start the tour, press CTRL+PAGE DOWN.
Save time by filling cells automatically
Here’s how to use the fill feature in Excel:

Fill a series
Cells C3 through G7 contain data with five columns: "This:" column, which contains the number 50 in each cell; "Plus th
Go to cell E4. Press CTRL+G, type E4, then press Enter.
Select cells E4, E5, E6, and E7 by holding the SHIFT key while pressing the ARROW DOWN key, then press CTRL+D. Excel will
Here’sGo
EXTRA CREDIT: how to G4
to cell use the
and fill handle
repeat in Excel:
the fill down steps above.
Cells C10 through G14 contain data with five columns. These columns contain the heading from C3 to G3 and the values f
1 Click the cell with the number 100.
Go to cell C15. Select cells C15, D15, E15, F15, and G15. This time press CTRL+R to fill the cells. This is known as “filling right.”
Dive down for more detail: Go to cell A27. Or, to proceed to the next step, press CTRL+PAGE DOWN.
2 Rest your cursor on the lower-right corner of the
cell until it becomes a cross:

3 Click the cross and drag down three cells. Excel will
automatically fill the cells with the totals: 110,
120, and 130. People call this “filling down.”
4 Click the yellow cell with 200, and fill again but this
time drag the fill handle to the right to fill the cells.
This is known as “filling right.”

More information on the web


Fill data automatically in worksheet cells
Fill a formula down into adjacent cells
Go back to top by pressing CTRL+HOME. To proceed to the next step, press CTRL+PAGE DOWN.
e time by filling cells automatically
e’s how to use the fill feature in Excel:

Fill a series
s C3 through G7 contain data with five columns: "This:" column, which contains the number 50 in each cell; "Plus thThis:
o cell E4. Press CTRL+G, type E4, then press Enter. 50
ct cells E4, E5, E6, and E7 by holding the SHIFT key while pressing the ARROW DOWN key, then press CTRL+D. Excel will 50
Here’sGo
RA CREDIT: how to G4
to cell use the
and fill handle
repeat in Excel:
the fill down steps above. 50
s C10 through G14 contain data with five columns. These columns contain the heading from C3 to G3 and the values f 50
Click the cell with the number 100.
o cell C15. Select cells C15, D15, E15, F15, and G15. This time press CTRL+R to fill the cells. This is known as “filling right.”
e down for more detail: Go to cell A27. Or, to proceed to the next step, press CTRL+PAGE DOWN.
Rest your cursor on the lower-right corner of the This:
cell until it becomes a cross: 50
50
Click the cross and drag down three cells. Excel will 50
automatically fill the cells with the totals: 110, 50
120, and 130. People call this “filling down.” 200
Click the yellow cell with 200, and fill again but this
time drag the fill handle to the right to fill the cells.
This is known as “filling right.”

e information on the web


data automatically in worksheet cells
a formula down into adjacent cells
back to top by pressing CTRL+HOME. To proceed to the next step, press CTRL+PAGE DOWN.
Plus this: Equals: Plus this: Equals:
50 100 75 175
60 75
70 75
80 75

Plus this: Equals: Plus this: Equals:


50 100 75 175
60 110 75 185
70 120 75 195
80 130 75 205
Data stuffed into one column? Split it.
Go to cell D5. Press CTRL+G, type D5, then press Enter. Type the first name that is in the Email column in cell C5: Nancy.

Split a column based on


Go to cell D6. Press CTRL+E, a shortcut for Flash Fill.
Flash Fill detects when you type a consistent pattern, and fills the cells once the pattern is detected.
delimiters
Flash Fill is pretty handy. But if you want to split data into
more than one column all at once, then it's not the best
Try another
toolway
fortothe
Flash Fill:Try
job. Go Text
to cell to
E5. Columns in this situation:
1 Click and drag to select the cells from Nancy all
the way down to Yvonne.
Press ALT+H to enter theData
Home tab above
clickthe ribbon,
to then press FI to select Fill options. Arrow down to select Flash Fil
2 On the tab, Text Columns. Make
sure that Delimited is selected, and then click
Next.
Dive down 3 Under
for more Delimiters,
detail: make
Go to cell A27. Or, tosure thattoComma
proceed is the
the next step, press CTRL+PAGE DOWN.
only checkbox selected, and then click Next.

4 Click the General option.

5 Finally, click inside the Destination box and type


$D$32. Then click Finish.
More information on the web
Split text into different
columns
Split text into different
columns

All about Get &


Transform

All about the LEFT


function

All about the RIGHT


function

All about the FIND


function

All about the LEN


function

Back to top
a stuffed into one column? Split it.
o cell D5. Press CTRL+G, type D5, then press Enter. Type the first name that is in the Email column in cell C5: Nancy.

Split a column based on


o cell D6. Press CTRL+E, a shortcut for Flash Fill.
h Fill detects when you type a consistent pattern, and fills the cells once the pattern is detected.
delimiters
Flash Fill is pretty handy. But if you want to split data into
more than one column all at once, then it's not the best
another
toolway
fortothe
Flash Fill:Try
job. Go Text
to cell to
E5. Columns in this situation:
Click and drag to select the cells from Nancy all
the way down to Yvonne.
ss ALT+H to enter
On thetheData
Home tab above
tab, clickthe ribbon,
Text to then press FI to
Columns. select Fill options. Arrow down to select Flash Fil
Make
sure that Delimited is selected, and then click
Next.
Under
e down for more Delimiters,
detail: make
Go to cell A27. Or, tosure thattoComma
proceed is the
the next step, press CTRL+PAGE DOWN.
only checkbox selected, and then click Next.

Click the General option.

Finally, click inside the Destination box and type


$D$32. Then click Finish.
More information on the web
Split text into different
columns
Split text into different
columns

All about Get &


Transform

All about the LEFT


function

All about the RIGHT


function

All about the FIND


function

All about the LEN


function

Next
Back to top
step
ll C5: Nancy.

Data First Name Middle Name

Nancy,Smith,Contoso Ltd.

Muhammad Affan Khan

www.google.com
Last Name
=TRANSPOSE(C
33:H34) but
don’t press
Enter. Instead
press
CTRL+SHIFT+E
NTER. If you
Transpose with a formula
get an error or
#VALUE! as a
Transpose
result, try with a formula
again starting
Sometimes you don't want to copy and paste to transpose. In this case, you can use a formula to transpose rows and columns
Sometimes you don't want to copy and paste to
at instruction
To transpose
in cell this data, you
A29.transpose. needcase,
In this to select
you some
canblank
use cells first. Since
a formula to the data in cells C33 to H34 on the right has six columns
transpose rows and columns. Here's how to do that:
Select any of thetransposed
Select another transposedcell
cells, forcells
from example
C40 tocell C41.
D45, forLook at thecell
example formula at theattop
D43. Look theof Excel. You’ll
formula see that
bar again. The the formula
formula loos
is the

1 forTothetranspose
Go to cell A54 next
this data, you need to select some
instruction.
blank cells first. Since the data on the right has 6
columns and 2 rows, you need to select the
opposite: 2 columns and 6 rows. Do this by
selecting the yellow cells.
2 This is kind of tricky, so pay close attention. With
those cells still selected, type the following:
=TRANSPOSE(C33:H34) ….but don’t press
Enter.

3 Press

If you get #VALUE! as a result, try again starting


at step 1.

4 Click any of the yellow cells to select just one.


Look at the formula at the top of Excel. You’ll see
that the formula looks like this:

{=TRANSPOSE(C33:H34)}

5 Click another yellow cell. Look at the formula bar


again. The formula is the same. Why? Because
this is an array formula.

What's
KEEP INan array formula?
MIND…
There
An array formulathings
are three to keepcalculations
can perform in mind when onusing
morean array
than oneformula:
cell in an array. In the example above, the array is the original da
1) Always select multiple cells first, and then with those cells selected, start typing the array formula. That's the key: Select mu
You always
2) When finishdone
you're an array formula
typing with
an array CTRL+SHIFT+ENTER,
formula, not just
press CTRL+SHIFT ENTER. Pressing CTRL+SHIFT+ENTER calculates the functi
+ENTER.
3) OnceSPEAK:
EXCEL you enter an array
Because arrayformula,
formulasyou cannot
require interrupt that newsome
CTRL+SHIFT+ENTER, array.people
For example, youcall
informally cannot
arraytype over or"CSE
formulas, delete just on
formulas."

Go to cell A72 for the next instruction.


More information on the web
Transpose (rotate) data from rows to columns or vice versa
All about the TRANSPOSE function
Create an array formula
Go back to top by pressing CTRL+HOME. To proceed to the next step, press CTRL+PAGE DOWN.
Transpose with a formula
nspose with a formula
metimes you don't want to copy and paste to transpose. In this case, you can use a formula to transpose rows and columns. Here's how to
Sometimes you don't want to copy and paste to
ranspose this data, you
transpose. needcase,
In this to select
you some
canblank
use cells first. Since
a formula to the data in cells C33 to H34 on the right has six columns and two rows,
transpose rows and columns. Here's how to do that:
ct any of thetransposed
ct another transposedcell
cells, forcells
from example
C40 tocell C41.
D45, forLook at thecell
example formula at theattop
D43. Look theof Excel. You’ll
formula see that
bar again. The the formula
formula looks
is the samelikeasthis: {=TR
in cell C
To transpose this data, you need to select some
o cell A54 forblank
the next instruction.
cells first. Since the data on the right has 6 Item
columns and 2 rows, you need to select the Amount
opposite: 2 columns and 6 rows. Do this by
selecting the yellow cells.
This is kind of tricky, so pay close attention. With
those cells still selected, type the following:
=TRANSPOSE(C33:H34) ….but don’t press
Enter.
En
Press Ct Sh
te
rl ift
r
If you get #VALUE! as a result, try again starting
at step 1.

Click any of the yellow cells to select just one.


Look at the formula at the top of Excel. You’ll see
that the formula looks like this:

{=TRANSPOSE(C33:H34)}

Click another yellow cell. Look at the formula bar


again. The formula is the same. Why? Because
this is an array formula.

at's
P INan array formula?
MIND…
array formulathings
re are three to keepcalculations
can perform in mind when onusing
morean array
than oneformula:
cell in an array. In the example above, the array is the original data set is cells C3
lways select multiple cells first, and then with those cells selected, start typing the array formula. That's the key: Select multiple cells first,
always
When finishdone
you're an array formula
typing with
an array CTRL+SHIFT+ENTER,
formula, not just
press CTRL+SHIFT ENTER. Pressing CTRL+SHIFT+ENTER calculates the function against the a
+ENTER.
nceSPEAK:
EL you enter an array
Because arrayformula,
formulasyou cannot
require interrupt that newsome
CTRL+SHIFT+ENTER, array.people
For example, youcall
informally cannot
arraytype over or"CSE
formulas, delete just one of the cells. Yo
formulas."

o cell A72 for the next instruction.


e information on the web
nspose (rotate) data from rows to columns or vice versa
about the TRANSPOSE function
ate an array formula
back to top by pressing CTRL+HOME. To proceed to the next step, press CTRL+PAGE DOWN.
olumns. Here's how to do that:
columns and two rows, you need to select the opposite: two columns and six rows. Do this by selecting cells C40 to D45.
This data has 6
mula looks likeasthis: columns...
{=TRANSPOSE(C33:H34)}
is the same in cell C41. Why? Because this is an array formula.

Bread Donuts Cookies Cakes Pies


50 100 40 50 ...and
20 2 rows.

ginal data set is cells C33:H34. The TRANSPOSE function then switches the horizontal orientation of the cells to a vertical orientation.
elect multiple cells first, then start typing.
e function against the array. When you're done, Excel puts special brackets { } around the formula. These brackets are a visual clue that th
just one of the cells. You also cannot insert a new row or column within that array. If you need to any of that, select all of the cells that ha
vertical orientation.
are a visual clue that the selected cell is part of an array formula. You can't type these brackets yourself. Excel puts them in when you pre
ect all of the cells that have the array formula, press Delete, and then make your changes and recreate the formula.
ts them in when you press CTRL+SHIFT+ENTER.
Sort and filter with ease
Cells C5 to G13 contain five columns: Departments, Categories, and Amounts for the months Oct, Nov, Dec.
Let's say you want the departments in alphabetical order. Select the Department column, go to cell C5. Press CTRL+G, type C5
Sort December's amounts from big to small. Select the December column cell, go to G5, then select cells G5 through G13. Pres
Sort and filter with ease
Now you'll filter the data so that only the Bakery rows appear. Go to cell G5, Dec. Press CTRL+A to select all of the cell
Filter buttons appear on the top row from cell C5 to G5. Go to the Department cell, C5, and press ALT+DOWN ARROW t
EXTRA CREDIT: Try sorting alphabetically by two columns. Here's how: First sort Department alphabetically (refer to ste
Dive down 1 Let'sdetail:
for more say you want
Go to A27.the
Or, departments in alphabetical
to proceed to the next step, press CTRL+PAGE DOWN.
order. Click in the Department column, and then click
Home > Sort & Filter > Sort A to Z.

2 Sort December's amounts from largest to smallest.


Click any cell in the Dec column, and then click Home
> Sort & Filter > Sort Largest to Smallest.
3 Now you'll filter the data so that only the Bakery rows
appear. Press CTRL+A to select all of the cells, and then
click Home > Sort & Filter > Filter.
4 Filter buttons appear on the top row. On the
Department cell, click the filter button and then
click to clear the Select All checkbox. Then, click to
select Bakery.

5 Click OK and only the Bakery rows appear. Now clear


the filter by clicking the filter button for Department
and then click Clear filter...

Sort by date, or by color even


Sort by date, or by color
There are many ways to sort in Excel. Here are just two more ways to sort:
Cells C31 through F31 contain data with four columns: Expense date, Employee, Food, and Hotel.
even
You want the Expense dates in order. So, select Expense date header, cell C31, then press ALT+DOWN ARROW and use the arr
There are many ways to sort in Excel. Here are just two more
Someone ways
IMPORTANT filled three
DETAIL: cellsbut
You
to sort,
with
can't yellow.
clear
this
You
a sort
time
canuse
order
you'll
sort the
likethe rows
can abyfilter.
youright-clickthatmenu:
color.
So Godon't
if you to cellwant
F31,your
thensort
press
toALT+DOWN
stick, undo itARROW an
by pressing

1 forYou
Go to cell A43 the want
next instruction.
the dates in order. So, right-click a date and
then click Sort > Sort Oldest to Newest. The rows
get sorted in ascending date order by the Expense
date.
2 Someone filled three cells with yellow. You can sort
the rows by that color. Right-click a yellow cell, and
then click Sort > Put Selected Cell Color on Top.
More ways to filter data
More ways to filter data
Cells C49 through F49 contain data with four columns: Expense date, Employee, Food, and Hotel.
Go to cell F49: Hotel. Press ALT+DOWN ARROW, then use the arrow keys to find Number Filters option. Press RIGHT ARROW t
Now add a second filter. Go to cell E49: Food. Press ALT+DOWN ARROW, then use the arrow keys to find the Number Filters o
Many people type formulas to find amounts that are above average, or greater than a certain amount
Go to cell A60
arefor the next instruction.
available.

More information on the web


Sort data in a range or table
Filter data in a range or table
Go back to top by pressing CTRL+HOME. To proceed to the next step, press CTRL+PAGE DOWN.
and filter with ease
s C5 to G13 contain five columns: Departments, Categories, and Amounts for the months Oct, Nov, Dec.
s say you want the departments in alphabetical order. Select the Department column, go to cell C5. Press CTRL+G, type C5, then press Ente
December's amounts from big to small. Select the December column cell, go to G5, then select cells G5 through G13. Press ALT+H to ente
Sort and filter with ease
w you'll filter the data so that only the Bakery rows appear. Go to cell G5, Dec. Press CTRL+A to select all of the cell
er buttons appear on the top row from cell C5 to G5. Go to the Department cell, C5, and press ALT+DOWN ARROW t
RA CREDIT: Try sorting alphabetically by two columns. Here's how: First sort Department alphabetically (refer to ste
e down for moreLet'sdetail:
say you want
Go to A27.the
Or, departments in alphabetical
to proceed to the next step, press CTRL+PAGE DOWN.
order. Click in the Department column, and then click
Home > Sort & Filter > Sort A to Z.
Sort December's amounts from largest to smallest.
Click any cell in the Dec column, and then click Home
> Sort & Filter > Sort Largest to Smallest.
Now you'll filter the data so that only the Bakery rows
appear. Press CTRL+A to select all of the cells, and then
click Home > Sort & Filter > Filter.
Filter buttons appear on the top row. On the
Department cell, click the filter button and then
click to clear the Select All checkbox. Then, click to
select Bakery.
Click OK and only the Bakery rows appear. Now clear
the filter by clicking the filter button for Department
and then click Clear filter...

by date, or by color even


Sort by date, or by color
re are many ways to sort in Excel. Here are just two more ways to sort:
s C31 through F31 contain data with four columns: Expense date, Employee, Food, and Hotel.
even
want the Expense dates in order. So, select Expense date header, cell C31, then press ALT+DOWN ARROW and use the arrow keys to find
There are many ways to sort in Excel. Here are just two more
meone
ORTANT filled
ways
three
DETAIL: cellsbut
You
to sort,
with
can't yellow.
clear
this
You
a sort
time
canuse
order
you'll
sort the
likethe rows
can abyfilter.
youright-clickthatmenu:
color.
So Godon't
if you to cellwant
F31,your
thensort
press
toALT+DOWN
stick, undo itARROW an CTRL+Z.
by pressing

o cell A43 forYou


thewant
next instruction.
the dates in order. So, right-click a date and
then click Sort > Sort Oldest to Newest. The rows
get sorted in ascending date order by the Expense
date.
Someone filled three cells with yellow. You can sort
the rows by that color. Right-click a yellow cell, and
then click Sort > Put Selected Cell Color on Top.
e ways to filter data
More ways to filter data
s C49 through F49 contain data with four columns: Expense date, Employee, Food, and Hotel.
o cell F49: Hotel. Press ALT+DOWN ARROW, then use the arrow keys to find Number Filters option. Press RIGHT ARROW to enter Number
w add a second filter. Go to cell E49: Food. Press ALT+DOWN ARROW, then use the arrow keys to find the Number Filters option. Press RIG
Many people type formulas to find amounts that are above average, or greater than a certain amount. But there's n
o cell A60
arefor the next instruction.
available.

1 On the Hotel cell, click the filter button and then click Number Filters > Above Average. Exce
Hotel column, and then shows only rows with amounts greater than that average.

2 Now add a second filter. On the Food cell, click the filter button and then click Number Filters >
OK.Of the three rows that were filtered for above average, Excel shows two rows with Food amounts g

e information on the web


data in a range or table
er data in a range or table
back to top by pressing CTRL+HOME. To proceed to the next step, press CTRL+PAGE DOWN.
ss CTRL+G, type C5, then press Enter. Now press ALT+H to enter the Home tab above the ribbon, then press S to enter the Sort & Filter op
5 through G13. Press ALT+H to enter the Home tab above the ribbon, then press S for Sort & Filter options. Notice the options changed fro
Department Category Oct Nov Dec
Meat Beef $90,000 $110,000 $120,000
Bakery Desserts $25,000 $80,000 $120,000
Produce Fruit $10,000 $30,000 $40,000
Produce Veggies $30,000 $80,000 $30,000
Deli Salads $90,000 $35,000 $25,000
Meat Chicken $75,000 $82,000 $2,000,000
Bakery Breads $30,000 $15,000 $20,000
Deli Sandwiches $80,000 $40,000 $20,000

EXTRA CREDIT
When you're done with step 5, try sorting alphabetically by
two columns. Here's how: First sort Department
alphabetically (that's step 1 on the left). Then click Home >
Sort & Filter > Custom Sort. Add a second level for
Category. After you click OK, Department will be sorted,
and within each department, Category rows will be sorted
in alphabetical order as well.

OW and use the arrow keys to find Sort Oldest to Newest. Press Enter. The rows get sorted in ascending date order by the Expense date.
Expense date Employee Food Hotel IMPORTANT
8/20/2024 Jackie $21 $3,820 DETAIL
You can't clear a sort order
8/19/2024 Mark $62 $2,112 like you can a filter. So if
8/16/2024 Dave $25 $1,611 you don't want your sort to
8/22/2024 Tricia $30 $3,085 stick, undo it by pressing
CTRL+Z.
8/18/2024 Jeff $69 $528
8/17/2024 Laura $45 $5,050
ss RIGHT ARROW to enter Number Filters list and use the arrow keys to find the Above Average option, then press Enter. Excel calculates
he Number Filters option. Press RIGHT ARROW to enter the Number Filters list. Use the arrow keys to find the Greater than... option, then
a certain amount. But there's no need to type formulas when special filters

Expense
lters > Above date
Average. ExcelEmployee Food
calculates the average Hotelof the
amount
at average. 8/20/2024 Jackie $21 $3,820
8/19/2024 Mark $62 $2,112
8/22/2024 Tricia $30 $3,085
d then click Number Filters > Dave
8/16/2024 $25type 25.
Greater than..., and then $1,611
Click
s two rows with Food 8/17/2024
amounts greater
Laura than 25. $45 $5,050
8/18/2024 Jeff $69 $528
S to enter the Sort & Filter options. Use the arrow keys to find the option to Sort A to Z, or press S, then press Enter.
Notice the options changed from Sort A to Z to Sort Largest to Smallest and so forth. Use the arrow keys to find the option to Sort Largest t

e order by the Expense date.


T

a sort order
ter. So if
your sort to
pressing
n press Enter. Excel calculates the average amount of the Hotel column, and then shows only rows with amounts greater than that averag
e Greater than... option, then type 25 and press Enter. Of the three rows that were filtered for above average, Excel shows two rows with
e option to Sort Largest to Smallest, then press Enter.
greater than that average.
el shows two rows with Food amounts greater than 25
=A1+B1,
constants
aren't a good
practice. Why?
Because you
can't easily see
the constant
without
selecting the
cell
You and
Basics:
looking
Formulas
Basics: doing math with Excel
candoing
Add, math
forcan
it.
withMultiply,
Subtract, Excel and Divide in Excel without using any built-in functions. You just need to use some basic oper
To
That Add,
contain select
cancellmakecell F3, type =C3+C4, then press Enter.
it hard
references,to
change
To You
later. can cell
Add,F4,Subtract, Multiply, and Divide in Excel without using any built-in functions. You ju
To Subtract,
ranges of
Multiply, select
cellselect cell F5, type =C3*C4,
type =C3-C4, then
then press
press Enter.
Enter.
It's much formulas start with an equals (=) sign.
references,
To Divide,
easier to put
operators, select
and cell F6, type =C3/C4, then press Enter.
your constants
constants. The
in cells,this
Check
following whereout: change the numbers in cells C3 and C4, and watch the formula results automatically change.
are
they
all can
examples
EXTRA be of You can raise a value to a power by using the carat (^) symbol, like =A1^A2. Enter it with Shift+6. In cell
CREDIT:
easily
formulas: 1
Dive downand
adjusted, for more detail
referenced
Next step in
=A1+B1
your
=10*20 formulas.
More isabout
Excel
=SUM(A1:A10) up2
madeformulas, cells, and
of individual ranges
cells that are grouped into rows and columns. Rows are numbered, and columns are lettered. Th
For example:
Select the
You'll
yellownotice
cell that in our third example above, we used the SUM function. A function is a pre-built command that takes a value
Formulas
with 12 below. 3
with functions start with an equals sign, then the function name follows with its arguments (the values a function us
You'll see we
used the SUM
function with a
Some
range formula 4
of cells. explanations
=10*20
We didn'tis atype
formula, where 10 and 20 are constants, and the * sign is the operator.
in "4" or "8"
=SUM(A1:A10) is a formula, where SUM is the function name, the opening and closing parentheses contain the formula argum
directly into5
=SUM(A1:A10,C1:C10)
the formula. is a formula, where SUM is the function name, the opening and closing parentheses contain the formul

Previous 6
Next
More information on the web

Use Excel as a calculator


Overview of formulas in Excel
Excel functions (by category)
cs: Basics: doing math with Excel
candoing
Add, math withMultiply,
Subtract, Excel and Divide in Excel without using any built-in functions. You just need to use some basic operators: +, -, *, /. A
Add, select cell F3, type =C3+C4, then press Enter.

Youselect
ubtract, can cell
Add,F4,Subtract, Multiply,
type =C3*C4,
=C3-C4, then and Divide in Excel without using any built-in functions. You just need to us
Multiply, select cell F5, type then press
press Enter.
Enter.
formulas start with an equals (=) sign.
Divide, select cell F6, type =C3/C4, then press Enter.

ck this out: change the numbers in cells C3 and C4, and watch the formula results automatically change.
RA CREDIT: You 1 can raiseToaAdd,
value to a power
select byF3,
cell using the carat
type (^) symbol,
=C3+C4, then like =A1^A2.
press Enter it with Shift+6. In cell
Enter.
e down for more detail

ele isabout up2


madeformulas, cells,To
of individualand ranges
Subtract,
cells select cell
that are grouped into F4,
rowstype =C3-C4
and columns. , then
Rows press Enter
are numbered, .
and columns are lettered. There are over 1 m

'll notice that in our third example above, we used the SUM function. A function is a pre-built command that takes a value or values, calcu
3
mulas with functions To with
start Multiply, select
an equals cell the
sign, then F5,function
type =C3*C4, then
name follows press
with Enter. (the values a function uses to calculate)
its arguments

4
me formula explanations To Divide, select cell F6, type =C3/C4, then press Enter.
*20 is a formula, where 10 and 20 are constants, and the * sign is the operator.
M(A1:A10) is a formula, where SUM is the function name, the opening and closing parentheses contain the formula arguments, and A1:A1
5 To Power, select cell F7, type =POWER(C3,C4), then press
M(A1:A10,C1:C10) is a formula, where SUM is the function name, the opening and closing parentheses contain the formula arguments, an
Enter.

6 To Roundup, select cell F8, type =ROUNDUP(C8,2), then press


Enter.
e information on the web

Excel as a calculator
rview of formulas in Excel
el functions (by category)
{
se some basic operators: +, -, *, /. All formulas start with an equals (=) sign.
Operation: Formulas: Answers:
Addition (+) 3
unctions. You just need
Numbers to use:to use some basic operators:
Subtraction (-) +, -, *, /. All -1
1 Multiplication (*) 2
2 Division (/) 0.5
Power (^) 1
1.543224 Roundup 1.55

mns are lettered. There are over 1 million rows and 16,000 columns, and you can put formulas in any of them.

d that takes a value or values, calculates them in a certain way, and returns a result. For instance, the SUM function takes the cell referenc
alues a function uses to calculate) wrapped in parentheses.

the formula arguments, and A1:A10 is the cell range for the function.
contain the formula arguments, and A1:A10,C1:C10 are the cell ranges for the function separated by a comma.
ction takes the cell references or ranges you specify, and totals them. In this example it takes the cells A1 through A10, and totals them. Ex
A10, and totals them. Excel has over 400 functions, which you can explore on the Formulas tab.
EXTRA CREDIT
Try using
CHECK THIS
MEDIAN or
OUT
MODE here.
AVERAGE
Select AVERAGE function
functionany
range of gives
MEDIAN
Use
you the
numbers,
the AVERAGE function to get the average of numbers in a range of cells.
then
value
Select
look
in Use
cell D7,
theinmiddle
the thethen
AVERAGE functionto
use AutoSum toadd
get an
theAVERAGE
average offunction.
numbers in a range of
Status
of
Now Barcells.
the selectfor
data set,cell G7, and enter an AVERAGE function by typing =AVERAGE(G3:G6).
an instant
while
In cellgives
Average.
MODE D15,1 you can use either AutoSum, or type to enter another AVERAGE function.
the one that
occurs
Activate thethe previous sheet
most
Go 2sheet
to the next
frequently.

Links for more information on the web


3all about the AVERAGE function on the web
Select to learn
Select to learn all about the MEDIAN function on the web
Select to learn all about the MODE function on the web
Select to learn about free Excel training on the web
AVERAGE function
e the AVERAGE function to get the average of numbers in a range of cells.
UseD7,
ect cell thethen
AVERAGE functionto
use AutoSum toadd
get an
theAVERAGE
average offunction.
numbers in a range of
cells.
w select cell G7, and enter an AVERAGE function by typing =AVERAGE(G3:G6).
1 youSelect
cell D15, celleither
can use D7, then use AutoSum
AutoSum, or type to
to add ananother
enter AVERAGE function.
AVERAGE function.

vate the previous sheet


2sheetNow select cell G7, and enter an AVERAGE function by typing
o the next
=AVERAGE(G3:G6).

ks for more information on the web


3all about
ct to learn In cell D15, you
the AVERAGE canon
function use
the either
web AutoSum, or type to enter another
AVERAGE
ct to learn all about the MEDIANfunction.
function on the web
ct to learn all about the MODE function on the web
ct to learn about free Excel training on the web
Fruit Amount Meat Amount
Apples 50 Beef 50
Oranges 20 Chicken 30
Bananas 60 Pork 10
Lemons 40 Fish 50
AVERAGE > AVERAGE >

Item Amount Item Amount


Bread 50 Bread 50
Donuts 100 Donuts 100
Cookies 40 Cookies 40
Cakes 50 Cakes 50
Pies 20 Pies 20
AVERAGE >

More about the SUM function


In some of the above tips, we taught you how to use the SUM function. Here are more details about it.
Cells C37 through D41 contain data with two columns: Fruit and Amount.
The formula in cell D42: =SUM(D38:D41).
If the SUM function in cell D42 could talk, it would say this: Sum up the values in cells D38, D39, D40, and D41.
Here's another way it can be used:
Cells C47 through D48 contain data with two columns: Item and Amount.

More information on the web


All about the SUM function
All about the SUMIF function
Use Excel as your calculator
Free Excel training online
Go back to top by pressing CTRL+HOME. To proceed to the next step, press CTRL+PAGE DOWN.
GOOD TO
KNOW
You can use
either MIN or
MAX with
multiple ranges,

show
MIN
In cell
then and
use
MIN and MAX functions
or values to
Select cell D7,
the MAX
D15, youfunctions
greater
Now orthe
select lesser
cell
can
of use
the either
AutoSum
Use those MIN function
values, to get the minumum number in a range of cells.
G7,
the and enter
AutoSum a
Wizard to add
Use a the MIN
like
MAX
Use function
the
Wizard,
MIN MAX
or type
function.
by
function to get function to number
the maximum get the
in asmallest number in a range of cells.
range of cells.
=MIN(A1:A10,B1
typing
to enter Use the MAX function to get the largest number in a range of cells.
:B10), or a MIN
=MAX(D3:D6).
or MAX
=MAX(A1:A10,B
More
function.
1), where B1on
information
the web a 1
contains
threshold value,
like 10, in which
All
case aobut the MIN function
the formula
would
All about the 2
never MAX function
return a result
Free Excel10.
less than training online

You can use either MIN or MAX with multiple ranges, or values to show the greater or lesser of those values, like =MIN(A1:A10,B1:B10), o

More information on the web


All about the MIN function
All about the MAX function
Use Excel as your calculator
Free Excel training online
MIN and MAX functions
and MAX functions
the MIN function to get the minumum number in a range of cells.
Use
the MAX the MIN
function to get function to number
the maximum get the
in asmallest number in a range of cells.
range of cells.
Use the MAX function to get the largest number in a range of cells.

1 Select cell D7, then use the AutoSum Wizard to add a MIN
function.
obut the MIN function
Now select cell G7, and enter a MAX function by typing
bout the 2MAX function
=MAX(D3:D6).
Excel training online

3 In cell D15, you can use either the AutoSum Wizard, or type to
enter a MIN or MAX function.

can use either MIN or MAX with multiple ranges, or values to show the greater or lesser of those values, like =MIN(A1:A10,B1:B10), or =MAX(A1:A10,1

e information on the web


bout the MIN function
bout the MAX function
Excel as your calculator
Excel training online
Fruit Amount Meat Amount
Apples 50 Beef 50
Oranges 20 Chicken 30
Bananas 60 Pork 10
Lemons 40 Fish 50
MIN > MAX >

Item Amount Item Amount


Bread 50 Bread 50
Donuts 100 Donuts 100
Cookies 40 Cookies 40
Cakes 50 Cakes 50
Pies 20 Pies 20
MIN or MAX > 10

GOOD TO KNOW
You can use either MIN
N(A1:A10,B1:B10), or =MAX(A1:A10,10).
or MAX with multiple
ranges, or values to
show the greater or
lesser of those values,
like
=MIN(A1:A10,B1:B10),
or =MAX(A1:A10,B1),
where B1 contains a
threshold value, like 10,
in which case the
formula would never
return a result less than
10.
one formula
written, you
can just
replace the
function name
with the one
you want.
We've written
all the
functions you'll
Conditional
need for cellfunctions - SUMIF
E106,
Conditionalso youfunctions let you sum, average, count or get the min or max of a range based on a given condition, or criteria you
can copy/paste
SUMIF
these, or lets
tryyouto sum in one range based on a specifc criteria you look for in another range, like how many Apples you have. Sel
=SUMIF(C3:C14,C17,D3:D4)
type them
yourself
What range for do you want to look at?
practice.
What value
EXPERT TIP (text or number) do you want to look for?
Each
For one of
eachismatch found, what range
SUMIF
SUMIFS
the Fruit the same
and as SUMIF, but itdolets
youyou
want
usetomultiple
sum in?criteria. So in this example, you can look for Fruit and Type, instead
=SUMIF(C92:C
Type cells has
103,C106,E92:
a=SUMIFS(H3:H14,F3:F14,F17,G3:G14,G17)
drop-down
E103)
list
What where
COUNTIFS
SUMIFS range you
isdo you want to sum?
can
the select
same
=SUMIFS(E92:E
This is as
This is the
different thefruits.
first range to look in for matches
SUMIF,
103,C92:C103,
second but it
range
This
Try
lets is
it, the
and
youinuse
C106,D92:D10
to look criteria for the first match
for
watch
multiple
3,D106)
matches the
formulas
criteria.
AVERAGEIF So in
This is the criteria for the second match
automatically
this example,
=AVERAGEIF(C
update.
you can look
92:C103,C106,
for
DiveFruit
E92:E103)
down and for more detail
Type, instead
AVERAGEIFS
Next
of juststep
by Fruit.
=AVERAGEIFS(
Conditional
Select cell H64
E92:E103,C92: functions - COUNTIF
and type
C103,C106,D9
COUNTIF and COUNTIFS let you count values in a range based on a criteria you specify. They're a bit different from the other I
=COUNTIFS(F5
2:D92,D106)
Select cell D64 and type =COUNTIF(C50:C61,C64). COUNTIF is structured like this:
0:F61,F64,G50:
COUNTIF
=COUNTIF(C50:C61,C64)
G61,G64).
=COUNTIF(C92
COUNTIFS
What rangeisdo you want to look at?
:C103,C106)
structured like
COUNTIFS
What
this: value (text or number) do you want to look for?
=COUNTIFS(C9
2:C103,C106,D
92:D103,D106)
=COUNTIFS(F50:F61,F64,G50:G61,G64)
MAXIFS
This is the first range to count
=MAXIFS(E92:E
This is the criteria for the first match
103,C92:C103,
C106,D92:D10
This is the second range to count
3,D106)
This is criteria for the second match
MINIFS
Dive down for more detail
=MINIFS(E92:E
103,C92:C103,
Next
C106,D92:D10
More
3,D106)conditional functions

Dive down for more detail


Next
SUMIF with a value argument
Here's an example of the SUMIF function using greater than (>) to find all values greater than a given amount:
Err:504
Sum up through
....Look some values
thesebased
cells...on this criterion:
...and if the value is greater than 50, sum it up.

NOTE: If you find you are making a lot of conditional formulas, you might find that a PivotTable is a better solution. See this Piv
More information on the web
All about the SUMIF function
All about the SUMIFS function
All about the COUNTIF function
All about the COUNTIFS function
ditional functions - SUMIF
ditional functions let you sum, average, count or get the min or max of a range based on a given condition, or criteria you specify. Such as,
COUNT functions
MIF lets you sum in one range based on a specifc criteria you look for in another range, like how many Apples you have. Select cell D17 and
MIF(C3:C14,C17,D3:D4)
at range do you want to look at?
at value (text or number) do you want to look for?
eachismatch
MIFS found,
the same whatUnder
as SUMIF, range
but itdo
theyou
lets want
you usetomultiple
Amount sum in?criteria.
column for Item
So in (cell E12), type
this example, =COUNT(E7:E11),
you can look for Fruit and Type, instead of just by Fruit. S
1 and press Enter. This will count the values in cells E7, E8, E9, E10 and
E11. Your answer should be 5.
MIFS(H3:H14,F3:F14,F17,G3:G14,G17)
at range do you want to sum?
is the first range to look in for matches
is the criteria for the first match
Under the Amount column for Item (cell H12), type =COUNTA(G7:H11),
2 and press Enter. This will count the values in cells G7 till H11. Your
is the criteria for the second
answermatch should be 10.

e down for more detail


Under the Amount column for Item (cell E21), type
ditional functions 3 =COUNTBLANK(D16:E20), and press Enter. This will count the blank
- COUNTIF
UNTIF and COUNTIFS let cells D16values
you count till E20. Your answer
in a range based on should
a criteriabe
you2.
specify. They're a bit different from the other IF and IFS
ct cell D64 and type =COUNTIF(C50:C61,C64). COUNTIF is structured like this:
UNTIF(C50:C61,C64)
at range do you want to look at?
at value (text or number) do you want to look for?

UNTIFS(F50:F61,F64,G50:G61,G64)
is the first range to count
is the criteria for the first match
is the second range to count
is criteria for the second match
e down for more detail

e conditional functions
What range do you
want to look at?
e down for more detail

MIF with a value argument


=COUNTIF(D27:E38,D41)
e's an example of the SUMIF function using greater than (>) to find all values greater than a given amount:

mook
up through
some values
thesebased
cells...on this criterion:
nd if the value is greater than 50, sum it up. What value (text or number)
do you want to look for?
TE: If you find you are making a lot of conditional formulas, you might find that a PivotTable is a better solution. See this PivotTable article
e information on the web
about the SUMIF function
about the SUMIFS function
about the COUNTIF function

COUNTIF with a value argument


about the COUNTIFS function

Here's an example of the COUNTIF function using greater than (>) to find all
values greater than a given amount:

Sum up some ....Look through ...and if the


values based these cells... value is
on this greater than
criterion: 50, sum it up.

=COUNTIF(E52:E56,">=100")
on, or criteria you specify. Such as, out of all the fruits in the list, how many are apples? Or, how many oranges are the Florida type?
pples you have. Select cell D17 and type =SUMIF(C3:C14,C17,D3:D14). SUMIF is structured like this:

Item Amount Item Amount


and Type, instead of just byBread
:E11), 50 Bread 50SUMIFS is structured like this:
Fruit. Select cell H17 and type =SUMIFS(H3:H14,F3:F14,F17,G3:G14,G17).
10 and Donuts 100 Donuts 100
Cookies 40 Cookies 40
Cakes 50 Cakes 50
Pies 20 Pies 20
COUNT > COUNTA >
G7:H11),
our

Item Amount
Bread 50
Donuts 100
e blank Cookies
nt from the other IF and IFSCakes 50
20
COUNTBLANK >

Fruit Amount
Apples 50
Oranges 20
Bananas 60
Lemons 40
Apples 50
Oranges 20
Bananas 60
Lemons 40
Apples 50
Oranges 20
Bananas 60
Lemons 40

Fruit COUNTIF
Apples
olution. See this PivotTable article for more information.
Item Amount
Bread 50
Donuts 100
Cookies 40
Cakes 150
Pies 20
e the Florida type?
DETAIL
or type =SUM(,
Double-click
then select
this
thatcell.
range You'll
notice
with the 100
the
toward
mouse, the and
end.
pressAlthough
Enter.
it's
Thispossible
will sumto
put
the values in in
numbers
acells
formula
D3, D4, like
this,
D5, we
and don't
D6.
Introduction to functions
recommend
Your answer it
Functions
unless
should it'sSUM functions
be give
170. you the ability to do a variety of things, like perform mathematical operations, look up values, or even
absolutely
Now let's try AutoSum. Select the cell under the column for Meat (cell G7), then go to Formulas > AutoSum > select SUM. You
necessary. This
is known as a
Go
Here'sto athe
constant, neat
and Formulas tab andSelect
keyboard shortcut. browse through
cell D15, the Function
then press Library,
Alt =, then Enter. Thiswhere functions
automatically entersare
SUM listed by catego
for you.
it's
Dive easy
down to 1
for more detail
EXTRA
forget
Whenthat CREDIT
youit'sstart typing a function name after you press =, Excel will launch Intellisense, which will list
Try theWe
there. COUNT function using any of the methods you've already tried. The COUNT function counts the number of cells in a ra
Next step
recommend
referring
More about 2
to functions
another cell
Now let's
If the SUM
instead, look atcould
likefunction the anatomy ofsay,
talk, it would a few functions.
return the sum ofThe SUM
all the function
values is structured
in cells D38 to D41, and like
all ofthis:
column H. SUM is th
cell F51. That
way
The it's easily
TODAY function returns today's date. It will automatically update when Excel recalculates.
CHECK
seen and THISnotOUT
Select
hiddentheseinsidecells.
a Then in the lower-right corner of the Excel window, look for SUM: 170 in the bottom bar. That's called the S
formula. 3
More information on the web
All about the SUM function
Use AutoSum to sum numbers
All about the COUNT function
Free Excel training online
Back to top
Conditional functions - SUMIF
Next step

Conditional functions let you sum, average, count or get the min or max of
a range based on a given condition, or criteria you specify. Such as, out of
all the fruits in the list, how many are apples? Or, how many oranges are
the Florida type?

Free Excel training online


Go back to top by pressing CTRL+HOME. To proceed to the next step, press CTRL+PAGE DOWN.
SUMIF with a value argument
Here's an example of the SUMIF function using greater than (>) to find all
values greater than a given amount:

Sum up some
values based
on this
criterion:

=SUMIF(D118:D122,">=50")
oduction to functions
SUM functions
ctions give you the ability to do a variety of things, like perform mathematical operations, look up values, or even
w let's try AutoSum. Select the cell under the column for Meat (cell G7), then go to Formulas > AutoSum > select SUM. You'll see Excel auto

to athe
e's neatFormulas
keyboard
Under tabthe
and
shortcut. browse
Select
Amount through
cellcolumn
D15, then the
press
for Function
Alt(cell
Fruit =, then Library,
Enter.
D7), Thiswhere
enter functions
automatically
=SUM(D3:D6), entersare
SUM listed by category, like Text,
for you.
eRA
1
down for moreordetail
type =SUM(, then select that range with the mouse, and press
enCREDIT
you start Enter.
typing This
a function namethe after you
in press =, Excel willand
launch Intellisense, which will list all of the fun
the COUNT function using anywill sum
of the methods values cells
you've already D3,
tried. D4,COUNT
The D5, D6. counts
function Your the number of cells in a range that contain
answer should be 170.
2 Now let's try AutoSum. Select the yellow cell under the column
e about functions
for Meat (cell G7), then go to Formulas > AutoSum > select
w let'sfunction
e SUM look atcould
the anatomy ofsay,
a few functions.
the sum ofThe SUM function is structured
D41, and like
all ofthis:
SUM. talk, it would
You'll see Excel return
automatically allenter
the values in cells D38
the formula to you.
for column H. SUM is the function name
Press Enter to confirm it. The AutoSum feature has all of the
TODAY
CK THIS function
OUT most returns today's date.
common It will automatically update when Excel recalculates.
functions.
ct these cells. Then in the lower-right corner of the Excel window, look for SUM: 170 in the bottom bar. That's called the Status Bar, and it
3 Here's a neat keyboard shortcut. Select cell D15, then press Alt =
then, Enter. This automatically enters SUM for you.
e information on the web
about the SUM function
AutoSum to sum numbers
about the COUNT function
e Excel training online

Conditional functions - SUMIF


Conditional functions let you sum, average, count or get the min or max of
a range based on a given condition, or criteria you specify. Such as, out of
all the fruits in the list, how many are apples? Or, how many oranges are
the Florida type?

1 SUMIF lets you sum in one range based on a specifc criteria you
look for in another range, like how many Apples you have. Select
cell D17 and type =SUMIF(C3:C14,C17,D3:D14). SUMIF is
structured like this:
What range do you For each match found, what
want to look at? range do you want to sum?

=SUMIF(C3:C14,C17,D3:D4)

e Excel training online What value (text or number)


do youtowant
back to top by pressing CTRL+HOME. To proceed to look
the next for?press CTRL+PAGE DOWN.
step,
SUMIF with a value argument
Here's an example of the SUMIF function using greater than (>) to find all
values greater than a given amount:

Sum up some ....Look through ...and if the


values based these cells... value is
on this greater than
criterion: 50, sum it up.

=SUMIF(D118:D122,">=50")
Fruit Amount Meat Amount
Apples 50 Beef 50
Oranges 20 Chicken 30
Bananas 60 Pork 10
Lemons 40 Fish 50
SUM 170 SUM

Item Amount
Bread 50
Donuts 100
Cookies 40
Cakes 50
Pies 20
SUM

Fruit Amount
Apples 50
Oranges 20
Bananas 60
Lemons 40
Apples 50
Oranges 20
Bananas 60
Lemons 40
Apples 50
Oranges 20
Bananas 60
Lemons 40

Fruit SUMIF
Apples
Item Amount
Bread 50
Donuts 100
Cookies 40
Cakes 50
Pies 20
Joining
There are Joining text from different cells
text fromtimes
many different cellswhen you want to join text that's in different cells. This example is very common, where you ha
in Excel
In cell E3, enter =D3&C3 to join the last and first names.
SmithNancy doesn't look quite right though. We need to add a comma and a space. To do that we'll use quotes to create a ne
There are many times in Excel when you want to join text that's in different
To create cells.
the fullThis
name,example
we'll join first and last
is very name, but
common, use a space
where without
you have a comma.
first In F3,
and last enter =C3&" "&D3.
names,
and want to combine them as first name, last name, or full name.
Dive downFortunately,
for more detailExcel lets us do that with the Ampersand (&) sign, which you
Next can enter with Shift+7 or use formula named as CONCATENATE.
Using text and numbers together
Look
In cellatC36,
cellsenter
C28:D29. See"&TEXT(D28,"MM/DD/YYYY").
=C28&" how the date and times are inMM/DD/YYYY
separate cells?is You
the can join them
US format together
code with the & symbol
for Month/Day/Year, like yo
like 09/25/
1
=C28
WORTH & "EXPLORING
" & TEXT(D28,"MM/DD/YYYY")
If you don't don't know what format code to use, you can use Ctrl+1 > Number to format any cell the way you want. Then sele
2 on the web
More information
All about the TEXT function
Combine text and numbers
Free Excel training online

3
ingare
re Joining text from different cells
text fromtimes
many different cellswhen you want to join text that's in different cells. This example is very common, where you have first and last
in Excel
ell E3, enter =D3&C3 to join the last and first names.
thNancy doesn't look quite right though. We need to add a comma and a space. To do that we'll use quotes to create a new text string. Th
There are many times in Excel when you want to join text that's in different
reate cells.
the fullThis
name,example
we'll join first and last
is very name, but
common, use a space
where without
you have a comma.
first In F3,
and last enter =C3&" "&D3.
names,
and want to combine them as first name, last name, or full name.
e downFortunately,
for more detailExcel lets us do that with the Ampersand (&) sign, which you
can enter with Shift+7 or use formula named as CONCATENATE.
ng text and numbers together
k atC36,
ell cellsenter
C28:D29. See"&TEXT(D28,"MM/DD/YYYY").
=C28&" how the date and times are inMM/DD/YYYY
separate cells?is You
the can join them
US format together
code with the & symbol
for Month/Day/Year, like you'll see in cells C
like 09/25/2017.
In cell E3, =C3&D3 then ENTER to join the last and first names.
1
8RTH
& "EXPLORING
" & TEXT(D28,"MM/DD/YYYY")
SmithNancy doesn't look quite right though. We need to add a
ou don't don't know whatToformat
space. code
create thetofull
use,name,
you can we'll
use Ctrl+1
join >first
Number
andtolast
format any cell
name, butthe way you want. Then select the Custom o
2 on
e information theaweb
use space without a comma. In F3, =C3&" "&D3 then ENTER.
about the TEXT function "& portion lets us join a space with the text in the cells.
The &"
mbine text and numbers
e Excel training online
Another formula used for joining text from different cells. It helps
to joins several text strings into one text string. Type in cell E14,
3 =CONCATENATE(C14,D14) then ENTER. To create the full name
with space, In cell F14 type =CONCATENATE(C14," ",D14) then
ENTER.
mon, where you have first and last names, and want to combine them as first name, last name, or full name. Fortunately, Excel lets us do t

First Name Last Name First NameLast Name Full Name


Nancy Smith NancySmith Nancy Smith
Andy North
Jan Kotas
Mariya Jones
he & symbol
y/Year, like you'll see in cells C32:C33, but that doesn't look right, does it? Unfortunately, Excel doesn't know how you want to forma
like 09/25/2017.

First Name Last Name Last Name, First Name Full Name
Steven Thorpe StevenThorpe Steven Thorpe
Michael Neipper
Robert Zare
Yvonne McKay
ortunately, Excel lets us do that with the Ampersand (&) sign, which you can enter with Shift+7.

ow how you want to format the numbers, so it breaks them down to their basest format, which is the the Serial date in this case. We need
ate in this case. We need to explicity tell Excel how to format the number portion of the formula, so it displays the way you want in the res
way you want in the resulting text string. You can do that with the TEXT function and a format code.
Joining
There are Division of Word
text fromtimes
many different cellswhen you want to join text that's in different cells. This example is very common, where you ha
in Excel
In cell E3, enter =D3&C3 to join the last and first names.
SmithNancy doesn't look quite right though. We need to add a comma and a space. To do that we'll use quotes to create a ne
To create the full name, we'll join first and last name, but use a space without a comma. In F3, enter =C3&" "&D3.
It is a function used to returns the specified numbers of characters from the end
Dive down of foramore
textdetail
string. That means this command helps to divide some letters from the
Next word.
Using text and numbers together
Look
In cellatC36, 1C28:D29.
cellsenter =C28&"See"&TEXT(D28,"MM/DD/YYYY").
how the date and times are inMM/DD/YYYY
separate cells?is You
the can join them
US format together
code with the & symbol
for Month/Day/Year, like yo
like 09/25/

=C28
WORTH & "EXPLORING
" & TEXT(D28,"MM/DD/YYYY")
2 know what format code to use, you can use Ctrl+1 > Number to format any cell the way you want. Then sele
If you don't don't
More information on the web
All about the TEXT function
Combine text and numbers
Free Excel training online
ingare
re Division of Word
text fromtimes
many different cellswhen you want to join text that's in different cells. This example is very common, where you have first and last
in Excel
ell E3, enter =D3&C3 to join the last and first names.
thNancy doesn't look quite right though. We need to add a comma and a space. To do that we'll use quotes to create a new text string. Th
reate the full name, we'll join first and last name, but use a space without a comma. In F3, enter =C3&" "&D3.
It is a function used to returns the specified numbers of characters from the end
e down of foramore
textdetail
string. That means this command helps to divide some letters from the
word.
ng text and numbers together
k atC36,
ell 1C28:D29.
cellsenter InSee how
cell
=C28&" E7,the date and times are
=LEFT(D7,4),
"&TEXT(D28,"MM/DD/YYYY"). inMM/DD/YYYY
then separate
ENTERcells?is You
the can
to divide joinfirst
USthe
format them together
three
code with the & symbol
letters.
for Month/Day/Year, like you'll see in cells C
like 09/25/2017.

8RTH
& "EXPLORING
" & TEXT(D28,"MM/DD/YYYY")
2 know
ou don't don't In cell
whatF7, =RIGHT(D7,2)then
format ENTER
code to use, you can use Ctrl+1to divide the
> Number last three
to format any cell the way you want. Then select the Custom o
letters.
e information on the web
about the TEXT function
mbine text and numbers
e Excel training online
where you have first and last names, and want to combine them as first name, last name, or full name. Fortunately, Excel lets us do that w

o create a new text string. This time, enter =D3&", "&C3. The &", "& portion lets us join a comma and space with the text in the cells.

Full Name Left Division Right Division


LOOKUP LOOK UP
COOPERATION
PAKISTAN
r, like 09/25/2017.

ant. Then select the Custom option. You can copy the format code that's displayed back to your formula.
y, Excel lets us do that with the Ampersand (&) sign, which you can enter with Shift+7.

the text in the cells.


Joining
There are To calculate AGE from Date of Birth in
text fromtimes
many different cellswhen you want to join text that's in different cells. This example is very common, where you ha
in Excel

Excel
In cell E3, enter =D3&C3 to join the last and first names.
SmithNancy doesn't look quite right though. We need to add a comma and a space. To do that we'll use quotes to create a ne
In everyday life, the question "How old are you?" usually implies an answer
To create the full name, how
indicating we'll join
manyfirstyears
and lastyou
name, but been
have use a space
alive.without a comma.
In Microsoft In F3, enter
Excel, =C3&" "&D3.
you can
make a formula to compute an exact age in years or days.
Dive down for more detail
Next
Using text and numbers together
Look
In cellatC36, 1C28:D29.
cellsenter See"&TEXT(D28,"MM/DD/YYYY").
=C28&" how the date and times are inMM/DD/YYYY
separate cells?is You
the can join them
US format together
code with the & symbol
for Month/Day/Year, like yo
like 09/25/

=C28
WORTH & "EXPLORING
" & TEXT(D28,"MM/DD/YYYY")
2 know what format code to use, you can use Ctrl+1 > Number to format any cell the way you want. Then sele
If you don't don't
More information on the web
All about the TEXT function
Combine text and numbers
Free Excel training online
ingare
re To calculate AGE from Date of Birth in
text fromtimes
many different cellswhen you want to join text that's in different cells. This example is very common, where you have first and last
in Excel

Excel
ell E3, enter =D3&C3 to join the last and first names.
thNancy doesn't look quite right though. We need to add a comma and a space. To do that we'll use quotes to create a new text string. Th
In everyday life, the question "How old are you?" usually implies an answer
reate the full name, how
indicating we'll join
manyfirstyears
and lastyou
name, but been
have use a space
alive.without a comma.
In Microsoft In F3, enter
Excel, =C3&" "&D3.
you can
make a formula to compute an exact age in years or days.
e down for more detail

ng text and numbers together


k atC36,
ell 1C28:D29.
cellsenter Seeyears,
For
=C28&" how the dateinand
type times
cell F7,are
"&TEXT(D28,"MM/DD/YYYY"). inMM/DD/YYYY
separate cells?is You
=(TODAY()-D7)/365 the can join them
US format together
code with the & symbol
for Month/Day/Year, like you'll see in cells C
like 09/25/2017.

8RTH
& "EXPLORING
" & TEXT(D28,"MM/DD/YYYY")
Forwhat
days, typecode
in cell G7,you
=(TODAY()-D7)
2 know
ou don't don't format to use, can use Ctrl+1 > Number to format any cell the way you want. Then select the Custom o
e information on the web
about the TEXT function
mbine text and numbers
e Excel training online
where you have first and last names, and want to combine them as first name, last name, or full name. Fortunately, Excel lets us do that w

o create a new text string. This time, enter =D3&", "&C3. The &", "& portion lets us join a comma and space with the text in the cells.

Name Date of Birth Age in Years Age in Days


Mike 6/6/1996 28 10304
Neal 4/20/2000
Peter 11/16/2002
Kate 7/21/2016
Michel 2/10/1993

ant. Then select the Custom option. You can copy the format code that's displayed back to your formula.
ely, Excel lets us do that with the Ampersand (&) sign, which you can enter with Shift+7.

the text in the cells.


"Shipping".
formula
In cell F33, in cell As
you
D12. start
We
we've entered got
typing,
you Excel's
started
=IF(E33="Yes",
Next we've
auto-correct,
with
F31*SalesTax,0
added an IFit
should
wherefind
=IF(C12<100,"L
), weto
statement
for
ess you.
than When
set up
calculate
Copy SalesTax
D9press to
it
In does,
100","Greater
as a Named
cell D9ifenter
shipping
D10.
Tab
than The
toorwith
enter
equal it'sit.
Range
=IF(C9="Apple
required.
answer here In a
This
value is
to 100"). a
of
",TRUE,FALSE). What
cell
EXPERT
should
Named F35be
happens you'll
TIP
Range,
if you
0.0825.
The
see
IF
enter
formula
answer
allow
because
entered
IF
aIF statements
correct
statements
Named
FALSE,
and we
you
Our
Ranges
issays
=IF(E35="Yes",
statements
If
itanto allow you to make logical comparisons between conditions. An IF statement generally says that if one condition
number
cell
TRUE. E33 equals
SUM(D28:D29)
define
orange
from
greater terms
isthan
Formulas not
Yes,
or then
*1.25,0).
values
anDefine
apple. This
in a
>100 in
multiply cell cell
says
single
Name. "Ifplace,
cell
Now, IF ifstatements allow you to make logical comparisons between conditions. An IF statement ge
C12?
F31 times
E35
and
you is
then
everYes, reuse
something, otherwise do something else. The formulas can return text, values, or even more
SalesTax,
TRUE
then
them andneed
take FALSE are unlike other words in Excel formulas in that they don't need to be in quotes, and Excel will automatically c
the
to change your
otherwise
=IF(C3="Apple","Yes","No")
sum of the
throughout
shipping cost, a
return
Quantity
workbook.
Diveonly a 0.
down Youmore detail
for
you have
column
can
to
Nextdoseeit inin
allonethe
of
Try
table
the changing
above,
named
place,
Yes
IF
and to and
No
statement
ranges
IF multiply
inthe
statements
inyou
this 1another function
itwith
can
cell
by
use
E33
1.25,
workbook to seecan also force additional calculations to be performed if a certain condition is met. Here we're going to evaluate
by
Shipping
the calculation name
otherwise
going
anywhere to in
change.
return
Formulas a 0". >
the workbook.
Name 2
Manager. Click
GOOD
here toTO learn KNOW
When
more. you create a formula, Excel will automatically place colored borders around any ranges referenced in the formula, and t
3
Previous
Next
More information on the web
All about the IF function
All about the IFS function
Advanced IF statements
Free Excel training online

IF statement with another function


IF statements can also force additional calculations to be performed if a certain condition is m
Commission should be charged, and calculate it if the condition is true.

IF statement with multiple function


When there are multiple conditions in If Statement functions, then it is named as Nested If C
When there are multiple conditions in If Statement functions, then it is named as Nested If C

2
IF statements
atements allow you to make logical comparisons between conditions. An IF statement generally says that if one condition is true do some

IF statements allow you to make logical comparisons between conditions. An IF statement generally says
something, otherwise do something else. The formulas can return text, values, or even more calculations.
E and FALSE are unlike other words in Excel formulas in that they don't need to be in quotes, and Excel will automatically capitalize them.
C3="Apple","Yes","No")
e down for more detail

atements
1also forcefunction
atement with
can another
In cell D9 enter =IF(C9="Apple",TRUE,FALSE). The correct answer is TRUE.
additional calculations to be performed if a certain condition is met. Here we're going to evaluate a cell to see if S

2 Copy D9 to D10. The answer here should be FALSE, because an orange is not an apple.

OD TO KNOW
en you create a formula, Excel will automatically place colored borders around any ranges referenced in the formula, and the correspondin
3 Try another example by looking at the formula in cell D12. We got you started with =IF(C12<
you enter a number greater than or equal to 7 in cell D12?

e information on the web


about the IF function
about the IFS function
anced IF statements
e Excel training online

IF statement with another function


IF statements can also force additional calculations to be performed if a certain condition is met. Here we
Commission should be charged, and calculate it if the condition is true.

1 In cell F33, we've entered =IF(C29>20000,5000,0)where we set up Commission and mark


20000 than 5000 commission will be applied, otherwise no commission applied.

IF statement with multiple function


When there are multiple conditions in If Statement functions, then it is named as Nested If Condition.
When there are multiple conditions in If Statement functions, then it is named as Nested If Condition.

In cell E46, we've calculated Percentage to mark Grades according to Multiple conditions. we'
1
In cell F46, we've entered
=IF(E46>=80,"A+",IF(E46>=70,"A",IF(E46>=60,"B",IF(E46
>=50,"C","Fail")))) that means If student scored 80% than
2 marked with A+ Grade, If student scored 70% than marked with A
Grade, If student scored 60% than marked with B Grade, If student
scored 50% than marked with C Grade, and If student scored
below 50% than marked with Fail.
hat if one condition is true do something, otherwise do something else. The formulas can return text, values, or even more calculations.

F statement generally says that if one condition is true do


, or even more calculations.
will automatically capitalize them. Numbers don't need to be in quotes either. Regular text, like Yes or No does need to be in quotes like t

IF statements
swer is TRUE.
Apple TRUE
Orange

orange is not an apple.5 Tall


9
n the formula, and the corresponding ranges in the formula will be the same color. You can see this if you select cell F33 and press F2 to ed
t you started with =IF(C12<=7,"Tall","Short"). What happens if

Simple If Condition
in condition is met. Here we're going to evaluate a cell to see if
Sales Commission Amount
20000 0
50000
et up Commission 15000
and mark a criteria that If Sales exceed from
mission applied. 60000

d as Nested If Condition.
d as Nested If Condition.

Nested If Condition
g to Multiple Marks
conditions. we've entered
Obtained =(C46/D46*100)
Total Marks Percentage Grade
520 600 87 A+
380 600
250 600
450 600
320 600
, or even more calculations.

does need to be in quotes like this:

lect cell F33 and press F2 to edit the formula.


In 2nd step we applied Conditional Formatting command through Home Tab
2 > Conditional Formatting, than apply different options.
In S5 we applied Data Bars and in T5 we applied Icon Sets.
Conditional Formatting
ATTENDENCE SHEET
Sr. Names Attendence
1 Affan P A P A A
2 Ejaz P P P P A
3 Fahad A P P P A
4 Salman P P A P P
5 Akhter P A P A P
6 Talha A A A P P
7 Bilal A P A P P
8 Shahid P P A P P
ugh Home Tab 9 Affan A P A P A
10 Gafoor A P P A P
g

Total Present Total Absent


2 3
Roll No. NAME Total Marks Obtained
1 ABDUL BASIT QURESHI 6
2 ABDUL REHMAN 12 =VLOOKUP(IDCell,V Lookup List D
3 ABEER SULAIMAN 18
4 ABIHA ALI 24
5 AIMAN WARSI 30
6 AMIR SABAH 36
use f4 to remain unchange the c
7 AMNA SHAIKH 42
8 ANAS BADAR 48
9 ANUM BINTE SHAMS 54
10 ARSALAN MUHAMMAD KHAN 60 Roll No.:
11 ASRA ALI 66 NAME :
12 BEENISH MEHDI 72 Total Marks :
13 DANISH PUNJANI 78
14 FAHAD ATIQUE 84
15 FAIZAN KHAN 90
16 FARAH FAIZ 96
17 FARRUKH HUSSAIN KHAN 102
18 FASIHA RIZWAN 108
19 FATIMA AKRAM 114
20 FIZA ZIA 120
21 GHANWA ELLAHI 126
22 JAVERIA RAFFAT 132
23 KAMALUDDIN 138
24 KIRAN FATIMA 144
25 KIRAN MATEEN 150
26 MAHER ZAFER 156
27 MEHWISH SHAFIQ 162
28 MOHSIN NAJIB C.R. 168
29 MUHAMMAD ADNAN ANWAR 174
30 MUHAMMAD AKMAL MALIK 180
31 MUHAMMAD ALEEM SIDDIQUI 186
32 MUHAMMAD HARIS ALI 192
33 MUHAMMAD MUDASIR 198
34 MUHAMMAD OMAIS 204
35 MUHAMMAD OSAMA AKTHAR 210
36 MUHAMMAD WALEED BADAR 216
37 MUHAMMAD WAQAS ANSARI 222
38 NAIMA MAHFOOZ KHAN 228
39 NIMRA KARIM 234
40 QURAT UL AIN MANSOOR 240
41 QURATULAIN 246
42 RAKESH KUMAR 252
43 RAMEESHA ZOYA IMAM 258
44 RAO MUHAMMAD UMER 264
45 RAZA ALI 270
46 SALMAN ALI SHAH 276
47 SALMAN KHAN 282
48 SALMAN YOUSUF 288
49 SANA KHAN 294
50 SAROSH AZHER 300
51 SHAHZOR ALAM 306
52 SHUMAILA ASLAM 312
53 SIDRA ALI 318
54 SOFIYA SHERWANI 324
55 SUMAIYA SARWAR 330
56 SYED ARIF HUSSAIN 336
57 SYED FARRUKH HUSSAIN 342
58 SYED MUBASHIR UL HASSAN 348
59 SYED MUHAMMAD IMRAN RAZA 354
60 SYEDA MASOOM ZEHRA 360
61 TAHIR MEHMOOD 366
62 TAHIRA KAREEM 372
63 TALHA AHMED KHAN 378
64 TALHA ALI 384
65 TALHA MUNIR 390
66 UMAIR SHAUKAT 396
67 UROOSA SHAKIL 402
68 ZOHAIB ANWER 408
VLOOKUP(IDCell,V Lookup List Data,3,0)

use f4 to remain unchange the cell no.

11
PRODUCT ID 17 14 11 1 48 33 31
PRODUCT NAME ALMOMD BUTTER CHEEESE DANO DUTCH BUTTER HEN CHEESE ROSE PETAL
UNIT PRICE 100 200 360 400 500 600 700

PRODUCT ID 11
PRODUCT NAME =HLOOKUP(G8,B2:J3,2,0)
UNIT PRICE
13 2
KIFAYAT STEE
800 900

=HLOOKUP(G8,B2:J3,2,0)
Summarize data with
Summarize data with PivotTables

PivotTables
Cells C3 through F9 contain data with four columns: Date, Salesperson, Product, and Amount.
Look through the Date, Salesperson, Product and Amount columns. Can you quickly identify which product is the most pr
1 Look
When we created at the Date,
the PivotTable, Salesperson,
we clicked Product
a few buttons and
so that the data could be summarized. Now we know which p
Next you’ll pivot the data so that you can find out which salesperson which
Amount columns. Can you quickly identify is the leading seller. Select any cell inside the
product is the most profitable? Or which
Press SHIFT+F6 until you enter the PivotTable Fields pane or press ALT+JT, then L to launch the PivotTable Fields pane
salesperson is the leading seller? That’s where the
Now, press Tab three times tobelow
PivotTable enter the
can categories list: Date, Salesperson, Product and Amount . Select the checkbox
the help.
Dive down 2
When we created PivotTable, we clicked a few
for more detail: Go to A27. Or, to proceed to the next step, press CTRL+PAGE DOWN.
buttons so that the data could be summarized.
Now we know which product is the most profitable.
3 Now you’ll pivot the data so that you can find out
which salesperson is the leading seller. Right-click
any cell inside the PivotTable, and then click Show
Field List.
4 The PivotTable Fields pane appears. At the bottom
of the pane, under Rows, click Product and then
click Remove Field.
Press Tab to5 At the top of the pane, click the checkbox for
enter the list Salesperson. Now you can see who’s the leading
of categories.
Press DOWN salesperson.
ARROW
Now press to find
Product
DOWN
checkbox.
ARROW to find
Press
Amount Spacebar
to select
checkbox.
Product.
Create a PivotTable
When you do
When
that, the you do
that,
Amount thefield
Product Now you’ll create the PivotTable yourself so that you know
field
will get added
how
gets
to theadded
Values to to make one when you need to summarize data.
Create
the at athe
areaRows PivotTable
area
at
Nowthe bottom
you’ll
bottom of the create the PivotTable yourself so that you know how to make one when you need to summarize data.
of pane.1
the And,
pane. at
Click a cell inside the data on the right, and then
Cells C34 through F40 contain data with four columns: Date, Salesperson, Product, and Amount.
the same time on the Insert menu, click PivotTable.
And, the
Select
product a cell
the amounts datainside the table. For example go to cell E38, then press ALT+JT to enter the Design menu above the ribbon.
appears
A Create
are totaledas
PivotTable
for dialogue appears. Focus is on Select a table or range. Leave this radio button option selected pr
Row
each labels
product
2in In the dialog that appears, click Existing
The
the PivotTable
new Fields pane appears
Worksheet, andonthen
the right.
typePress
C42SHIFT+F6 until you come to the Search text box: Type words to s
in the Location
in the box. Click OK.
PivotTable.
PivotTable.
3 The PivotTable Fields pane appears on the right.
Congratulations, you made a PivotTable. But there is a lot more you can do. So go to cell A60 if you want to learn more
Go to cell A58 for the next instruction.
4 At the top of the pane, click the checkbox for
Product. When you do that, the Product field gets
added to the Rows area at the bottom of the pane.
And, the product data appears as Row labels in
the new PivotTable.

5 At the top of the pane, click the checkbox for


Amount. When you do that, the Amount field will
get added to the Values area at the bottom of the
pane. And, at the same time the amounts are
totaled for each product in the PivotTable.
5 At the top of the pane, click the checkbox for
Amount. When you do that, the Amount field will
get added to the Values area at the bottom of the
pane. And, at the same time the amounts are
totaled for each product in the PivotTable.

More information on the web


Create a PivotTable to analyze worksheet data
Use the Field List to arrange fields in a PivotTable
Go back to top by pressing CTRL+HOME. To proceed to the next step, press CTRL+PAGE DOWN.
Summarize data with
mmarize data with PivotTables

PivotTables
s C3 through F9 contain data with four columns: Date, Salesperson, Product, and Amount.
k through the Date, Salesperson, Product and Amount columns. Can you quickly identify which product is the most pr
en we created Look at the Date,
the PivotTable, Salesperson,
we clicked Product
a few buttons and
so that the data could be summarized. Now we know which p
t you’ll pivot the data so that you can find out which salesperson which
Amount columns. Can you quickly identify is the leading seller. Select any cell inside the
product is the most profitable? Or which
ss SHIFT+F6 until you enter the PivotTable Fields pane or press ALT+JT, then L to launch the PivotTable Fields pane
salesperson is the leading seller? That’s where the
w, press Tab three times tobelow
PivotTable enter the
can categories list: Date, Salesperson, Product and Amount . Select the checkbox
When we created the help.
PivotTable, we clicked a few
e down for more detail: Go to A27. Or, to proceed to the next step, press CTRL+PAGE DOWN.
buttons so that the data could be summarized.
Now we know which product is the most profitable.
Now you’ll pivot the data so that you can find out
which salesperson is the leading seller. Right-click
any cell inside the PivotTable, and then click Show
Field List.
The PivotTable Fields pane appears. At the bottom
of the pane, under Rows, click Product and then
click Remove Field.
At the top of the pane, click the checkbox for
Salesperson. Now you can see who’s the leading
salesperson.

Create a PivotTable
Now you’ll create the PivotTable yourself so that you know
how to make one when you need to summarize data.
ate a PivotTable
w you’ll create the PivotTable yourself so that you know how to make one when you need to summarize data.
Click a cell inside the data on the right, and then
s C34 through onF40
thecontain data
Insert with four
menu, columns:
click Date, Salesperson, Product, and Amount.
PivotTable.
ct a cell inside the table. For example go to cell E38, then press ALT+JT to enter the Design menu above the ribbon.
eate PivotTable dialogue
In the appears.
dialog Focus is onclick
that appears, SelectExisting
a table or range. Leave this radio button option selected pr
PivotTable Fields pane appears
Worksheet, and onthen
the right.
typePress
C42SHIFT+F6 until you come to the Search text box: Type words to s
in the Location
box. Click OK.
The PivotTable Fields pane appears on the right.
gratulations, you made a PivotTable. But there is a lot more you can do. So go to cell A60 if you want to learn more
o cell A58 for the next instruction.
At the top of the pane, click the checkbox for
Product. When you do that, the Product field gets
added to the Rows area at the bottom of the pane.
And, the product data appears as Row labels in
the new PivotTable.

At the top of the pane, click the checkbox for


Amount. When you do that, the Amount field will
get added to the Values area at the bottom of the
pane. And, at the same time the amounts are
totaled for each product in the PivotTable.
At the top of the pane, click the checkbox for
Amount. When you do that, the Amount field will
get added to the Values area at the bottom of the
pane. And, at the same time the amounts are
totaled for each product in the PivotTable.

e information on the web


ate a PivotTable to analyze worksheet data
the Field List to arrange fields in a PivotTable
back to top by pressing CTRL+HOME. To proceed to the next step, press CTRL+PAGE DOWN.
Date Salesperson Product Amount
6/26/2024 Anne Beer $ 1,400
7/1/2024 Mark Wine $ 1,010
7/18/2024 Anne Beer $ 750
7/22/2024 Mark Soda $ 510
8/11/2024 Mariya Soda $ 1,600
8/22/2024 Laura Wine $ 680

Row Labels Sum of Amount


PivotTable Beer $2,150
Soda $2,110
Wine $1,690
Grand Total $5,950

Date Salesperson Product Amount


6/26/2024 Anne Beer $ 1,400
7/1/2024 Mark Wine $ 1,010
7/18/2024 Anne Beer $ 750
7/22/2024 Mark Soda $ 510
8/11/2024 Mariya Soda $ 1,600
8/22/2024 Laura Wine $ 680
Element. Press
DOWN
ARROW to find
the Data Table
option then
press RIGHT
ARROW to
open the Data
Table options.
Press
Great DOWN
charts recommended for you
ARROW until
Cells C5 through
you find the D11 contain data with two columns: Year and Conference attendance.
Go toLegend
With any cell in the table between cells C5 and D11, for example go to cell C6. Press CTRL+G, type C6, then press Enter.
Keys
Now option.
press ALT+N to enter The Insert Charts tab above the ribbon. Press R to bring up Recommended Charts options.
Select With
Several recommendations will appear. Press Tab to enter the list and use the arrow keys to find an option called Clustered Col
Legend Keys,
A column
then presschart appears showing total number of conference attendees per year. Use the arrow keys to move the chart anywh
Enter to add
Now you'll add a trendline. Select the chart you just created, and press ALT+JC to enter the Chart Tools Design tab above the r
Legend Keys to
Press A to
the chart. Add chart element, then press DOWN ARROW to find the Trendline option. Press RIGHT ARROW to open the Trendl

Dive down for more detail: Go to A27. Or, to proceed to the next step, press CTRL+PAGE DOWN.

Horizontal and vertical axes


In school you might have learned that there is an x-axis and a y-axis. Excel has these two axes as well, but it calls them someth
In Excel this is what they are called:
• The x-axis along the bottom is called the horizontal axis.
• The y-axis that runs up and down is called the vertical axis.
Each axis can either be a value axis or a category axis.
• A value axis represents numerical values. For example, a value axis can represent dollars, hours, duration, temperature, and
• A category axis represents things like dates, people names, product names. The horizontal axis in the chart on the right starti
Go to cell A52 for the next instruction.
then press
DOWN
ARROW until
you find the
Combo option,
listed at the
bottom. Tab
twice to enter
the Series
name: . Press
DOWN
ARROW twice
to find "Food
Sales", then
press Tab
twice to select
the Secondary
Axis option.
Secondary
Press SPACEaxis
You can
BAR also use a secondary axis in a chart. A secondary axis is an additional value axis that can show different values than th
to enable
this option,
A popular example is in the chart on the right starting in cell D52. It's the same as the chart above, but it has an additional seco
then press
Cells
Enter.D67 through F73 contain data with three columns: Date, Conference attendance, and Food sales. Food Sales column con

Go to cell A68 for the next instruction.

More information on the web


Create a chart from start to finish
Create a combo chart with a secondary axis
Available chart types in Office
Go back to top by pressing CTRL+HOME. To proceed to the next step, press CTRL+PAGE DOWN.
at charts recommended for you
s C5 through D11 contain data with two columns: Year and Conference attendance.
Create a PivotChart
o any cell in the table between cells C5 and D11, for example go to cell C6. Press CTRL+G, type C6, then press Enter.
w press ALT+N to enter The Insert Charts tab above the ribbon. Press R to bring up Recommended Charts options.
eral recommendations Nowwill appear.
you’ll Press the
create Tab to enter the list
PivotTable and use so
yourself the that
arrowyou
keysknow
to findhow
an option calledone
to make Clustered
when Colum
you need to s
olumn chart appears showing total number of conference attendees per year. Use the arrow keys to move the chart anywhere
w you'll add a trendline. Select the chart you just created, and press ALT+JC to enter the Chart Tools Design tab above the ribb
ss A to Add chart element,1 then press
ClickDOWN
a cellARROW
insidetothe
finddata
the Trendline option. and
on the right, Pressthen
RIGHTon
ARROW to open menu,
the Insert the Trendline
click oPivotCha

e down for more detail: Go to A27. Or, to proceed to the next step, press CTRL+PAGE DOWN.
2 In the dialog that appears, click Existing Worksheet, and then type E11in the Loca

3 The PivotChart Fields pane appears on the right.

4 At the top of the pane, click the checkbox for Product. When you do that, the Produc
area at the bottom of the pane. And, the product data appears as Row labels in the

3000

5 At the top of the pane, click the checkbox for Amount. When you do that,2500
the Produc
Values area at the bottom of the pane. And, the product data appears as Value labels
2000

1500

1000
zontal and vertical axes
chool you might have 6 learned
At thethat
topthere is anpane,
of the x-axis and a y-axis.
click Excel has these
the checkbox for two axes asWhen
Month. well, but
youit calls them something500
different.
xcel this is what they aredo that, the Product field gets added to the Columns area in the
called:
the pane.the
he x-axis along the bottom is called And, the product
horizontal axis. data appears as Column labels in
0
the new PivotTable. B
he y-axis that runs up and down is called the vertical axis.
h axis can either be a value axis or a category axis.
value axis represents numerical values. For example, a value axis can represent dollars, hours, duration, temperature, and so on. The verti
category axis represents things like dates, people names, product names. The horizontal axis in the chart on the right starting in cell D30 h
o cell A52 for the next instruction.
can also use a secondary axis in a chart. A secondary axis is an additional value axis that can show different values than the other value ax
opular example is in the chart on the right starting in cell D52. It's the same as the chart above, but it has an additional secondary vertical a
s D67 through F73 contain data with three columns: Date, Conference attendance, and Food sales. Food Sales column contains data that s

o cell A68 for the next instruction.

e information on the web


ate a chart from start to finish
ate a combo chart with a secondary axis
ilable chart types in Office
back to top by pressing CTRL+HOME. To proceed to the next step, press CTRL+PAGE DOWN.
Date Salesperson Product Amount
6/26/2024 Anne Beer $ 1,400
7/1/2024 Mark Wine $ 1,010
when you7/18/2024
need to summarize Anne
data. Beer $ 750
7/22/2024 Mark Soda $ 510
8/11/2024 Mariya Soda $ 1,600
menu, click8/22/2024
PivotChart. Laura Wine $ 680

type E11in the Location box. Click OK.


Sum of Amount Column Labels
Row Labels Jan Feb Mar Grand Total
Beer 1400 750 2150
Soda 510 1600 2110
u do that, Wine
the Product field gets1010
added to the Rows 680 1690
s Row labels
GrandinTotal
the new PivotTable.
2410 1260 2280 5950
3000

u do that,2500
the Product field gets added to the
pears as Value labels in the new PivotTable.
2000

Column Labels Jan


1500 Feb
Mar
1000

m something500
different.

0
Beer Soda Wine Grand Total

ture, and so on. The vertical axis in the chart on the right starting in cell D30 is a value axis.
ight starting in cell D30 has years so this is a category axis.
s than the other value axis.
tional secondary vertical axis that represents the sales amounts for each month. Some would say that by having a secondary axis, you almo
umn contains data that supports the secondary axis for the chart described above.
umn Labels Jan
b
ar
g a secondary axis, you almost have “two charts in one.” That’s true. This chart is both a column chart and a line chart. These kind of chart
chart. These kind of charts are called Combo charts in Excel. If you’re interested in this kind of chart, select the hyperlink in cell A70.
yperlink in cell A70.
"Shipping".
formula
In cell F33, in cellAs
you
D12.start
we've We got
entered
typing,
you Excel's
started
=IF(E33="Yes",
Next we've
auto-correct,
with
F31*SalesTax,0
added an IFit
should
wherefind
=IF(C12<100,"L
), weto
statement
for you. When
ess
set than
up
calculate SalesTax
Copy
it
as does, D9press
100","Greater
a Named to
In cell
shipping
D10. D9ifenter
The it'sit.
Tab
than
Range to enter
orwith
equal a
=IF(C9="Apple
required.
answer In
This
to
value100").ahere
isof What
",TRUE,FALSE).
cell
EXPERT
shouldF35be you'll
TIP
Named
happens
0.0825. Range,
if you
Our
The
see
Named
IF correct
statements
FALSE,
and we Ranges
enter
formula
answer a
=IF(E35="Yes",isanto If
says
allow
because you
entered
IF
cell
TRUE.
orange
from
E33
SUM(D28:D29)
define
greater
Yes,
or then
*1.25,0).
values
Floating Data
statements
number
is
it
equals
terms
Formulasnot
than
This
in a
allow you to make logical comparisons between conditions. An IF statement generally says that if one condition
an
>100 apple.
Define
in
multiply cell cell
says
single
Name. "If cell
place,
Now, if
C12?
F31
E35 times
is Yes,need
and
you then
ever reuse Trace cells that provide data to a formula (precedents) ... Select the cell that contains the fo
SalesTax,
TRUE and the FALSE are unlike otherarrow
words in
then
them
to take
change
otherwise yourdisplay a tracer toExcel
each formulas in that
cell that they don't
directly need todata
provides be into
quotes, and Excel
the active willon
cell, automatically
the Formc
=IF(C3="Apple","Yes","No")
sum of
throughout
shipping the a
cost,Precedents .
return
Quantity
workbook. a 0. Youmore detail
Diveonly
you down have for
column
can
to do see in
all
it in onethe
of
Next
Try
table
the changing
above,
named
place,
Yes to and
No inyou
IF
andstatement
ranges
IF multiply
inthe
statements this itwith another function
can
cell
by
use
E33 to by
1.25,
workbook seecan 1
also force additional calculations to be performed if a certain condition is met. Here we're going to evaluate
Shipping
the name
calculation
otherwise
going
anywhere to in
change.
return
Formulas a 0".>
the workbook.
Name
Manager. Click
GOOD
here toTO KNOW
learn
When
more. you create a formula, Excel will automatically place colored borders around any ranges referenced in the formula, and t
2
Previous
Next
More information on the web
All about the IF function
All about the IFS function
Advanced IF statements
Free Excel training online
Floating Data
atements allow you to make logical comparisons between conditions. An IF statement generally says that if one condition is true do some

Trace cells that provide data to a formula (precedents) ... Select the cell that contains the formula for wh
E and FALSE are unlike
display otherarrow
a tracer words in
toExcel
each formulas in that
cell that they don't
directly need todata
provides be into
quotes, and Excel
the active willon
cell, automatically capitalize
the Formulas tab,them.
in th
C3="Apple","Yes","No")
Precedents .
e down for more detail

atement with
atements can another function
also force additional calculations to be performed if a certain condition is met. Here we're going to evaluate a cell to see if S
1 Select the cell in which you want to check precedents.

OD TO KNOW
en you create a formula, Excel will automatically place colored borders around any ranges referenced in the formula, and the correspondin
2 Click the Trace Precedents or Trace Dependents button in
the Formulas tab.

e information on the web


about the IF function
about the IFS function
anced IF statements
e Excel training online
one condition is true do something, otherwise do something else. The formulas can return text, values, or even more calculations.

tains the formula for which you want to find precedent cells. To
on the Formulas tab, in the Formula Auditing group, click Trace
Type Price Qty. Amount
Fuel 500 5 $ 2,500.00
Food 1000 10 $ 10,000.00
Sports 1500 15 $ 22,500.00
Books 2000 20 $ 40,000.00
Food 2500 25 $ 62,500.00
Music 3000 30 $ 90,000.00
$ 227,500.00
formula, and the corresponding ranges in the formula will be the same color. You can see this if you select cell F33 and press F2 to edit the
or even more calculations.

ect cell F33 and press F2 to edit the formula.


"Shipping".
formula
In cell F33, in cellAs
you
D12.start
we've We got
entered
typing,
you Excel's
started
=IF(E33="Yes",
Next we've
auto-correct,
with
F31*SalesTax,0
added an IFit
should
wherefind
=IF(C12<100,"L
), weto
statement
for you. When
ess
set than
up
calculate SalesTax
Copy
it
as does, D9press
100","Greater
a Named to
In cell
shipping
D10. D9ifenter
The it'sit.
Tab
than
Range to enter
orwith
equal a
=IF(C9="Apple
required.
answer In
This
to
value100").ahere
isof What
",TRUE,FALSE).
cell
EXPERT
shouldF35be you'll
TIP
Named
happens
0.0825. Range,
if you
Our
The
see
Named
IF correct
statements
FALSE,
and we Ranges
enter
formula
answer a
=IF(E35="Yes",isanto If
says
allow
because
entered you it
IF
number
cell
TRUE.
from
E33
SUM(D28:D29)
define
orange
greater
Yes,
*1.25,0).
or
an
Named Ranges
statements equals
terms
is
Formulas
then
values
apple.
not
than
This
in a
allow you to make logical comparisons between conditions. An IF statement generally says that if one condition
>100Define
in
multiply cell cell
says
single
Name. "If cell
place,
Now, if
C12?
F31
E35 times
is Yes,need
and
you then
ever reuseIt allow you to define terms or values in a single place, and then reuse them throughout a w
SalesTax,
TRUE
then
them and the
take FALSE are unlike other words in Excel formulas in that they don't need to be in quotes, and Excel will automatically c
to change
otherwise your
workbook by going to Formulas > Name Managers.
=IF(C3="Apple","Yes","No")
sum of
throughout
shipping thecost, a
return
Quantity
workbook. a 0. Youmore detail
Diveonly
you down have for
column
can
to do see in
all
it in onethe
of
Next
Try
table
the changing
above,
named
place, and inyou
Yes
IF
and to
ranges
IF
No
statement
multiply
inthe
statements this itwith1another function
can
cell
by
use
E33 to by
1.25,
workbook seecan also force additional calculations to be performed if a certain condition is met. Here we're going to evaluate
Shipping
the name
calculation
otherwise
going
anywhere to in
change.
return
Formulas a 0".>
the workbook.
Name
Manager. Click
GOOD
here toTO KNOW
learn
2
When
more. you create a formula, Excel will automatically place colored borders around any ranges referenced in the formula, and t

Previous
Next
More information on the web
All about the IF function
All about the IFS function
Advanced IF statements
Free Excel training online
Named Ranges
atements allow you to make logical comparisons between conditions. An IF statement generally says that if one condition is true do some

It allow you to define terms or values in a single place, and then reuse them throughout a workbook. You
E and FALSE are unlike other words in Excel formulas in that they don't need to be in quotes, and Excel will automatically capitalize them.
workbook by going to Formulas > Name Managers.
C3="Apple","Yes","No")
e down for more detail

Select a range of cells that you want to name. Like Column E, we have a list of "Buyers".
atements can1another
atement with function
also force additional calculations to be performed if a certain condition is met. Here we're going to evaluate a cell to see if S

2 Go
OD TO KNOW
to Formulas > Name Managers, Click NEW, Type a name
into the Name Box, Press the Enter key, then click CLOSE.
en you create a formula, Excel will automatically place colored borders around any ranges referenced in the formula, and the correspondin

e information on the web


about the IF function
about the IFS function
anced IF statements
e Excel training online
ondition is true do something, otherwise do something else. The formulas can return text, values, or even more calculations.

out a workbook. You can see all of the named ranges in this
Date Buyer Type Amount
01-Jan Mom Fuel $ 74.00
15-Jan Mom Food $ 235.00
list of "Buyers".
17-Jan Dad Sports $ 20.00
21-Jan Kelly Books $ 125.00
02-Feb Mom Food $ 235.00
20-Feb Kelly Music $ 20.00
25-Feb Kelly Tickets $ 125.00
ula, and the corresponding ranges in the formula will be the same color. You can see this if you select cell F33 and press F2 to edit the form
en more calculations.

ll F33 and press F2 to edit the formula.

You might also like