Rounding Cell Values

L

Lars-Åke Aspelin

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top