An example:
4+4+4.5+3.5+4.5+5 = 25.5
in the lookup, that should generate a score of 88. However, instead it is taking the value for a score of 26 - giving the student an 89.
It doesn't always round up though, sometimes it appears to round down and give a lower score than it should.
Now the lookup table has all of the values and their equivalents. Here is a sample:
26.5 90
27 91
27.5 93
28 94
28.5 96
29 97
29.5 99
30 100
Here is the formula used:
Expand|Select|Wrap|Line Numbers
- Private Sub Percent_GotFocus()
- Percent = [Understanding] + [Quality] + [Communication] + _
- [Completion] + [Preparation] + [Participation]
- Percent = Nz(DLookup("CalcPercent", "Percent_Comp_Table", "OrigPercent = " & Percent), 0)
- End Sub
fieldtype - Number
Field size - Long integer (I know, not needed, but this is what it was set to)
Format - not set (though I tried general)
Decimal - Auto
Any thoughts on this would be appreciated!
smg