Hi
What I'm trying to do is on a summary page to express a calculated value in a "common sense" manner. So that if my criteria is that the value should be between 0.0999 and 1.0001 and my calculated value is 1.0000567 this gets rounded to 1.0001, likewise if my acceptable range is 49-51 and the calculated value is 50.114567 then the result will be rounded to 50.
There could be up to 7 sets of criteria and results all being transferred from calculation sheets via VBA. I actually want the rounded results not just the formatted to x decimals.
My design "idea" is that before transferring the data I will look at the number of decimal places that the range is expressed to and then round the answer prior to transfer.
Any ideas?
Thanks in advance
What I'm trying to do is on a summary page to express a calculated value in a "common sense" manner. So that if my criteria is that the value should be between 0.0999 and 1.0001 and my calculated value is 1.0000567 this gets rounded to 1.0001, likewise if my acceptable range is 49-51 and the calculated value is 50.114567 then the result will be rounded to 50.
There could be up to 7 sets of criteria and results all being transferred from calculation sheets via VBA. I actually want the rounded results not just the formatted to x decimals.
My design "idea" is that before transferring the data I will look at the number of decimal places that the range is expressed to and then round the answer prior to transfer.
Any ideas?
Thanks in advance