This example is complicated by the fact that you draw borders on the appropriate edges of
each cell. If you instead used a solid black fill, you could create the effect with a single rule,
using the formula
=AND($B2<=D$1,$C2>=D$1), as shown in Figure 9.16.
9
Chapter 9Presenting Data Visually Without Charts
296
Figure 9.16
If you aren’t con-
cerned with the cell
borders,the chart
can be reduced to a
single conditional
formatting rule.
Creating a Chart Using the REPTFunction
The REPTfunction, which has been around since Excel 5, takes two arguments. The first argu-
ment is the text to repeat. The second argument is the number of times to repeat the text. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.