Rounding Up question

S

spreadsheetlady

Hi,

A1 has the ROUNDUP Function referenced to B1: ROUNDUP(B1,0).
Example: B1 says: 6.2 A1 will roundup to 7. Perfect!

This works 99% of the time.

But in a special case B1 says 6.0 - A1 still rounds up to 7.

I expanded B1 decimal places and found B1 in this case really says: 6.00044.
Hence the reason for A1 rounding to 7.

Is there anyway to tell the A1 ROUNDUP function to not round up when the
first decimal place says zero? Or to only go out one decimal place when
rounding up?

Hope I worded my question that it can be understood.

Thanx in advance, Amy.
 
M

Mike H

Hi,

One way

=ROUNDUP(LEFT(B1,FIND(".",B1)+1),0)
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.
 

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