So, i'm really stuck trying to figure out how to use multiple if statements. The basic idea is that i have 3 variables (A, B and F) with 2 possibilities for each one (1 or 0) and for each possible combination (8 in total) i need another set of equations as output, i'll just post what i have here and i hope some one can help me, thanks in advance!!

If A=0 and B=1

Then

If F=1

Then

"-log((DJ-XHI)/(X^-3+J)E)"üY1

"14+log(((X-(DJ/H))/(X^-3+J))I)"üY2

Else

"-log((DJ-XHI)/(X^-3+J)E)"üY1

"14-1/2(G-log(((X-(DJ/H))/(X^-3+J))I))"üY2

End

Else

If A=0 and B=0

Then

If F=1

Then

"1/2(C-log((DJ-XHI)/(X^-3+J)E))"üY1

"14+log(((X-(DJ/H))/(X^-3+J))I)"üY2

Else

"1/2(C-log((DJ-XHI)/(X^-3+J)E))"üY1

"14-1/2(G-log(((X-(DJ/H))/(X^-3+J))I))"üY2

Else

If A=1 and F=1

Then

If B=1

Then

"14+log((HJ-XD)/(X^-3+J)I)"üY1

"-log((X-HJ/D)/(X^-3+J)E)"üY2

Else

"14+log((HJ-XD)/(X^-3+J)I)"üY1

"1/2(C-log((X-HJ/D)/(X^-3+J)E))"üY2

Else

If A=1 and F=0

Then

If B=1

Then

"14-1/2(G-log((HJ-XD)/(X^-3+J)I))"üY1

"-log((X-HJ/D)/(X^-3+J)E)"üY2

Else

"14-1/2(G-log((HJ-XD)/(X^-3+J)I))"üY1

"1/2(C-log((X-HJ/D)/(X^-3+J)E))"üY2

End

End

End

End

End

End

Xentro

P.S.: the ü is sto