Thanks Alan, it worked to a point, but in the downwards direction, do you
know how to round up?. I know the score is 1.4, but hopefully things will
be
clearer below as to why)
Thanks Rod, yes, you're right of course. more a case of bad english as
well
as bad maths on my part, what I meant was percentage difference.
the reason for wanting this is set out below in a message that I posted
under another title which relates to the Conditional Formatting Feature
at the moment, my boxes are
Low = 2 Med = 4 High = 6.
I want the colours to reflect that. I couldn't get the dialogue box to
work
out the sums, so set up 3 boxes to give me the Dmax, Dmin for the column,
then used the two figures to arrive at a median for the mid value. Then
tell
the Condititional Format If Higher than or equal to [High], make one
colour,
If Lower or Equal to [Low], make the second colour, and if between [High]
and
[Low] make the 3rd colour for the mid value.
In my Form/table, i have a list of numbers representing the amount of
times
a
user has got a question wrong, based on the field [x_wrong].
for example:
[Qstn_ID] [Xrwong] [Question] Colour
4 15 blah, blah Green
6 9 " Green
18 27 " Red
4 43 " Red
9 4 " Blue
2 8 " Green
33 3 " Blue
9 3 " Blue
84 22 “ Red
I want to be able to colour code the 3 ranges available, based on the
highest 3rd, middle third, and lowest 3rd percentages of the values using
the
fluctuating highest value, and lowest value as the index. Because the
values
are constantly changing, i cannot use a fixed figure; say >33 because the
highest value may never reach 33.
Rod Plastow said:
Difference? But you're dividing! Otherwise Allen's trick still works.
- Int(-([High]-[Low]))
Rod
:
I have an Unbound totals box on a Form Footer that gets the diference
in
value between two other Totals boxes. But under certain conditions the
Value
displays as for example, 1.4. How can I round this box value up when
the
result is a fraction?
The default value in the box is:
=[High]/[Low]