How to calculate this formula and display percentage?

You’re welcome. Your percent—>grade question is typically solved with an if/else if/else if… set of blocks. But it can also be solved with a series of stacked if blocks. Create two variables called percent and grade. Set percent to the value you calculated (such as 71%). Then set up this (I’m using sample values… your actual ranges may be different):

Edit: Oops! I originally had these in the wrong order. It should be:

If percent <= 100 then set grade to A
If percent < 90 then set grade to B
If percent < 80 then set grade to C
If percent < 70 then set grade to D
If percent < 60 then set grade to F

1 Like