M
Michael_100
I am working on a report where I need the report to return a value based on a
percentage number in another field. The field containing the percentage is
[Avg Of TCF Evaluation]. If that field contains a percent from 95 to 100, I
want an unbound control to return a point value of 40. If that field contains
a percent from 92 to 94.9, I want the unbound control to return a point value
of 35 and so on. I am trying to use the IIf function without luck.
My formula looks something like:
IIF(([Avg Of TCF Evaluation] >= 92% And ([Avg Of TCF Evaluation] <= 95%, 35)
, IIF([Avg Of TCF Evaluation] >=95%, 40, 31))
I keep getting a syntax error. I have tried adjusting the formula many
different ways, yet the error persists. Can someone help me with the right
formula?
percentage number in another field. The field containing the percentage is
[Avg Of TCF Evaluation]. If that field contains a percent from 95 to 100, I
want an unbound control to return a point value of 40. If that field contains
a percent from 92 to 94.9, I want the unbound control to return a point value
of 35 and so on. I am trying to use the IIf function without luck.
My formula looks something like:
IIF(([Avg Of TCF Evaluation] >= 92% And ([Avg Of TCF Evaluation] <= 95%, 35)
, IIF([Avg Of TCF Evaluation] >=95%, 40, 31))
I keep getting a syntax error. I have tried adjusting the formula many
different ways, yet the error persists. Can someone help me with the right
formula?