Conditional Functions
IF
=IF(Logical test,What if True,What if False)
IF function allows you to make a logical comparison between a
value and what you expect by testing for a condition and returning a
result if that condition is True or False.
Conditional Functions
COUNTIF
=COUNTIF(Range;critaria)
to count the number of cells that meet a criterion; for example, to
count the number of times a particular city appears in a customer
list. In its simplest form, COUNTIF says: =COUNTIF(Where do you
want to look?; What do you want to look for?)
SUMIF
SUMIF
SUMIF function allows us to sum the data given based on associated criteria within the
same data. However, the SUMIFs Function in Excel allows applying multiple criteria.
=SUMIF(Range;Criteria;SUM range)
Where:
Range - the range of cells that should be evaluated by criterion.
Criterion - the condition to be met.
Sum_range - the range in which to sum numbers.