Excel Round Function

NDMDRB

Board Regular
Joined
Jun 20, 2016
Messages
164
Office Version
  1. 2016
Platform
  1. Windows
Hello,

I have an inquiry regarding round function and not sure if there is a solution or not

The numbers in Column "A" are depends on some calculations

What I need is to round the numbers in Column "A" to be only as the numbers in Column "D" (looks like (250, 250*2, 250*3, 250*4...))

I used the function in "B1" and changed the numbers and tried so hard to have a result as in "C1" but didn't get what I need

Any suggestions?

[TABLE="class: grid, width: 800"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]220[/TD]
[TD]=ROUND(A1,2-(1+INT(LOG10(ABS(A1)))))[/TD]
[TD]250[/TD]
[TD]250[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]270[/TD]
[TD][/TD]
[TD][/TD]
[TD]500[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]300[/TD]
[TD][/TD]
[TD][/TD]
[TD]750[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]400[/TD]
[TD][/TD]
[TD][/TD]
[TD]1000[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]515[/TD]
[TD][/TD]
[TD][/TD]
[TD]1250[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]780[/TD]
[TD][/TD]
[TD][/TD]
[TD]1500[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]1260[/TD]
[TD][/TD]
[TD][/TD]
[TD]1750[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
I think this formula may do what you seem to be indicating you want...

=MROUND(A1+125,250)
 
Upvote 0
Thank you so much Rick Rothstein, it works like a magic
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,149
Members
453,021
Latest member
Justyna P

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