Here is the problem in a nutshell:
Column 1 Column 2
58000 100%
7000 50%
7000 50%
50000 50%
50000 50%
I need a function that adds all values in column 1 that are 20000 or
higher AND are 50% in column 2, lastly I divide the result by two. I
tried something like this:
=SUMIF(M158:M163, "50%", (L158:L163,">19999")/2
Didn't work. The correct output using the sample numbers above is
50000.00
Thanks!
Mike H - 09 May 2008 21:14 GMT
Maybe
=SUMPRODUCT((A1:A5>=20000)*(B1:B5=50%)*(A1:A5))/2
Mike
> Here is the problem in a nutshell:
>
[quoted text clipped - 16 lines]
>
> Thanks!
f252863@hotmail.com - 09 May 2008 21:20 GMT
> Maybe
>
[quoted text clipped - 25 lines]
>
> - Show quoted text -
Thanks Mike! Worked like a charm.
Mike H - 09 May 2008 21:33 GMT
Your welcome and thanks for the feedback
> > Maybe
> >
[quoted text clipped - 27 lines]
>
> Thanks Mike! Worked like a charm.