"MROUND" - Need Min. 0.25 Value

jcarey

New Member
Joined
Aug 7, 2017
Messages
11
I am utilizing "MROUND" to round to values of 0.25, 0.50, 0.75 & 1.00 - it works great, but I can't use a "0.00" value (I need min. 0.25) -- what can I do?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Perhaps something like this:

=MAX(0.25,MROUND(A1,0.25))
 
Upvote 0
Something like this?


Excel 2013/2016
ABC
1ValueMround ResultMin 0.25 Result
23.0602833.25
36.8717776.756.75
47.7596597.757.75
53.543843.53.5
68.6723338.758.75
77.340817.257.25
84.94066655.25
99.6647579.759.75
101.2699691.251.25
116.87582177.25
123.8402543.753.75
132.4296472.52.5
148.05109588.25
153.7533013.753.75
166.3243896.256.25
1710.02691010.25
2
Cell Formulas
RangeFormula
B2=MROUND(A2,0.25)
C2=IF(MROUND(A2,0.25)=ROUND(A2,0),ROUND(A2,0)+0.25,MROUND(A2,0.25))
 
Upvote 0
Something like this?

Excel 2013/2016
ABC
ValueMround ResultMin 0.25 Result

<colgroup><col style="width: 25pxpx"><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]

[TD="align: center"]2[/TD]
[TD="align: right"]3.06028[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]3.25[/TD]

[TD="align: center"]3[/TD]
[TD="align: right"]6.871777[/TD]
[TD="align: right"]6.75[/TD]
[TD="align: right"]6.75[/TD]

[TD="align: center"]4[/TD]
[TD="align: right"]7.759659[/TD]
[TD="align: right"]7.75[/TD]
[TD="align: right"]7.75[/TD]

[TD="align: center"]5[/TD]
[TD="align: right"]3.54384[/TD]
[TD="align: right"]3.5[/TD]
[TD="align: right"]3.5[/TD]

[TD="align: center"]6[/TD]
[TD="align: right"]8.672333[/TD]
[TD="align: right"]8.75[/TD]
[TD="align: right"]8.75[/TD]

[TD="align: center"]7[/TD]
[TD="align: right"]7.34081[/TD]
[TD="align: right"]7.25[/TD]
[TD="align: right"]7.25[/TD]

[TD="align: center"]8[/TD]
[TD="align: right"]4.940666[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]5.25[/TD]

[TD="align: center"]9[/TD]
[TD="align: right"]9.664757[/TD]
[TD="align: right"]9.75[/TD]
[TD="align: right"]9.75[/TD]

[TD="align: center"]10[/TD]
[TD="align: right"]1.269969[/TD]
[TD="align: right"]1.25[/TD]
[TD="align: right"]1.25[/TD]

[TD="align: center"]11[/TD]
[TD="align: right"]6.875821[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]7.25[/TD]

[TD="align: center"]12[/TD]
[TD="align: right"]3.840254[/TD]
[TD="align: right"]3.75[/TD]
[TD="align: right"]3.75[/TD]

[TD="align: center"]13[/TD]
[TD="align: right"]2.429647[/TD]
[TD="align: right"]2.5[/TD]
[TD="align: right"]2.5[/TD]

[TD="align: center"]14[/TD]
[TD="align: right"]8.051095[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]8.25[/TD]

[TD="align: center"]15[/TD]
[TD="align: right"]3.753301[/TD]
[TD="align: right"]3.75[/TD]
[TD="align: right"]3.75[/TD]

[TD="align: center"]16[/TD]
[TD="align: right"]6.324389[/TD]
[TD="align: right"]6.25[/TD]
[TD="align: right"]6.25[/TD]

[TD="align: center"]17[/TD]
[TD="align: right"]10.0269[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]10.25[/TD]

