Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Rounding up for a decimal

Hi, is there a way to round up to the nearest 0.50 ?
eg: 2.23 should be rounded to 2.50 & 2.65 should get rounded to 3.00
--
Cheers !
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Rounding up for a decimal

One way:

A1 = 2.23

=CEILING(A1,0.5)

--
Biff
Microsoft Excel MVP


"Sena" wrote in message
...
Hi, is there a way to round up to the nearest 0.50 ?
eg: 2.23 should be rounded to 2.50 & 2.65 should get rounded to 3.00
--
Cheers !



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Rounding up for a decimal

Thanks it worked !
--
Cheers !


"T. Valko" wrote:

One way:

A1 = 2.23

=CEILING(A1,0.5)

--
Biff
Microsoft Excel MVP


"Sena" wrote in message
...
Hi, is there a way to round up to the nearest 0.50 ?
eg: 2.23 should be rounded to 2.50 & 2.65 should get rounded to 3.00
--
Cheers !




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Rounding up for a decimal

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Sena" wrote in message
...
Thanks it worked !
--
Cheers !


"T. Valko" wrote:

One way:

A1 = 2.23

=CEILING(A1,0.5)

--
Biff
Microsoft Excel MVP


"Sena" wrote in message
...
Hi, is there a way to round up to the nearest 0.50 ?
eg: 2.23 should be rounded to 2.50 & 2.65 should get rounded to 3.00
--
Cheers !






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,059
Default Rounding up for a decimal

On Jul 8, 10:38 pm, Sena wrote:
Hi, is there a way to round up to the nearest 0.50 ?
eg: 2.23 should be rounded to 2.50 & 2.65 should get rounded to 3.00


There may be several ways. One way:

=0.5*roundup(A1/0.5, 0)

where A1 contains the number (2.23).

Caveat: you might be surprised when "3.00" is rounded up to 3.50
because, perhaps, "3.00" is merely the rounded displayed value of
3.001, for example. The following should remedy that problem:

=0.5*roundup(round(A1)/0.5, 0)



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 to two even decimal places needhelp Excel Worksheet Functions 3 May 16th 07 12:49 AM
Decimal Place Rounding Aaron Excel Worksheet Functions 4 May 4th 07 02:58 AM
Rounding off decimal places Clay64 Excel Discussion (Misc queries) 7 March 29th 07 10:30 PM
Rounding decimal Sturart Excel Worksheet Functions 1 February 16th 06 07:06 PM
Decimal places and rounding up (or down) Ash New Users to Excel 3 February 15th 05 08:16 PM


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