Shadowboxer
Board Regular
- Joined
- Aug 24, 2006
- Messages
- 60
I need to create some automated rounding rules as follows:
One
Note before - all cells will show numbers to one decimal place only.
Baseline figures in cell D2 need to be rounded and displayed in E2 according to the following rules:
Decimals .1 + .2 to be rounded down to nearest whole number, except when rounding down to zero, when decimals should instead be rounded up to 0.5.
Decimals of .3 + .4 to be rounded up to the nearest .5
Decimals of .6 + .7 to be rounded down to the nearest .5
Decimals of .8 + .9 to be rounded up to the nearest whole number.
Two
Note before - as previously all cells will show data to one decimal place - but this time the rounding rules are different:
Decimals prior to rounding to appear in D2. Cell E2 is required to restate the content of cell D2 having applied the following rounding rules:
Decimals of .1 to be rounded down to the nearest whole number, with the exception of anything rounded to zero, which should be rounded up instead to 0.5.
Decimals of .2 + .3 + .4 to be rounded up to the next .5
Decimals of .6 to be rounded down to the nearest .5
Decimals of .7 + .8 + .9 to be rounded to the nearest whole number.
All help with this gratefully received.
One
Note before - all cells will show numbers to one decimal place only.
Baseline figures in cell D2 need to be rounded and displayed in E2 according to the following rules:
Decimals .1 + .2 to be rounded down to nearest whole number, except when rounding down to zero, when decimals should instead be rounded up to 0.5.
Decimals of .3 + .4 to be rounded up to the nearest .5
Decimals of .6 + .7 to be rounded down to the nearest .5
Decimals of .8 + .9 to be rounded up to the nearest whole number.
Two
Note before - as previously all cells will show data to one decimal place - but this time the rounding rules are different:
Decimals prior to rounding to appear in D2. Cell E2 is required to restate the content of cell D2 having applied the following rounding rules:
Decimals of .1 to be rounded down to the nearest whole number, with the exception of anything rounded to zero, which should be rounded up instead to 0.5.
Decimals of .2 + .3 + .4 to be rounded up to the next .5
Decimals of .6 to be rounded down to the nearest .5
Decimals of .7 + .8 + .9 to be rounded to the nearest whole number.
All help with this gratefully received.