Field value on logical operation

I have a field A with a calculated value and a field B with a calculated value. Is there a way to transfer the lower value of both (A or B) directly to a third field using a logical function? In the example D-1 is lower. But it could also be the case that D-2 is lower. Thanks a lot.

Replies are visible only to logged in members with an active subscription.