There are several solutions for a scenario where the user needs to assign a value based on some other parameter e.g. exam marks allocation - depending on points, postage price based on parcel weight, commission or tax % based on revenue etc.
In Omniscope you can use a nested IF formula, where you're building from the smallest value up, or from the highest value down.
In an example where the student can score between 0 and 100 points on a test here are the mark allocation formulas.
Exam scoring - points Vs mark:
0-59 --> F
60-69 --> D
70-79 --> C
80-89 --> B
90-100 --> A
a) solution with formula - start with the highest value:
b) solution with formula - start with the lowest value:
c) Alternatively there is an 'Inequality block', where the process can be automated and interval allocation easily updated.
Interval Join block requires an additional input file, which contains the boundaries and the allocated values.
Another requirement is an installation of the R package, as per Setup block's instructions.