IF THEN ELSE NESTED returning wrong or improper values

Using a Rather complex IF statement, I’m trying to make a system by having it check a dropdown’s value.

Here’s the statement.


It’s supposed to return a number. It’s returning “TRUE” or “FALSE,” Not the value intended.

I think it is only a format issue, any value different from zero is TRUE, try changing the cell format. Maybe B2 has a boolean value format.

Cleared Direct formating seemed to fix it.