round an answer

angelaSPTSA

New Member
Joined
Oct 27, 2022
Messages
4
Office Version
  1. 365
Platform
  1. Windows
hello, i am trying to get the answer to this equation to then be founded up or down per 500.
I have now =ROUND(IF(E3<=17700,0,E3-17700),2) E3 is 42000 the answer now is 24300 I want the answer to be 24000 similar if an answer was 24800 I would want it to show the answer to be 25000
what do I need to add?
 

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".
Hi & welcome to MrExcel.
You need to use MROUND rather than ROUND.
 
Upvote 0
Not quite, to round to the nearest 500 it would be
Excel Formula:
=MROUND(IF(E3<=17700,0,E3-17700),500)
or
Excel Formula:
=MROUND(MAX(0,E3-17700),500)
 
Upvote 0
Not quite, to round to the nearest 500 it would be
Excel Formula:
=MROUND(IF(E3<=17700,0,E3-17700),500)
or
Excel Formula:
=MROUND(MAX(0,E3-17700),500)
thank you! I am super green at this stuff and Im surprised I got this far with the equation. lol I actually need it to be to the 1000 so I put that in and its perfect! thank you so much.
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,294
Members
449,077
Latest member
Rkmenon

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