Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Rounding Up question

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.



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 806
Default Rounding Up question

Hello Amy,

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

Regards,
Bernd
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Rounding Up question

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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rounding Question Art Excel Worksheet Functions 2 January 15th 09 07:02 PM
Rounding Question Curt J Excel Worksheet Functions 9 November 20th 08 09:46 PM
rounding question Jean K Excel Discussion (Misc queries) 2 May 22nd 08 08:34 PM
Rounding Question John Excel Discussion (Misc queries) 2 December 18th 06 08:29 PM
Rounding Question Rweasel6 Excel Worksheet Functions 2 June 14th 05 10:51 PM


All times are GMT +1. The time now is 03:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"