?
Solved

round whole integer number in excel

Posted on 2013-05-27
2
Medium Priority
?
486 Views
Last Modified: 2013-05-28
Hi,
How can i round whole number in excel in such a way like this:

if the number between :  1-499  then round to 500
if the number is             :    500  then round to 500
if the number between :  501-999  then round to 1000
0
Comment
Question by:drtopserv
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Assisted Solution

by:als315
als315 earned 1000 total points
ID: 39198976
=IF(A1>500,1000,500)
if you like formula for digits > 1000 in step 500, you can use:
=INT((A1-1)/500+1)*500
0
 
LVL 52

Accepted Solution

by:
Rgonzo1971 earned 1000 total points
ID: 39198984
Hi,

Or
 =CEILING(A1,500)

Regards
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This article describes a serious pitfall that can happen when deleting shapes using VBA.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

764 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