Rounding

  • Thread starter Thread starter matt
  • Start date Start date
M

matt

I have an excel sheet with the following:
A B
150
25
200

In B I want it to round to the nearest 100, but I do not
want 0 to appear in column B like it would return for 25.
I want a minimum of 100. Any ideas?
 
To return 100 if the cell is less than 100, would need to have

=IF(A1>100,ROUND(A1, -2),100)


Julie's formula would return A1 as the answer ... ie would return 25



: Hi Matt
:
: one idea
:
: =IF(A1>100,ROUND(A1,-2),A1)
:
: cheers
: JuileD
:
: : > I have an excel sheet with the following:
: > A B
: > 150
: > 25
: > 200
: >
: > In B I want it to round to the nearest 100, but I do not
: > want 0 to appear in column B like it would return for 25.
: > I want a minimum of 100. Any ideas?
:
:
 
sorry i misunderstood the question (maybe) i thought the OP wanted to show
the number if less than 100 and only round over 100 ...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top