</tbody>
2

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]B2[/TH]
[TD="align: left"]=MROUND(A2,0.25)[/TD]
[/TR]
[TR]
[TH="width: 10, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]C2[/TH]
[TD="align: left"]=IF(MROUND(A2,0.25)=ROUND(A2,0),ROUND(A2,0)+0.25,MROUND(A2,0.25))[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

I will try this...
 
Upvote 0
Something like this?

Excel 2013/2016
ABC
ValueMround ResultMin 0.25 Result

<colgroup><col style="width: 25pxpx"><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]

[TD="align: center"]2[/TD]
[TD="align: right"]3.06028[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]3.25[/TD]

[TD="align: center"]3[/TD]
[TD="align: right"]6.871777[/TD]
[TD="align: right"]6.75[/TD]
[TD="align: right"]6.75[/TD]

[TD="align: center"]4[/TD]
[TD="align: right"]7.759659[/TD]
[TD="align: right"]7.75[/TD]
[TD="align: right"]7.75[/TD]

[TD="align: center"]5[/TD]
[TD="align: right"]3.54384[/TD]
[TD="align: right"]3.5[/TD]
[TD="align: right"]3.5[/TD]

[TD="align: center"]6[/TD]
[TD="align: right"]8.672333[/TD]
[TD="align: right"]8.75[/TD]
[TD="align: right"]8.75[/TD]

[TD="align: center"]7[/TD]
[TD="align: right"]7.34081[/TD]
[TD="align: right"]7.25[/TD]
[TD="align: right"]7.25[/TD]

[TD="align: center"]8[/TD]
[TD="align: right"]4.940666[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]5.25[/TD]

[TD="align: center"]9[/TD]
[TD="align: right"]9.664757[/TD]
[TD="align: right"]9.75[/TD]
[TD="align: right"]9.75[/TD]

[TD="align: center"]10[/TD]
[TD="align: right"]1.269969[/TD]
[TD="align: right"]1.25[/TD]
[TD="align: right"]1.25[/TD]

[TD="align: center"]11[/TD]
[TD="align: right"]6.875821[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]7.25[/TD]

[TD="align: center"]12[/TD]
[TD="align: right"]3.840254[/TD]
[TD="align: right"]3.75[/TD]
[TD="align: right"]3.75[/TD]

[TD="align: center"]13[/TD]
[TD="align: right"]2.429647[/TD]
[TD="align: right"]2.5[/TD]
[TD="align: right"]2.5[/TD]

[TD="align: center"]14[/TD]
[TD="align: right"]8.051095[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]8.25[/TD]

[TD="align: center"]15[/TD]
[TD="align: right"]3.753301[/TD]
[TD="align: right"]3.75[/TD]
[TD="align: right"]3.75[/TD]

[TD="align: center"]16[/TD]
[TD="align: right"]6.324389[/TD]
[TD="align: right"]6.25[/TD]
[TD="align: right"]6.25[/TD]

[TD="align: center"]17[/TD]
[TD="align: right"]10.0269[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]10.25[/TD]

</tbody>
2

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]B2[/TH]
[TD="align: left"]=MROUND(A2,0.25)[/TD]
[/TR]
[TR]
[TH="width: 10, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]C2[/TH]
[TD="align: left"]=IF(MROUND(A2,0.25)=ROUND(A2,0),ROUND(A2,0)+0.25,MROUND(A2,0.25))[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

Having trouble.
I don't know if it's because the cell I'm trying to round is pasted as a link from another worksheet or not.
Here's my formula...

=MROUND('C:\Users\jcarey\Desktop\Temp - Time Sheet\[00) 00.00.0000 - 00.00.0000_Hour Tracker.xlsx]Sheet1'!$Y$8,0.25)

What might I be doing wrong?
 
Upvote 0
Are you receiving an error? Is the formula returning any value? If so, what?
 
Upvote 0
It gave me a warning of circular formula at first, but then I hit "Okay" and I still got a value of "0".
 
Upvote 0
If you are getting a circular formula error, it probably means that you mistyped the cell address in your formula, and you used the cell address of the cell that you are placing the formula in!
The formula should be reference cells where data exists (not where you are putting this formula).
 
Upvote 0
If you are getting a circular formula error, it probably means that you mistyped the cell address in your formula, and you used the cell address of the cell that you are placing the formula in!
The formula should be reference cells where data exists (not where you are putting this formula).

I fixed referencing the cells of the original file.
Now I get "0.25" even if original cell value is "0".
 
Upvote 0
Now I get "0.25" even if original cell value is "0".
Isn't that what you asked for originally?
but I can't use a "0.00" value (I need min. 0.25) -- what can I do?

I am guessing that you have not communicated exactly what you want very clearly.
You may do better to provide us with a bunch of examples, and the results you would like to see.
 
Upvote 0

Forum statistics

Threads
1,223,240
Messages
6,170,951
Members
452,368
Latest member
jayp2104

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