Round Problem Help Required

microhunt

Board Regular
Joined
Aug 14, 2017
Messages
63
Office Version
  1. 2021
Platform
  1. Windows
I am using the following formula
Code:
,=IF(OR(D6=""),"",+SUM(2.5*V6)/2.5)

I have formatted to one decimal point. So if the the number was 7.2, I would like to round to 7
Were if the number was 7.3 then I would like to round to 7.5.

Is there a way of modifying my formula to do this?

Appreciate any help?
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Welcome to the Board!

The formula is a bit strange, it is doing a bunch of things that aren't necessary:
- It is using "OR", but you only are checking one condition (so there is no reason to use it)
- You are using the SUM function when you aren't actually doing any summing
- You are multiplying and dividing the value in V6 by the same value, which cancels itself out.

So what you have written so far could be simplified to this:
Code:
=IF(D6="","",V6)

To round to the nearest half number, just use:
Code:
=IF(D6="","",MROUND(V6,0.5))
 
Upvote 0
Solution
Welcome to the Board!

The formula is a bit strange, it is doing a bunch of things that aren't necessary:
- It is using "OR", but you only are checking one condition (so there is no reason to use it)
- You are using the SUM function when you aren't actually doing any summing
- You are multiplying and dividing the value in V6 by the same value, which cancels itself out.

So what you have written so far could be simplified to this:
Code:
=IF(D6="","",V6)

To round to the nearest half number, just use:
Code:
=IF(D6="","",MROUND(V6,0.5))


Thank you for your reply?

This is the formula I am using now
Code:
=IF(OR(D5="",E5>3),"NONE",V5

Can you suggest modification for round formula?
 
Upvote 0
I think I got it, thanks
Code:
=IF(OR(D5="",E5>3),"NONE",MROUND(V5,0.5))
 
Last edited by a moderator:
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,631
Latest member
a_potato

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