Solved

Round a number

Posted on 2011-03-03
7
187 Views
Last Modified: 2012-05-11
Please tell me how I can display the rounded version of a number (without using a function).
THe number is the cell must display the rounded version, but the actual value must still be the non-rounded version.
0
Comment
Question by:dshrenik
  • 3
  • 3
7 Comments
 
LVL 24

Expert Comment

by:jimyX
ID: 35029682
Just set the cell format to Number with 0 Decimal places.
0
 

Author Comment

by:dshrenik
ID: 35029701
If possible, can you give me the procedure to do the same. Thanks!
0
 
LVL 39

Accepted Solution

by:
nutsch earned 250 total points
ID: 35029745
Look at the screencast below. You get to the cells format box by clicking Ctrl+1

Thomas
nutsch-416086.flv
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 24

Assisted Solution

by:jimyX
jimyX earned 250 total points
ID: 35029772
Range("yourcell").NumberFormat = "0"
0
 

Author Comment

by:dshrenik
ID: 35029808
Thats not rounding the number. IT is just trimming it right?
0
 
LVL 24

Expert Comment

by:jimyX
ID: 35029841
No, it's rounding the number for viewing but the original number is kept intact. try it please.
0
 

Author Comment

by:dshrenik
ID: 35029853
Sorry about that!
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question