Nested IF function

Dear All,

How to salve this nested equation error,

SolidworksGeneral