Claus Busch;1614936 Wrote:
> Hi Rune,
>
> Am Thu, 14 Nov 2013 10:29:49 +0000 schrieb RuneVSP:
> -
> > Thanks you it worked out fine, for the max. However the minimum and
> > median cannot be identified this way. I gues it is due to the fact
> that
> > my product is 0 in most cases.. Any idea how i can expand so i can
> also
> > find these two parameters-
>
> for the minimum:
> =MIN(OFFSET($A$1,MATCH(B10,$A1:$A10,0)-1,1,B11-B10+1))
> for the average:
> =SUMPRODUCT(--(A2:A8>=B10),--(A2:A8<=B11),B2:B8)/SUMPRODUCT(--(A2:A8>=B10),--(A2:A8<=B11))
>
>
> Regards
> Claus B.
> --
> Win XP PRof SP2 / Vista Ultimate SP2
> Office 2003 SP2 /2007 Ultimate SP2
Ive tried to copypaste the minimum formula but i get an error and as i
do not understand the offset nor the match function i dont know how to
correct it. Excel mark the "$A$1,MATCH" part of the formula so guess
this is where the problem is. Do you know how to correct this.
Further could you tell me the concept of offset and match and why this
should Work for me ( im trying not to be so helpless NeXT time).
I got the average to Work on my own earlier ( = (
SUMIF($B33:$B6000;"<"&(F17+1);F33:F6000) -
SUMIF($B33:$B6000;"<"&(F17);F33:F6000) ) /
(COUNTIF($B33:$B6000;"<"&(F17+1)) - COUNTIF($B33:$B6000;"<"&(F17)) ))
but i still lack to be able to find the median.
It seems that if i could simply define the area for my formulas in a
cell this would solve everything so i did not have to make sneaky tricks
to shutout/ include numbers.
Once Again thanks
--
RuneVSP