This seems so simple but for some reason I can't get the result I'm looking for.
On my form I have a field where the user can enter a percentage (bonus) and based on that percentage a dollar amount is populated in the calculated field (Rate).
This is the scale that I'm basing my code off of.
94-96.99% = $8
97-98.99% = $10
99-100% = $13
Code for calculated field.
=Switch([Bonus Percentage]>.9899,13,[Bonus Percentage]<.99 & [Bonus Percentage]>.9699,10, [Bonus Percentage]<.97,8)
I've using the switch function and I'm able to get values populated that fall in between 94-96.99 and 99-100 but not in between 97-98.99 so I'm guess that the & clause doesn't work or I'm not structuring it right.
Any help is appreciated.
On my form I have a field where the user can enter a percentage (bonus) and based on that percentage a dollar amount is populated in the calculated field (Rate).
This is the scale that I'm basing my code off of.
94-96.99% = $8
97-98.99% = $10
99-100% = $13
Code for calculated field.
=Switch([Bonus Percentage]>.9899,13,[Bonus Percentage]<.99 & [Bonus Percentage]>.9699,10, [Bonus Percentage]<.97,8)
I've using the switch function and I'm able to get values populated that fall in between 94-96.99 and 99-100 but not in between 97-98.99 so I'm guess that the & clause doesn't work or I'm not structuring it right.
Any help is appreciated.