# Re: Lookup final grade field after comparing range

Solved
916 0
cancel
Showing results for
Did you mean:
4 - Data Explorer

Hello all,

I have question regarding a formula for the marking sheet for my university module:

I want to compare my students’ final numerical grade (titled ‘total_grade_point’ field in image one) with a range in an adjacent conversion table. The second table contains a numerical range (image two), and I want to get the final string for my student’s grade.

Basically, if you follow the images, I want to contrast my students’ grade point with the ranges in the conversion table, and then yield the grade string (zero, low fail, etc.).

I hope this is somewhat clear.

Thank you all for your help! :pray:

Best,

Manuel

1 Solution

Accepted Solutions
4 - Data Explorer

@ScottWorld, you are an absolute hero. Thank you for encouraging me to figure it out on my own too, I learned something about nesting IF statements now. This is how I solved it (used the python markup language in Sublime Text to help me out with the colours):

“Zero”,
“Low Fail”,
“Mid Fail”,
“Marginal Fail”,
“Low 3rd”,
“Mid 3rd”,
“High 3rd”,
“Low 2.2”,
“Mid 2.2”,
“High 2.2”,
“Low 2.1”,
“Mid 2.1”,
“High 2.1”,
“Low 1st”,
“Mid 1st”,
“High 2st”,
“Exceptional 1st”
))))))))))))))))

3 Replies 3
18 - Pluto

This is a great example of “automatic linking“ between tables, which is not possible in Airtable. Airtable only supports “manual linking” between tables.

You would either need to manually link between tables (by linking each Marking record to a Conversion record), or write a JavaScript to manually link each record for you.

However, probably a much better solution for you would be to simply create a new formula field in your Markings table which would yield the result that you’re looking for. The Conversions table would be unnecessary. You could still keep the Conversions table as a personal reference to yourself, but you would translate all the logic of that table into a single formula field within your Markings table.

I’m not at an actual computer right now, but when I’m back at my computer later, I could help you construct the formula if you can’t figure it out on your own.

4 - Data Explorer

@ScottWorld, you are an absolute hero. Thank you for encouraging me to figure it out on my own too, I learned something about nesting IF statements now. This is how I solved it (used the python markup language in Sublime Text to help me out with the colours):

“Zero”,
“Low Fail”,
“Mid Fail”,
“Marginal Fail”,
“Low 3rd”,
“Mid 3rd”,
“High 3rd”,
“Low 2.2”,
“Mid 2.2”,
“High 2.2”,
“Low 2.1”,
“Mid 2.1”,
“High 2.1”,
“Low 1st”,
“Mid 1st”,
“High 2st”,
“Exceptional 1st”
))))))))))))))))

18 - Pluto

Haha, you’re welcome! :slightly_smiling_face:

And that is so fantastic that you figured out this Nested IF formula on your own!! Congratulations! :slightly_smiling_face: