Roundup to the nearest 10, 20, 30 etc

TDL76

New Member
Joined
Mar 13, 2013
Messages
16
Hello, :)

I'd like to roundup a list numbers to the nearest 10, 20, 30 etc...
so if a number falls between 1 and 10 will be rounded up to 10 and if a number is between 31 and 40 rounds up to 40.
i.e.

NumbersGrouped
110
310
1220
1520
2330
2730
3140
3840
5050

<TBODY>
</TBODY>
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
You could use CEILING:

Excel 2010
AB
6NumbersGroup
75960
83840
97680
104450
11710
127380
134250
146060
15410
162730
178990
18100100
194850
204550
216170
Sheet1
Cell Formulas
RangeFormula
B7=CEILING(A7,10)
 
Upvote 0
Thank you firefly2012!

That has worked a treat!! :)
I had tried that but because my data source was decimal format it didn't work! my mistake!
 
Upvote 0
You're welcome :)

Decimal format - do you mean you had fractional values eg 4.765 etc because that should still work with CEILING?
 
Upvote 0
Decimal format being... 0.01 etc... it kept returning 10... so I corrected the formula to read: =CEILING(A2,0.1)
Easy to miss but enough to drive me crazy for a little while ;)
 
Upvote 0

Forum statistics

Threads
1,215,432
Messages
6,124,859
Members
449,194
Latest member
HellScout

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top