
Functions for Conditional Calculations 73
and more nesting of IF, it gets harder to understand the calculations or write the correct
formula for calculations without a flowchart.
Example 4.1 Checking Divisibility
We will now look at an example of conditional calculation. We are given a set of integers
in cells A2:A8. For each integer, we need to determine if it is divisible by 3, divisible by
7 or divisible by both 3 and 7. The results of our calculations should appear as shown
in the worksheet in Figure 4.3. Our task is to determine the appropriate formulas for
calculations for columns B–D.
Try It
Draw a fl owchart to perform the following calc ...