You spin me round right baby right round, like a record...
March 30, 2009 11:15 AM
Subscribe
Need to get Excel to ROUND properly in a custom way, details inside...
I have a spreadsheet that pulls gas price data from a database (which comes from to me in the form of an .xls spreadsheet)
Sample Data shows as an average of several prices:
A 2.096
B 2.085
C 2.137
D 1.991
E 2.013
F 2.034
I need to round these numbers in Excel to:
A 2.099
B 2.089
C 2.139
D 1.999
E 2.019
F 2.039
So always rounding UP to the 9-Thousandths.
I've tried ROUND, ROUNDUP, ROUNDDOWN, CEILING, MAX, MOD and various combinations.
So far, the only way I've found to do it has been:
=ROUNDDOWN(2.034,2)+.009
I'm concerned that the ROUNDDOWN function may not always work properly as ROUNDUP sometimes has anomolies for Thousandths <> 5
Is there an easier formula to use tha doesn't require adding back in the .009?>
posted by emjay to computers & internet (8 comments total)
1 user marked this as a favorite
posted by mrt at 11:26 AM on March 30