automated field based on value of multiple fields

  • Thread starter Thread starter Tain71
  • Start date Start date
T

Tain71

Guest
I have a risk assessment form. In one area of the form, there are four fields: Performance, Schedule, Cost & Consequence/Impact.

I want the field "Consequence/Impact" to equal the highest value of the other three fields. Keep in mind the other three field values are anything between 1-5 (all different).

For example; if Performance=1, Schedule=5 & Cost =3, then Consequence/Impact will equal 5 because that's the highest of the three fields.

I have tried several expressions (i.e., =MAX(performance,schedule, cost) and nothing works. Can anyone help? Thanks!:confused:
 
It's not very neat, but I think the following would work:

=IIf([Performance]>[Schedule],IIf([Performance]>[Cost],[Performance],[Cost]),IIf([Schedule]>[Cost],[Schedule],[Cost]))

HTH,

Matt.
 

Users who are viewing this thread

Back
Top Bottom