Joseph31 Posted October 27, 2009 Posted October 27, 2009 Hello everyone, I need to make a calculation that return a value based on a percentage. IE: if percentage is 0%-10% the calc would return a "1" 11%-20& the calc would return a "2" 21%-30% the calc would return a "3" 31%-40% the calc would return a "4" 41%-100% the calc would return a "5" Can some one show me how to right this -- maybe a case function? Thank you, Joseph
LaRetta Posted October 27, 2009 Posted October 27, 2009 (edited) Hi Joseph, you might try calculation, result is number with: Case ( Percent > 40 ; 5 ; Ceiling ( Percent / 10 ) ) or ... Case ( Percent ≤ 10 ; 1 ; Percent ≤ 20 ; 2 ; Percent ≤ 30 ; 3 ; Percent ≤ 40 ; 4 ; 5 ) Edited October 27, 2009 by Guest Added alternate calc
Joseph31 Posted October 27, 2009 Author Posted October 27, 2009 (edited) Thank you -- Edited October 27, 2009 by Guest
Recommended Posts
This topic is 5564 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 accountSign in
Already have an account? Sign in here.
Sign In Now