Transcript
Transcript
and didn’t get any scores. Let’s change that N/A to achieved for the outcome to be true.
Absent.
For example, let’s say this business needs to achieve
Click into the formula that gives the student’s grade sales targets for all 3 products before reordering any
result. Type IFERROR after the equals sign and put of them.
brackets around the original formula. After this,
You can use the OR function when you have 2
add the value you’d like to replace the N/A within
conditions and either of them can be achieved for a
quotation marks.
true outcome.
You can use a space instead of a word or number if
For example, let’s say that there are 2 other ways to
you just want to tidy your workbook. But we’re going
work out whether products should be reordered:
to use absent as the value.
Receive 5 product requests or make 1000 sales.
Either achievement will result in a reorder.
Video 7: Range names
You can give cell ranges descriptive names so they’re Video 10: Using AND with IF
easier to remember and keep track of. This reduces
Let’s assume you’ve already created the IF formula.
the risk of making mistakes when you click or type
cell references. To use AND with IF, click into the formula, just
inside the left-hand bracket. Then click Logical. At
Select the range of cells you want to name. Then
the bottom of the list, select Insert Function. Type
click Formulas, and Define Name.
AND at the start of the Logical test box. Then add
Type in a name for your cell range. You can’t use your extra conditional statements, making sure all
spaces in range names, and they should always begin the conditional statements are wrapped in a set of
with a letter. brackets, and separated by commas.
The scope of the range name automatically defaults All of these statements need to be true. Type YES
to the whole workbook. But you can select a specific into Value if true, and NO into Value if false.
worksheet if you want to reuse the range name with
Click OK. Excel has calculated the answer. This is
a different set of cells in a different worksheet.
what the final formula looks like.
And you can add a comment to explain what your
range name refers to.
Video 11: Using OR with IF
Click OK, and you’ll see the new range name over here.
To add OR to an IF statement, follow the same
procedure as adding an AND statement.
Video 8: Creating range names from row or
Instead of using AND, type OR. Create your extra
column headers
conditional statements as before. Remember to
You can create a range name using a row or column wrap them in a set of brackets, and separate each
header. Select the cell, including the header or row statement with a comma.
number. Then click on Create from Selection. Click
Either one or the other of these conditions must
into the box next to whichever area you’d like to pull
be met to get the true outcome, which is “Yes”, the
the name from. Then click OK.
products can be reordered.
You can also use a named range in a formula. Just
Click OK. Excel has calculated the answer. This is
click in the formula where you’d usually enter a range
what the final formula looks like.
of cells, then click on Use in Formula and select from
the list.