Rounding To Nearest $0.95

jlsCreative

New Member
Joined
Mar 5, 2013
Messages
6
Hello all,

I don't know if this is even possible, but I have a cell that returns a certain value and sometimes it's very random. I need the cell to round to the nearest $0.95, but don't know if it's possible to do that. For example, a cell may return $39.64, but is there a way to force it to $39.95 without it going to $40.00? Any help would be appreciated.

Thanks,
Jason
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
=ROUND(A1,0)-0.05
That won't quite work for all entries. For example, 39.46 is closer to 39.95 than 38.95, but the formula will round it to 38.95.

You just need to modify your formula like this:
Code:
=ROUND(A1+0.05,0)-0.05
 
Upvote 0
Thanks! I modified it to ROUNDUP, which narrows the error margin a little more to the number closer to where I need it.
 
Upvote 0
Thanks! I modified it to ROUNDUP, which narrows the error margin a little more to the number closer to where I need it.
Note that will always round up, never round down. So values like 39.01 would round to 39.95, not 38.95.
Are you sure that is really what you are intending to do? That is not what you asked for in your original post.
I need the cell to round to the nearest $0.95
 
Upvote 0
I just need it to be as close as possible and if need be I can make an adjustment. As I was testing the sheet, it returned closer numbers with the ROUNDUP than it did with ROUND. Not saying yours was incorrect, but ROUNDUP just helps better with this sheet in terms of the end number I need.
 
Upvote 0
I just need it to be as close as possible and if need be I can make an adjustment. As I was testing the sheet, it returned closer numbers with the ROUNDUP than it did with ROUND. Not saying yours was incorrect, but ROUNDUP just helps better with this sheet in terms of the end number I need.
That doesn't make sense based on your original request (unless you didn't really present a clear picture of what you were trying to do).
If you look at my last post, I showed an example where ROUNDUP will produce the wrong results.

Can you post an example to show us what you are talking about, where ROUNDUP works better than the ROUND functions we provided?
 
Upvote 0
I'm working with a publishing company and they want $12.32 to round up to $12.95. ROUND would push it down to $11.95, as I just tested. I apologize if my original post conflicts with the final result, I am fairly new to Excel and just wanted to know how to round up and subtract five cents.
 
Upvote 0
OK. That's makes sense. It was the word "nearest" that threw us for a loop. "Nearest" implies that you can go down, but you always want it to only go up.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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