I am creating a ranking system that is based on the placement of a group at a competition and the level of competition (If there are excellent groups at a competition, more points are awarded and vice versa)

I was wondering if there was a way to turn this into a function:

if "variable 1" = A AND "variable 2" = 1, then score = 95

Any other advice would be great!