ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Rounding to every 5th whole number (https://www.excelbanter.com/excel-discussion-misc-queries/204872-rounding-every-5th-whole-number.html)

LHS

Rounding to every 5th whole number
 
I have a pivot table that is giving currency values. I need a separate
column with these values rounded to the nearest fifth. For example 13,576.90
needs to round to 13,575 or 389.10 needs to round to 390.

Sheeloo[_2_]

Rounding to every 5th whole number
 
Use
=ROUND(A1,-1)

replace A1 by the reference to the cell you want to round...

"LHS" wrote:

I have a pivot table that is giving currency values. I need a separate
column with these values rounded to the nearest fifth. For example 13,576.90
needs to round to 13,575 or 389.10 needs to round to 390.


bpeltzer

Rounding to every 5th whole number
 
=mround(a1,5)

"LHS" wrote:

I have a pivot table that is giving currency values. I need a separate
column with these values rounded to the nearest fifth. For example 13,576.90
needs to round to 13,575 or 389.10 needs to round to 390.


Ron Rosenfeld

Rounding to every 5th whole number
 
On Thu, 2 Oct 2008 17:29:01 -0700, LHS wrote:

I have a pivot table that is giving currency values. I need a separate
column with these values rounded to the nearest fifth. For example 13,576.90
needs to round to 13,575 or 389.10 needs to round to 390.


=ROUND(A1/5,0)*5 is one formula to use.
--ron

David Biddulph[_2_]

Rounding to every 5th whole number
 
Wouldn't that round to the nearest 10, rather than 5?
--
David Biddulph

"Sheeloo" wrote in message
...
Use
=ROUND(A1,-1)

replace A1 by the reference to the cell you want to round...

"LHS" wrote:

I have a pivot table that is giving currency values. I need a separate
column with these values rounded to the nearest fifth. For example
13,576.90
needs to round to 13,575 or 389.10 needs to round to 390.





All times are GMT +1. The time now is 06:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com