Nested If Statement
-
Hey,
I’m having difficulty getting these formulas to work based on multiple criteria.
If the male is selected and fieldname5 has value greater than 0 I need fieldname5 to be multiplied by 1.9. If it is female the fieldname5 value should be multiplied by 1.7. And if fieldname5 <= 0 then no multiplication is needed. I’m stuck with the following, please help.
(function(){
IF(AND( fieldname5 > 0, fieldname1==’Male’),fieldname5*1.9);
IF(AND( fieldname5 > 0, fieldname1==’Female’),fieldname5*1.7);
})();Thanks,
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Nested If Statement’ is closed to new replies.