Round result to a specific ending number

Annoyed2024

New Member
Joined
Jun 22, 2024
Messages
1
Office Version
  1. 2019
  2. 2016
I'm setting up a spreadsheet to make price tags. I will have one cell where I input a number (and for my question I'll call it cell A2). I will have two other cells that will calculate a figure based on the input number in A2. The hiccup is that I want the result to round to a specific ending number with each result. So for example I put 200 in A2. The result would be 242.68 but I would want the result to round up to a whole number ending in 4. in this case it would round up to 244. If I entered 435, in cell A2, the result would be 637.25 so I would want it to round to 644. Is there a way to do this with a formula?
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
If the value you want to round to is in cell A1 (say A1 = 4), then you can round the value in A2 to multiples of the value in A1 like this:
=ROUND(A2/A1,0)*A1
 
Upvote 0
The two formulas have different results, which formula do you choose?:

Book1
ABC
1Tetra201Phuocam
2242.68244244
3637.25644644
4101104104
5104.01114104
Sheet1
Cell Formulas
RangeFormula
B2:B5B2=ROUNDUP(A2+6,-1)-6
C2:C5C2=ROUND(A2,-1)+4
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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