From: spreadsheetlady on
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.



From: Bernd P on
Hello Amy,

You can use something like
=ROUNDUP(ROUND(B1,5),0)

Regards,
Bernd
From: Mike H on
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.


"spreadsheetlady" wrote:

> 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.
>
>
>