Custom formatting is applied to cells containing the highest or lowest values within one or more cell ranges affected by the rule.