hello everyone!
i have multiple if and i would like to know if there is a more readable way to to this:
3 options: for field 1
1a,1b,1c
then another 3: for field 2
2a,2b,2c
and finally 3 more: for field 3
3a,3b,3c
if 1a & 2a & 3a true give me value 10
if 1a & 2b & 3a true give me value 15
if 1a & 2c & 3a true give me value20
if 1b & 2a & 3a true give me value 4
.....
all possible combinations
there must be a better way to to this than an almost endless IIf
thanks in advance
i have multiple if and i would like to know if there is a more readable way to to this:
3 options: for field 1
1a,1b,1c
then another 3: for field 2
2a,2b,2c
and finally 3 more: for field 3
3a,3b,3c
if 1a & 2a & 3a true give me value 10
if 1a & 2b & 3a true give me value 15
if 1a & 2c & 3a true give me value20
if 1b & 2a & 3a true give me value 4
.....
all possible combinations
there must be a better way to to this than an almost endless IIf
thanks in advance