Try this:
=Sumif(A1:A5,"<>OFF",B1:B5)

Signature
HTH,
RD
---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
> I have a Task Account
>
[quoted text clipped - 16 lines]
> Bart
> Excel2003