CourtneyRapp
7 years agoQrew Cadet
calculating percentages based on checkboxes
I am looking for a way to calculate a percentage based on a checkbox and if a value exists for a specific field. So basically:
If(([Checkbox]=true) & [Field 1B]=" ", [Field 1A]/[Field 1B],
([Checkbox]=true) & [Field 2B]=" ", [Field 2A]/[Field 2B],
([Checkbox]=true) & [Field 3B]=" ", [Field 3A]/[Field 3B]),...
My goal is if a record's Checkbox is checked and it contains a value in Field 1A, then calculate Field 1A & Field 1B percentage. If Field one 1A does not contain a value, then check Field 2A for value, and Field 2B/Field 2A (and so on).
As of now, the result I'm getting is blank. I've tested with various Fields and not getting a different result. Would appreciate any help!
If(([Checkbox]=true) & [Field 1B]=" ", [Field 1A]/[Field 1B],
([Checkbox]=true) & [Field 2B]=" ", [Field 2A]/[Field 2B],
([Checkbox]=true) & [Field 3B]=" ", [Field 3A]/[Field 3B]),...
My goal is if a record's Checkbox is checked and it contains a value in Field 1A, then calculate Field 1A & Field 1B percentage. If Field one 1A does not contain a value, then check Field 2A for value, and Field 2B/Field 2A (and so on).
As of now, the result I'm getting is blank. I've tested with various Fields and not getting a different result. Would appreciate any help!