AmandaCatRuth
Board Regular
- Joined
- Apr 20, 2012
- Messages
- 79
I need to use cell formatting to display numbers rounded to the nearest 10th, as such:
This will need to work for values of 1000-15000.
I know this can be done with mround, but the function is visible when the cell is clicked on. Pasting over values will ruin all of the trailing decimals, which I need to keep. Cell formatting is the only thing I can think of that will display the numbers nicely, but also will show the correct number as the actual value of the cell.
However, I have no idea how to write a custom format that will do this.
Any suggestions?
Code:
1022.5468734654 -> 1020
1029.5468734654 -> 1030
10222.5468734654 -> 10220
This will need to work for values of 1000-15000.
I know this can be done with mround, but the function is visible when the cell is clicked on. Pasting over values will ruin all of the trailing decimals, which I need to keep. Cell formatting is the only thing I can think of that will display the numbers nicely, but also will show the correct number as the actual value of the cell.
However, I have no idea how to write a custom format that will do this.
Any suggestions?