> I reproduced the conditions and it worked fine. Are you getting a
> result?
[quoted text clipped - 38 lines]
> > > > The number in column C will not always be constant but Column F will always
> > > > be the sum of column C.
I don't see a reason why... As I said I reproduced the condition
exactly. Anyway, hope someone jumps in.
Kostis
> No - it is giving me a value error
>
[quoted text clipped - 50 lines]
> > > > > The number in column C will not always be constant but Column F will always
> > > > > be the sum of column C.
Brad - 31 Oct 2006 21:36 GMT
I'm using version 2003
> I don't see a reason why... As I said I reproduced the condition
> exactly. Anyway, hope someone jumps in.
[quoted text clipped - 55 lines]
> > > > > > The number in column C will not always be constant but Column F will always
> > > > > > be the sum of column C.
Brad wrote...
>No - it is giving me a value error
...
>My guess is it doesn't like the if
Correct.
>>I reproduced the conditions and it worked fine. Are you getting a
>>result?
...
They you must have entered it as an array formula. You didn't mention
that step.
>>>>=SUMPRODUCT(IF(C10:C21<1099.41-F10:F21,C10:C21,1099.41-F10:F21),M10:M21)
...
IF is one of the few, old functions that REQUIRES entry as an array
formula in order to process arrays. So enter the formula above holding
down [Ctrl] and [Shift] keys before pressing [Enter].
Purely academic, you could avoid array entry using
=SUMPRODUCT((C10:C21<1099.41-F10:F21)*C10:C21
+(C10:C21>=1099.41-F10:F21)*(1099.41-F10:F21),M10:M21)
Brad - 31 Oct 2006 22:32 GMT
Found that that this was entered as an array equation - that part I missed
> Brad wrote...
> >No - it is giving me a value error
[quoted text clipped - 21 lines]
> =SUMPRODUCT((C10:C21<1099.41-F10:F21)*C10:C21
> +(C10:C21>=1099.41-F10:F21)*(1099.41-F10:F21),M10:M21)