On Sun, 7 Dec 2008 08:12:25 -0800 (PST), Vinod Chandramouli
<(E-Mail Removed)> wrote:
>Ron,
> Here you go...
>
>Applies To
>1) =$B:$B
>2) =$B:$B
>
>Rule Description
>1) =MOD(SUBTOTAL(3,$B$10:$B11),2)
>2) =MOD(SUBTOTAL(3,$B$10:$B11),2)
>
>And I stand corrected I meant rows not columns.
There are a number of differences between the formula I recommended and that
which you are using.
=MOD(COUNTA($A$1:A1),2)=1
=MOD(COUNTA($A$1:A1),2)=0
1. It's probably OK to substitute the SUBTOTAL(3,...) if you don't want to
include rows that are suppressed by the Filter.
2. It is NOT ok to omit the equality (at least the =0 should be there) as 1
and 0 may not necessarily being evaluated as TRUE or FALSE.
enter =1=TRUE on your worksheet and you will see this evaluates to
FALSE; as does =0=FALSE.
3. Your modified formulas,should read:
=MOD(SUBTOTAL(3,$B$1:$B1),2)=1
=MOD(SUBTOTAL(3,$B$1:$B1),2)=0
--ron
|