Formula Tutorial1
Formula Tutorial1
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.
Basics: doing math with Excel
Basics: doing math with Excel
You can Add, Subtract, Mul ply, and Divide in Excel without using any built-in func ons. You just need to use some basic opera
To Add, select cell F3, type =C3+C4, then press Enter.
You
To Subtract, can cell
select Add,F4,Subtract, Multiply,
type =C3-C4, and Divide
then press Enter. in Excel without using any built
You just need to use some basic operators:
To Mul ply, select cell F5, type =C3*C4, then press Enter.
To Divide, sign.
select cell F6, type =C3/C4, then press Enter.
Check this out: change the numbers in cells C3 and C4, and watch the formula results automatically change.
EXTRA CREDIT: 1 You can raise a value to a power by using the carat (^) symbol, like =A1^A2. Enter it with Shift+6. In cell F7, en
Dive down for more detail
Next step
2
More about formulas, cells, and ranges
Excel is made up of individual cells that are grouped into rows and columns. Rows are numbered, and columns are le ered. Th
Formulas can
3 in our third example above, we used the SUM func on. A func on is a pre-built command that takes a value
You'll no ce that
Formulas with func ons start with an equals sign, then the func on name follows with its arguments (the values a func on us
You confirm a formula by pressing Enter. Once you do that the formula will calculate, and the result will be displayed in the ce
Some formula 4explanations
=10*20 is a formula, where 10 and 20 are constants, and the * sign is the operator.
=SUM(A1:A10) is a formula, where SUM is the function name, the opening and closing parentheses contain the formula argum
=SUM(A1:A10,C1:C10) is a formula, where SUM is the function name, the opening and closing parentheses contain the formu
GOOD TO
Previous
Next
More information on the web
More about formulas, cells, and ranges
Use Excel as a calculator
Overview Excel
of formulas in Excel
is made up of individual cells that are grouped into rows and columns. Rows are
Excel functions (by category)
numbered, and columns are lettered. There are over 1 million rows and 16,000 columns,
and you
Excel functions can put formulas in any of them.
(alphabetical)
Free ExcelFormulas can contain cell references, ranges of cell references, operators, and constants.
training online
The following are all examples of formulas:
Formulas with functions start with an equals sign, then the function name follows with its
Formulas with functions start with an equals sign, then the function name follows with its
arguments (the values a function uses to calculate) wrapped in parentheses.
To cells,
re about formulas, Subtract, select cell F4, type =C3-C4, then press Enter.
and ranges
el is made up of individual cells that are grouped into rows and columns. Rows are numbered, and columns are le ered. There are over 1 m
ll no ce that in To
ourMultiply, select
third example cell F5,
above, we type
used =C3*C4, then on.
the SUM func press Enter.
A func on is a pre-built command that takes a value or values, calcu
mulas with func ons start with an equals sign, then the func on name follows with its arguments (the values a func on uses to calculate)
confirm a formula by pressing Enter. Once you do that the formula will calculate, and the result will be displayed in the cell. To see the for
To Divide, select cell F6, type =C3/C4, then press Enter.
me formula explanations
*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:A
M(A1:A10,C1:C10) is a formula, where SUM is the function name, the opening and closing parentheses contain the formula arguments, an
Dive down for more detail Next step
You confirm a formula by pressing Enter. Once you do that the formula will calculate, and
the result will be displayed in the cell. To see the formula itself, you can look at the formula
bar beneath the Ribbon, or press F2 to enter Edit mode, where you'll see the formula in the
cell. Press Enter again to finalize the formula and calculate the result.
=SUM(A
)
More information on the web
Use Excel as a calculator
hat takes a value or values, calculates them in a certain way, and returns a result. For instance, the SUM func on takes the cell references
lues a func on uses to calculate) wrapped in parentheses.
splayed in the cell. To see the formula itself, you can look at the formula bar beneath the Ribbon, or press F2 to enter Edit mode, where yo
he formula arguments, and A1:A10 is the cell range for the function.
ontain the formula arguments, and A1:A10,C1:C10 are the cell ranges for the function separated by a comma.
GOOD TO KNOW
Operator Operator Constants are values that you enter in cells o
=A1+
While =10*20 might calculate the same as =A
B1 ref
ere
referenc
e
Constant Constant constants in cells, where they can be easily a
referenced in your formulas.
nce
For example: Select the yellow cell with
we used the SUM function with a range of ce
Function Argument type in "4" or "8" directly into the formula.
=SUM(A1:A10)
A range of cells has a starting cell, colon, and an
A range of cells has a starting cell, colon, and an
ending cell. When you select a range of cells for a
formula, Excel will automatically add the colon.
=SUM(A1:A10,C1:C10
) A range of cells Another range of cells
F2 to enter Edit mode, where you'll see the formula in the cell. Press Enter again to finalize the formula and calculate the result.
Values
4
8
12
Functions
w let's try AutoSum. give youthe
Select thecell
ability
undertothe
do column
a variety
forofMeat
things,
(celllike
G7),perform
then go mathematical
to Formulas > AutoSum > select SUM. You'll see Excel auto
operations,
e's a neat keyboardlook up values,
shortcut. Select or
celleven
D15,calculate
then pressdates
Alt =,and
thentimes.
Enter.Let's try a few ways
This automatically to add
enters upfor you.
SUM
e downvalues with
for more the SUM function.
detail
Try the COUNT func on using any of the methods you've already tried. The COUNT func on counts the number of cells in a ran
Under the Amount column for Fruit (cell D7), enter =SUM(D3:D6), or type =SUM(,
re about functions then select that range with the mouse, and press Enter. This will sum the values in
to the Formulas cells
tabD3,
andD4, D5, and
browse D6. Your
through the answer
Function should bewhere
Library, 170. functions are listed by category, like Text, Date & Time, etc
e SUM func onNow
couldlet's
talk,try AutoSum.
it would Select
say, return the
the yellow
sum of all cell
the under thecells
values in column
D38 tofor Meat
D41, and(cell
all of column H. SUM is the func on name
TODAY functionG7), thentoday's
returns go to date.
Formulas
It will > AutoSum >update
automatically selectwhen
SUM.Excel
You'll see Excel
recalculates.
automatically enter the formula for you. Press Enter to confirmlook
CK THIS OUTSelect these cells. Then in the lower-right corner of the Excel window, it. The AutoSum
for SUM: 170 in the bo om bar. That's called the S
feature has all of the most common functions.
re information on the web
Here's a neat keyboard shortcut. Select cell D15, then press
about the SUM function Al t =
AutoSum to sum then, Enter. This automatically enters SUM for you.
numbers
about the COUNT function
e Excel training online
Dive down for more detail Next step
When you start typing a function name after you press =, Excel will launch Intellisense, which
will list all of the functions starting with the letters you type. When you find the one you want,
press Tab, and Excel will automatically finish the function name and enter the opening
parenthesis for you. It will also display the optional and required arguments.
Now let's look at the anatomy of a few functions. The SUM function is structured like this:
=SUM(D38:D41,H:H)
If the SUM function could talk, it would say, "Return the sum of all the values in cells D38
to D41, and all of column H".
=TODAY()
EXTRA CREDIT
Try the COUNT function using any of
the methods you've already tried.
The COUNT function counts the
number of cells in a range that
contain numbers.
Fruit Amount
Apples 50 CHECK THIS OUT
Oranges 20 Select these cells. Then in the lower-right
Bananas 60 corner of the Excel window, look for this:
Lemons 40
SUM > 170
That's called the Status Bar, and it's just
another way to quickly find a total and other
details about a selected cell or range.
Item Amount
Cars 20
Trucks 10
Bikes 10
Skates 40
IMPORTANT DETAIL
Double-click this cell. You'll notice the 100 toward the end.
Although it's possible to put numbers in a formula like this,
we don't recommend it unless it's absolutely necessary.
This is known as a constant, and it's easy to forget that it's
there. We recommend referring to another cell instead,
like cell F51. That way it's easily seen and not hidden
inside a formula.
AVERAGE
function AVERAGE function
Use the AVERAGE
Select cellUse
D7,the
then use
Now select cell G7, and enter an
In cell D15, 1
you can use either
CHECK THIS
Activate the previous sheet
2
Go to the next sheet
EXTRA CREDIT
Links for more information on the web
3
Select to learn all about the AVERAGE function on the web
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
EXTRA CREDIT
Try using MEDIAN or MODE here.
3
KNOW
Select cell D7, then use the AutoSum Wizard to add a MIN function.
In cell D15, you can use either the AutoSum Wizard, or type to enter a MIN or
MAX function.
GOOD TO KNOW
You can use either MIN or MAX with multiple
A1:A10,B1:B10), or =MAX(A1:A10,10).
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.
Date functions
Date functions
Excel can give you the current date, based on your computer's regional settings. You can also add and subtract Dates.
Excel can give you the current date, based on your computer's regional settings. You can
Check out the TODAY func on, which gives you Today's date. These are live, or vola le func ons, so when you open your wor
also add and subtract Dates.
Subtract Dates - Enter your next birthday in MM/DD/YY format in cell D7, and watch Excel tell you how many days away it is b
Add Dates - Let's say you want to know what date a bill is due, or when you need to return a library book. You can add days to
GOOD TO KNOW 1
DETAIL
Time functions
Excel can give you the current me, based on your computer's regional se ngs. You can also add and subtract mes. For insta
In cell D28, 2
Add up hours
If this formula could talk, it would say, "Take the Time Out and subtract it from the Time In, then subtract the Lunch Out/In Ti
Previous 3
Next
More information on the web
All about the TODAY function
All about the NOW function
All about the DATE function
Free Excel training online
Time functions
Excel can give you the current time, based on your computer's regional settings. You can
also add and subtract times. For instance, you might need to keep track of how many
hours an employee worked each week, and calculate their pay and overtime.
3
More information on the web
Date functions
el can give you the current date, based on your computer's regional settings. You can also add and subtract Dates.
Excel can give you the current date, based on your computer's regional settings. You can
ck out the TODAY func on, which gives you Today's date. These are live, or vola le func ons, so when you open your workbook tomorrow
also add and subtract Dates.
tract Dates - Enter your next birthday in MM/DD/YY format in cell D7, and watch Excel tell you how many days away it is by using =D7-D6 i
Dates - Let's say you want to know what date a bill is due, or when you need to return a library book. You can add days to a date to find o
Check out the TODAY function, which gives you Today's date. These are live, or
OD TO KNOWExcel keeps dates and mes based on the number of days star ng from January 1, 1900. Times are kept in frac onal por ons
volatile functions, so when you open your workbook tomorrow, it will have
tomorrow's date. Enter =TODAY() in cell D6.
el can give you the current me, based on your computer's regional se ngs. You can also add and subtract mes. For instance, you might
Subtract Dates - Enter your next birthday in MM/DD/YY format in cell D7, and
watch Excel tell you how many days away it is by using =D7-D6 in cell D8.
is formula could talk, it would say, "Take the Time Out and subtract it from the Time In, then subtract the Lunch Out/In Times, then multi
Add Dates - Let's say you want to know what date a bill is due, or when you need to
return a library book. You can add days to a date to find out. In cell D10, enter a
re information onrandom
the web number of days. In cell D11, we added =D6+D10 to calculate the due date
about the TODAYfrom today.
function
about the NOW function
about the DATE function
e Excel training online
Time functions
Excel can give you the current time, based on your computer's regional settings. You can
also add and subtract times. For instance, you might need to keep track of how many
hours an employee worked each week, and calculate their pay and overtime.
In cell D28, enter =NOW(), which will give the current time, and will update
each time Excel calculates. If you need to change the Time format, you can go to
Ctrl+1 > Number > Time > Select the format you want.
If this formula could talk, it would say, "Take the Time Out and subtract it from
the Time In, then subtract the Lunch Out/In Times, then multiply those by 24 to
convert Excel's fractional time to hours", or =((Time In - Time Out)-(Lunch In
- Lunch Out))*24.
*24 to convert Excel's
fraction of a day to hours
fraction of a day to hours
Time Out Lunch Out
=((D35-D32)-(D34-D33))*24
Time In Lunch In
Previous Next
GOOD TO KNOW
Excel keeps dates and times based on the number of days
starting from January 1, 1900. Times are kept in fractional
portions of a day based on minutes. So 01/01/2017 12:30
PM is actually stored as 42736.5208. If the Time or Date
show up as numbers like that, then you can press Ctrl+1 >
Number > select a Date or Time format.
Time functions
Current Time:
GOOD TO KNOW
You can use keyboard shortcuts to enter Dates and
Times that won't continuously change:
Date - Ctrl+;
Time - Ctrl+Shift+:
ay
anda calculate
negative number,
their pay and over me.
our birthday yet, you can
D7="","",D7-D6), which
n show nothing, otherwise
- Time Out)-(Lunch In - Lunch Out))*24.
Joining text from different cells
Joining text from different cells
There are many mes in Excel when you want to join text that's in different cells. This example is very common, where you ha
In cell E3, enter =D3&C3 to join the last and first names.
SmithNancy There are look
doesn't many times
quite in though.
right Excel when you want
We need to addtoa comma
join textand
that's in different
a space. cells.
To do that This
we'll use quotes to create a ne
example
To create the is very
full name, common,
we'll where
join first and lastyou have
name, butfirst
useand lastwithout
a space names, aand wantIntoF3,
comma. combine them"&D3.
enter =C3&"
as first name,
Dive down for more detail last name, or full name. Fortunately, Excel lets us do that with the Ampersand
Next (&) sign, which you can enter with
Using text and numbers together
Now we'll use1the & to join text and numbers, not just text and text
In cell C36, enter =C28&" "&TEXT(D28,"MM/DD/YYYY"). MM/DD/YYYY is the US format code for Month/Day/Year, like 09/25/
In cell C37, enter =C29&" "&TEXT(D29,"HH:MM AM/PM"). HH:MM AM/PM is the US format code for Hours:Minutes AM or PM
CHECK THIS OUT 2
WORTH EXPLORING
More information on the web
All about the TEXT function
Combine text and numbers
3 online
Free Excel training
Look at cells C28:D29. See how the date and times are in separate cells? You can join them
together with the
it? Unfortunately, Excel doesn't know 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 to
explicity tell Excel how to format the number portion of the formula, so it displays the way
you want in the resulting text string. You can do that with the
code.
2
More information on the web
Joining text from different cells
ing text from different cells
re are many mes in Excel when you want to join text that's in different cells. This example is very common, where you have first and last
ell E3, enter =D3&C3 to join the last and first names.
thNancy There are look
doesn't many times
quite in though.
right Excel when you want
We need to addtoa comma
join textand
that's in different
a space. cells.
To do that This
we'll use quotes to create a new text string. Th
example
reate the is very
full name, common,
we'll where
join first and lastyou have
name, butfirst
useand lastwithout
a space names, aand wantIntoF3,
comma. combine them"&D3.
enter =C3&"
as first name,
e down for more detail last name, or full name. Fortunately, Excel lets us do that with the Ampersand
) sign, which you can enter with Shift+7.
ng text and numbers together
w we'll use the &Intocell
joinE3,
textenter =D3&C3not
and numbers, to join the and
just text last textLook
and first at
names.
cells C28:D29. See how the date and mes are in separate cells? Yo
ell C36, enter =C28&" "&TEXT(D28,"MM/DD/YYYY"). MM/DD/YYYY is the US format code for Month/Day/Year, like 09/25/2017.
ell C37, enter =C29&" "&TEXT(D29,"HH:MM AM/PM"). HH:MM AM/PM is the US format code for Hours:Minutes AM or PM, like 1:30 PM.
SmithNancy doesn't look quite right though. We need to add a comma and a
CK THIS OUTFormulas, especially big ones, can some mes be hard to read, but you can break up their parts with spaces like this:
space. To do that we'll use quotes to create a new text string. This time, enter
RTH EXPLORINGIf you don't know what format code to use, you can use Ctrl+1 > Number to format any cell the way you want. Then selec
=D3&", "&C3. The &", "& portion lets us join a comma and space with the text
re information on the web
in the cells.
about the TEXT function
mbine text and numbers
To create the full name, we'll join first and last name, but use a space without a
e Excel training online
comma. In F3, enter =C3&" "&D3.
Look at cells C28:D29. See how the date and times are in separate cells? You can join them
together with the & symbol 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 format the numbers, so it breaks
them down to their basest format, which is the the Serial date 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 resulting text string. You can do that with the TEXT function and a format
code.
WORTH EXPLORING
If you don't know what format code to use, you can
use Ctrl+1 > Number to format any cell the way you
use Ctrl+1 > Number to format any cell the way you
want. Then select the Custom option. You can copy
the format code that's displayed back to your
formula.
IF statements
IF statements
IF statements allow you to make logical comparisons between conditions. An IF statement generally says that if one condition
In cell D9
Copy D9 toIF statements allow you to make logical comparisons between conditions. An IF statement
Try anothergenerally says that if one condition is true do something, otherwise do something else. The
IMPORTANT formulas
DETAIL can return text, values, or even more calculations.
Dive down for more detail
Next
IF statement 1with another function
IF statements can also force addi onal calcula ons to be performed if a certain condi on is met. Here we're going to evaluate
In cell F33,
Next we've 2
Next, change
GOOD TO KNOW
EXPERT TIP 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
3
3
In cell D9
atement with another enter =IF(C9="Apple",TRUE,FALSE). The correct answer is TRUE.
function
atements can also force addi onal calcula ons to be performed if a certain condi on is met. Here we're going to evaluate a cell to see if S
Copy D9 to D10. The answer here should be FALSE, because an orange is not an
apple.
OD TO KNOWWhen you create a formula, Excel will automa cally place colored borders around any ranges referenced in the formula, and
Try another example by looking at the formula in cell D12. We got you started
with =IF(C12<100,"Less than 100","Greater than or equal to 100"). What
happens if you enter a number greater than or equal to
re information on 100
theinweb
cell C12?
about the IF function
about the IFS function
Dive down for more detail
anced IF statements Next
e Excel training online
Next we've added an IF statement to calculate shipping if it's required. In cell F35
you'll see =IF(E35="Yes",SUM(D28:D29)*1.25,0). This says "If cell E35 is Yes,
then take the sum of the Quantity column in the table above, and multiply it by
1.25, otherwise return a 0".
Next, change the 1.25 in the formula in cell F35 to "Shipping". As you start
typing, Excel's auto-correct, should find it for you. When it does, press Tab to
typing, Excel's auto-correct, should find it for you. When it does, press Tab to
enter it. This is a Named Range, and we entered it from Formulas > Define
Name. Now, if you ever need to change your shipping cost, you only have to do
it in one place, and you can use the Shipping name anywhere in the workbook.
Advanced IF statements
quotes, and Excel will automa cally capitalize them. Numbers don't need to be in quotes either. Regular text, like Yes or No does need to b
IF statements
Apple
Orange
es referenced in the formula, and the corresponding ranges in the formula will be the same color. You can see this if you select cell F33 and
IMPORTANT DETAIL
TRUE 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. Numbers don't need to be in
quotes either. Regular text, like Yes or No does need to be
in quotes like this:
=IF(C3="Apple","Yes","No")
EXPERT TIP
Named Ranges allow you to define terms or values in a
Named Ranges allow you to define terms or values in a
single place, and then reuse them throughout a
workbook. You can see all of the named ranges in this
workbook by going to Formulas > Name Manager. Click
here to learn more.
ven more calculations.
1
2
VLOOKUP and #N/A If the SUM function in cell D42 could talk,
Invariably, you'll run into a situation where VLOOKUP can't find what you asked it to, and it
returns an error (#N/A). Sometimes, it's because the lookup value simply doesn't exist, or it
can because the reference cell doesn't have a value yet.
If you know your lookup value exists, but want to hide the error if the lookup cell is
blank, you can use an IF statement. In this case, we'll wrap our existing VLOOKUP
formula like this in cell D43:
=IF(C43="","",VLOOKUP(C43,C37:D41,2,FALSE))
=IF(C43="","",VLOOKUP(C43,C37:D41,2,FALSE))
This says, "If cell C43 equals nothing (""), then return nothing, otherwise return the
VLOOKUP's results". Note the second closing parenthesis at the end of the
formula. This closes the IF statement.
If you're not sure your lookup value exists, but you still want to suppress the
#N/A error, you can use an error handling function called IFERROR in cell G43:
=IFERROR(VLOOKUP(F43,F37:G41,2,FALSE),""). IFERROR says, "If the
VLOOKUP returns a valid result, then display that, otherwise, display nothing
("")". We displayed nothing here (""), but you can also use numbers (0,1, 2, etc.),
or text, such as "Formula isn't correct".
#N/A). Some mes, it's because the lookup value simply doesn't exist, or it can because the reference cell doesn't have a value yet.
Apples Pork
EXPERIMENT
Try selecting different items from the drop down lists. You'll see
the result cells instantly update themselves with new values.
M function in cell D42 could talk, it would say this: Sum up the values in cells D38, D39, D40, and D41.
Item Amount Item Amount
Bread 50 Bread 50
Donuts 100 Donuts 100
Cookies 40 Cookies 40
Cakes 50 Cakes 50
Pies 20 Pies 20
#N/A Pastry
IMPORTANT DETAIL
IFERROR is what's known as a blanket error handler, meaning it
will suppress any error your formula might throw. This can
cause problems if Excel is giving you a notification that your
formula has a legitimate error that needs to be fixed.
=COUNTIFS(F50:F61,F64,G50:G61,G64)
SUMIF
SUMIFS
AVERAGEIF
AVERAGEIFS
COUNTIF
COUNTIFS
MAXIFS
MINIFS
Sum up some
values based
on this
criterion:
=SUMIF(D118:D122,">=50")
NOTE:
PivotTable is a better solution.
=SUMIF(C3:C14,C17,D3:D4)
e down for more detail
re conditional functions
=SUMIFS(H3:H14,F3:F14,F17,G3:G14,G17)
e down for more detail
=COUNTIF(C50:C61,C64)
COUNTIFS is the same as SUMIF, but it lets you use multiple criteria. So in this
example, you can look for Fruit and Type, instead of just by Fruit. Select cell H64
and type =COUNTIFS(F50:F61,F64,G50:G61,G64). COUNTIFS is structured like
this:
=COUNTIFS(F50:F61,F64,G50:G61,G64)
SUMIF =SUMIF(C92:C103,C106,E92:E103)
SUMIFS =SUMIFS(E92:E103,C92:C103,C106,D92:D103,D106)
AVERAGEIF =AVERAGEIF(C92:C103,C106,E92:E103)
AVERAGEIFS =AVERAGEIFS(E92:E103,C92:C103,C106,D92:D92,D106)
COUNTIF =COUNTIF(C92:C103,C106)
COUNTIFS =COUNTIFS(C92:C103,C106,D92:D103,D106)
MAXIFS =MAXIFS(E92:E103,C92:C103,C106,D92:D103,D106)
MINIFS =MINIFS(E92:E103,C92:C103,C106,D92:D103,D106)
=SUMIF(D118:D122,">=50")
NOTE: 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 for more information.
All about the COUNTIF function All about the COUNTIFS function
All about the AVERAGEIF function All about the AVERAGEIFS function
All about the MINIFS function All about the MAXIFS function
t from the other IF and IFS functions, in that they only have a criteria range, and criteria. They don't evalute
EXPERT TIP one range, then look in anoth
Each one of the Fruit and Type cells has a
drop-down list where you can select
different fruits. Try it, and watch the
formulas automatically update.
Item Amount
Bread 50
Donuts 100
Cookies 40
Cakes 50
Pies 20
200
ange, then look in another to summarize.
uit and Type cells has a
ere you can select
y it, and watch the
ically update.
GOOD TO KNOW
Double-click this cell and you'll see that the formula is
different. Specifically, the sum criteria is ">=50" which
means greater than or equal to 50. There are other
operators you can use like "<=50" which is less than or
equal to 50. And there's "<>50" which is not equals
50.
Let the Function Wizard guide you
Let the Function Wizard guide you
If you know the name of the func on you want, but you're not sure how to build it, you can use the Func on Wizard to help y
Select cell
Next, enterIf you know the name of the function you want, but you're not sure how to build it, you
CHECK THIS can use the Function Wizard to help you out.
GOOD TO KNOW
GOOD TO 1
Previous
Next
More information on the web
Overview of formulas in Excel
Excel functions2 (by category)
Excel functions (alphabetical)
Free Excel training online
If you know the name of the function you want, but you're not sure how to build it, you
can use the Function Wizard to help you out.
OD TO KNOWYou can type cell and range references, or select them with your mouse.
Select cell D10, then go to Formulas > Insert Function > type VLOOKUP in
the Search for a function box, and press GO. When you see VLOOKUP
highlighted, click OK at the bottom. When you select a function in the list,
e information onExcel will display its syntax.
the web
rview of formulas in Excel
Next, enter the function arguments in their respective text boxes. As you enter
l functions (by category)
each one, Excel will evaluate it, and show you its result, with the final result at
l functions (alphabetical)
the bottom. Press OK when you're done, and Excel will enter the formula for
Excel training online
you.
Fruit Amount
Apples 50
Oranges 20
Bananas 60
Lemons 40
Apples 50
GOOD TO KNOW
You can type cell and range references, or select them
with your mouse.
GOOD TO KNOW
As you enter each argument's section, the argument's
description will be displayed toward the bottom of the form,
above the Formula result.
Fixing formula errors
Fixing formula errors
At some point in me, you'll run across a formula that has an error, which Excel will display with #ErrorName. Errors can be he
Error checking - Go to Formulas > Error Checking. This will load a dialog that will tell you the general cause for your specific er
If you clickAt some
Help point
on this in time,
Error, a helpyou'll
topic run across
specific a formula
to the that has
error message anopen.
will error,If which Excel
you click willCalcula
Show displayon Steps, an Evalu
Each me with #ErrorName.
you click Errors
Evaluate, Excel can
will bethrough
step helpful,the
because
formulathey
onepoint
sec onout
at when
a me.something's not tell you why an err
It won't necessarily
working right, but they can be challenging to fix.
EXPERIMENTWhat's wrong here? Hint: We're trying to SUM up all the items.Fortunately, there are several options that
GOOD TO can help you track down the source of the error, and fix it.
Previous
Next 1
More information on the web
Detect errors in formulas
How to avoid broken formulas
Evaluate a nested formula one step at a time
Free Excel training online
3
More information on the web
Fixing formula errors
ng formula errors
ome point in me, you'll run across a formula that has an error, which Excel will display with #ErrorName. Errors can be helpful, because th
r checking - Go to Formulas > Error Checking. This will load a dialog that will tell you the general cause for your specific error. In cell D9, th
u clickAt some
Help point
on this in time,
Error, a helpyou'll
topic run across
specific a formula
to the that has
error message anopen.
will error,If which Excel
you click willCalcula
Show displayon Steps, an Evaluate Formula dial
h me with #ErrorName.
you click Errors
Evaluate, Excel can
will bethrough
step helpful,the
because
formulathey
onepoint
sec onout
at when
a me.something's not tell you why an error occurs, but it
It won't necessarily
working right, but they can be challenging to fix. Fortunately,
What's wrong here? Hint: We're trying to SUM up all the items. there are several options that
can help you track down the source of the error, and fix it.
1 Error checking - Go to Formulas > Error Checking. This will load a dialog that
will tell you the general cause for your specific error. In cell D9, the #N/A error is
e information on the web
caused because there is no value matching "Apple". You can fix this by using a
ect errors in formulas
value that does exist, suppress the error with IFERROR, or ignore it and know it
w to avoid broken formulas
will go away when you do use a value that exists.
uate a nested formula one step at a time
Excel training online
2 If you click Help on this Error, a help topic specific to the error message will
open. If you click Show Calculation Steps, an Evaluate Formula dialog will load.
3 Each time you click Evaluate, Excel will step through the formula one section at a
time. It won't necessarily tell you why an error occurs, but it will point out where.
From there, look at the help topic to deduce what went wrong with your formula.
time. It won't necessarily tell you why an error occurs, but it will point out where.
From there, look at the help topic to deduce what went wrong with your formula.
Apple #N/A
GOOD TO KNOW
Clicking Options will let you set the
rules for when errors in Excel are
displayed or ignored.
Fruit Amount
Apples 50
Oranges 20
Bananas 60
Lemons 40
Total #NAME?
EXPERIMENT
What's wrong here? Hint: We're trying to SUM
up all the items.
allenging to fix. Fortunately, there are several op ons that can help you track down the source of the error, and fix it.
or, and fix it.
More questions about Excel?
Press ALT+Q and type what you want to know.
Keep going. There is more to learn with Excel:
LinkedIn Learning: Video courses for all levels—from beginner to advanced. Take at your own pace.
Community: Ask ques ons and connect with other Excel fans.
What
Give us feedback on this tour
More questions about Excel?
Press ALT+Q and type what you want to know.
More questions about Excel?
Keep going. There is more to learn with Excel:
LinkedIn Learning: Video courses for all levels—from beginner to advanced. Take at your own pace.
Community: Ask ques ons and connect with other Excel fans.
Give us feedback
What else is new?
Office 365 subscribers
get continual updates
and new features.
Learn more