# Using the ROUND function

#### paulstan

##### Board Regular
Hi

I am trying to round numbers and, in the whole have been successful.

Examples:
7.20 rounds to 7
7.58 rounds to 8
9.14 rounds to 9
1.78 rounds to 2

which is exactly what I want. I need to round up or down dependent on the decimals being lower/greater than 0.50

However, I seem to have a problem with just one permutation, that being if the number is less than 0.50 - this rounds down to 0, but I would need this number to round to 1. I can't use ROUNDUP as this would affect everything else. Is there anything I can add to the function to ensure that if the number is less than 0.50 it rounds up to 1?

Many thanks for taking the time to read this.

Regards

Paul

### Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

#### Gerald Higgins

##### Well-known Member
Well you could use something like this

=if(A1<.5,1,round(a1,0))

#### paulstan

##### Board Regular
Well you could use something like this

=if(A1<.5,1,round(a1,0))

Gerald,

At first glance that looks about what I'm looking for. Will try it out tomorrow (workbook at work), so I will thank you in advance for your help.

Regards

Paul

Replies
3
Views
1K
Replies
2
Views
220
Replies
6
Views
2K
Replies
3
Views
375
Replies
7
Views
1K

1,191,587
Messages
5,987,506
Members
440,098
Latest member
MickyMouse123

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