I want to write a simple calculation to return a value based on a heirarchy of fields.
If the first field is empty, I want it to return the second, and if the second is empty, the third. I have tried the following but it only returns the first value.
If (IsEmpty (Field1 = 1) ; Field2;
If (IsEmpty (Field2 = 1); Field3; Field1))
I was able to get the first or third value to appear by using:
If (IsEmpty (Field1) &
If (IsEmpty (Field2); Field3; Field1))
But of course this doesn t show the Field2
at all.
Is there something along the lines of:
If (IsEmpty (Field1) &
If (IsEmpty (Field2); Field3; Field1, Field2))
which I can use? This obviously doesn t work because there are too many parameters in the function.
Any help would be very much appreciated! :-)