Beruflich Dokumente
Kultur Dokumente
A conditional formula essentially allows you to create a basic logical argument: “If (this), then (that).” At some point in
time, when you are faced with a lot of data in your spreadsheets, you may want to find a way to highlight some of
your data based on specific criteria.
Common use:
SUMIF tells Excel to look in every cell from a range and see if the value (criteria) is there; and if it finds this value
then it must sum the corresponding cells from a numeric range.
=SUMIF(range,criteria,[sum_range])
AVERAGEIF tells Excel to look in every cell from a range and see if the value (criteria) is there; and if it finds this
value then it must calculate the average of the corresponding cells from a numeric range.
= AVERAGEIF (range,criteria,[average_range])
COUNTIF is a little different from SUMIF and AVERAGEIF - all you need is a test range and a test. If the test turns
out to be true, it counts them. You don’t need a sum range.
=COUNTIF(range,criteria)
To illustrate, below there is a pass / fail and "incomplete" formula with a nesting IF inside the other:
Keep in mind that the more nested IFs you have, the more difficult the formula becomes, and with higher chances for
errors.