Thursday, February 19, 2009

Excel Tip – Array Formula:

Problem:

We want to create a conditional formula that will return TRUE if there is at least one number in List1 greater than the value in cell D1. Otherwise the formula will return FALSE.

Solution 1:

Use the following formula:

=($A$2>D1)+($A$3>D1)+($A$4>D1)>0

Solution 2:

Use the OR function as shown in the following Array formula: {=OR($A$2:$A$4>D1)}

No comments: