The calculation below is supposed to automatically calculate the number of skill points a player has put into a particular skill on their character sheet. I am trying to get "able learner" to work with this calculation. For those who don't know "Able Learner" is a 3.5e feat that makes all Cross Class Ranks cost only 1 skill point instead of 2, without changing the Cross-Class max ranks. Equation before trying to add able learner: (@{R} * (2 - @{C})) Equation after adding able learner: (@{R} * (2 - (@{C})) / (@{A} - @{C}) Where: @{R} (Ranks) is the number of ranks in the particular skill @{C} (Cross Class) is a checkbox value 1 if checked, value 0 if unchecked. @{A} (Able Learner) is a checkbox value 2 if checked, 0 if unchecked. The problem is this calculation ends up dividing by Zero, as well as a number of different problems. I'm sure I'm overlooking something, help would be appreciated. Able learner must not interfere with the value of Class Skills, but it also must be set to a minimum value of 1, when the equation is divided.