Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 5314 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi, I a trying to replace my excel gradebook with a FM solution. What I am really struggling with is how to do the equivalent of a look up.

so students have a series of grades marked A-G

in excel I give each grade a numeric so G=1, F=2 etc

I can then highlight students who are at less than their target grade through conditional formatting. I am sure I am being thick but I cant get this to work.

Help for newbie gratfully recd..

Posted

Create a field of type Calculation and name NumberGrade.

If you have a text field called Grade,

Give NumberGrade the following definition

Case(

Grade = "A"; 7;

Grade = "B"; 6:

Grade = "C"; 5;

Grade = "D"; 4:

Grade ="E"; 3;

Grade = "F"; 2;

Grade = "G"; 1;

0

)

Posted (edited)

Another way is to calculate it with this shorter expression:

Position("GFEDCBA"; Grade; 1; 1)

This brevity works, but doesn't let you easily add spontaneous other entries in the Grade field such as "I" for Incomplete or "A-". The Case() lets you add a wider variety of entries.

Edited by Guest

This topic is 5314 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.