# roundup / down

#### monkeyharris

##### Active Member
I have the below formula but need to also make it round up / down depending on the result.

example: if the result is between 15.51 & 16.49 i need it to round to the nearest round figure (16) but if between 16.50 and 17.49 i need it to round to 17.00 and so on.....

=IF(ISERROR(AA26/Z26),0,AA26/Z26)

### Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

#### texasalynn

##### Well-known Member
set your cell to 0 decimals, as that is the natural rounding in Excel

#### carsten

##### New Member
or if you want to go on with the rounded value for ongoing calculations use:

=IF(ISERROR(AA26/Z26),0,round(AA26/Z26,0))

#### Ranger32195

##### Board Regular
Try using =IF(ISERROR(AA26/Z26),0,ROUND(AA26/Z26,0))

Replies
10
Views
282
Replies
8
Views
69
Replies
3
Views
122
Replies
0
Views
161
Replies
1
Views
226

1,191,688
Messages
5,988,082
Members
440,124
Latest member
vincentchu2369

### 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.

### Which adblocker are you using?

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

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