#1   Report Post  
Posted to microsoft.public.excel.newusers
Sam Sam is offline
external usenet poster
 
Posts: 699
Default rounding

i have set number format to 2 decimal places...but for the final answer i
want the answer to be rounded off to the nearest whole number with 2 d.p
for eg
anwer 312.78 should appear as 313.00..
if i set the format to no dp i get the answer of 313 but the .00 doesnot
appear then. wht am i suppose to do?
--
Sam
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1,073
Default rounding


Sam wrote:
i have set number format to 2 decimal places...but for the final answer i
want the answer to be rounded off to the nearest whole number with 2 d.p
for eg
anwer 312.78 should appear as 313.00..
if i set the format to no dp i get the answer of 313 but the .00 doesnot
appear then. wht am i suppose to do?
--
Sam


Hi Sam,

Try using #.00 custom number format and =round(312.78,0)

Ken Johnson

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 605
Default rounding

A1: 312.78

=round(A1,0) and =roundup(A1,0) return 313.

A1: 312.14

=round(A1,0) returns 312.
=roundup(A1,0) returns 313.

FormatCellsNumber - 2 decimal places or custom format or use the increase decimal button to display .00

Hope this helps.

Epinn

"Ken Johnson" wrote in message ups.com...

Sam wrote:
i have set number format to 2 decimal places...but for the final answer i
want the answer to be rounded off to the nearest whole number with 2 d.p
for eg
anwer 312.78 should appear as 313.00..
if i set the format to no dp i get the answer of 313 but the .00 doesnot
appear then. wht am i suppose to do?
--
Sam


Hi Sam,

Try using #.00 custom number format and =round(312.78,0)

Ken Johnson


  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,718
Default rounding

=CEILING(A1,1)
click on Increase Decimal icon twice


"Sam" wrote:

i have set number format to 2 decimal places...but for the final answer i
want the answer to be rounded off to the nearest whole number with 2 d.p
for eg
anwer 312.78 should appear as 313.00..
if i set the format to no dp i get the answer of 313 but the .00 doesnot
appear then. wht am i suppose to do?
--
Sam

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 JM Excel Discussion (Misc queries) 5 September 21st 06 03:30 AM
How to stop excel from rounding ? majestikwun Excel Discussion (Misc queries) 3 September 8th 06 11:44 AM
How do I correct rounding errors in Excel formulas? C. Van Dam Excel Worksheet Functions 1 August 29th 06 04:37 AM
Rounding to the Nearest Eighth L.sean9 Excel Discussion (Misc queries) 4 June 23rd 06 12:00 AM
Banker's Rounding - need help! Somecallmejosh Excel Discussion (Misc queries) 3 January 20th 05 09:53 PM


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