G
Greg
Hi,
I am getting some strange results and could use some help with the
proper logic and syntax to solve my problem. Essentially I am trying
to find the max and min % discount in a sub group of data.
My formula looks like this:
{Max((condition 1)*(condition 2)*(data colum))}
and
{Min((condition 1)*(condition 2)*(data colum))}
With the following data I get -35% returned for min (makes sense), but
get a zero for Max
-35%, -25%, -15%
So I thought I could just make the data points all abs and then find
what I want and multiply by -1, but alas sometimes my data looks like
this
-35%, -25%, 15%
In this case the max discount (smallest number) is -35%, but the
smallest discount is not a discount it is a premium to the price of
+15%. In this lower example my Min gives me -35% and Max gives me
+15%, which is all good. But if there is no positive number as in
first example, then as stated above the Max returns 0 versus the -15%
Any thoughts out there?
TIA,
Greg
I am getting some strange results and could use some help with the
proper logic and syntax to solve my problem. Essentially I am trying
to find the max and min % discount in a sub group of data.
My formula looks like this:
{Max((condition 1)*(condition 2)*(data colum))}
and
{Min((condition 1)*(condition 2)*(data colum))}
With the following data I get -35% returned for min (makes sense), but
get a zero for Max
-35%, -25%, -15%
So I thought I could just make the data points all abs and then find
what I want and multiply by -1, but alas sometimes my data looks like
this
-35%, -25%, 15%
In this case the max discount (smallest number) is -35%, but the
smallest discount is not a discount it is a premium to the price of
+15%. In this lower example my Min gives me -35% and Max gives me
+15%, which is all good. But if there is no positive number as in
first example, then as stated above the Max returns 0 versus the -15%
Any thoughts out there?
TIA,
Greg