#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Rounding

In Excel how do I round a number up to end in .9?

Excel 2002 SP1
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 91
Default Rounding

Both in a cell or in VB it's:

Round(value, 1)

....where 1 is the number of decimal places to round to.


Aaron King wrote:
In Excel how do I round a number up to end in .9?

Excel 2002 SP1


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Rounding

On Thu, 17 Aug 2006 09:20:01 -0700, Aaron King <Aaron
wrote:

In Excel how do I round a number up to end in .9?

Excel 2002 SP1


Perhaps:

=CEILING(A1+0.1,1)-0.1

will do what you want?


--ron
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Rounding

num = rnd()*10
newnum = int(num) & .9

otherwise, define what your rules are.

--
Regards,
Tom Ogilvy


"Aaron King" wrote:

In Excel how do I round a number up to end in .9?

Excel 2002 SP1

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 FORMULA =ROUND(B12/$B$10,1) ROUNDING TO HIGH SunshineinFt.Myers[_2_] Excel Worksheet Functions 7 March 5th 09 06:41 PM
I need a formula with rounding up & rounding down to the nearest . Tony Kay Excel Worksheet Functions 3 May 29th 07 11:13 PM
Rounding Steve[_2_] Excel Worksheet Functions 3 February 28th 07 11:53 PM
Worksheet rounding vs VBA rounding Simon Cleal Excel Programming 4 September 2nd 05 01:50 AM
Rounding LaraHubbs Excel Discussion (Misc queries) 2 June 21st 05 09:42 PM


All times are GMT +1. The time now is 01:23 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"