ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Rounding Cell Values (https://www.excelbanter.com/excel-worksheet-functions/215385-rounding-cell-values.html)

RWAMSLEY

Rounding Cell Values
 
How can a cell value be rounded down to the nearest even number

Shane Devenshire[_2_]

Rounding Cell Values
 
Hi,

Try

=MROUND(A1-1,2)

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"RWAMSLEY" wrote:

How can a cell value be rounded down to the nearest even number


Mike H

Rounding Cell Values
 
Try this

=FLOOR(A2,2)

Mike

"RWAMSLEY" wrote:

How can a cell value be rounded down to the nearest even number


Lars-Åke Aspelin[_2_]

Rounding Cell Values
 
On Mon, 5 Jan 2009 11:17:01 -0800, RWAMSLEY
wrote:

How can a cell value be rounded down to the nearest even number



If the cell value is always positive, try the following

=FLOOR(A1,2)

If the cell value is always negative, try the following

=-CEILING(-A1,2)

If the cell value can positive or negative, try the following

=CHOOSE(SIGN(A1)+2,-CEILING(-A1,2),0,FLOOR(A1,2))

Hope this helps / Lars-Åke


All times are GMT +1. The time now is 04:28 AM.

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