Moodle is showing error if I put IF statement in the grade calculation formula box. I want Moodle to use IF function like how it works in Excelsheet.
The following is my formula:
= IF(D7="D",1,IF(D7="U",2,0))
Moodle is showing error if I put IF statement in the grade calculation formula box. I want Moodle to use IF function like how it works in Excelsheet.
The following is my formula:
= IF(D7="D",1,IF(D7="U",2,0))
Pralad,
Moodle doesn't allow IF statements in calculations. You can use a combination of max and min statements to accomplish this, it just takes a little more work with the logic.
Mark
Hi Mark,
Can you please show me one example of how to use max and min statements in the following formula?
My formula is:
IF(B9>10,"Good",IF(B9<4,1,0))