We are trying to find the correct formula to round number to the nearest even number. In the attached example, 0.105 should round to 0.10 since the zero to the left of the five is even. If the problem was 0.115 then the answer would be 0.12 since the one to the left of the zero is odd.
I was using the "round" functionin VBA and realized that it does not work, because it uses the "Bankers" method of rounding, whereas I want the "Arithmatic" rounding, I looked through the web and went to:
http://support.microsoft.com/kb/196652
But the problem is the function is not working.
HTML Function AsymArith(ByVal X As Double, _ Optional ByVal Factor As Double = 1) As Double AsymArith = Int(X * Factor + 0.5) / Factor End Function
I put in AsymArith(8010.095,2) and it gives me 8011.
I have an overtime spreadsheet where I calculate how mush I'm paying on vouchers, as they only come in lots to £5.00 I want to round the figure to the nearset £5.00, doesn't really matter if I overpay as it will even out next time, what's a basic forumula to work this out?
I guess I have an odd rounding up query. I want to know if its possible to make excel round up a number to the nearest number from within a list of numbers.
For instance my list could be
10 12 15 17 19 22 25 30 35 42
The numbers arent odds or evens or multiples of anything so I'm guessing there won't be an inbuilt function to do this but is there anyway I could get to the answer in a more round about way with helper calculations??
For this example, A1 is the given at 19.875 I am trying to get A2 to net a result of 19.5. A2 is to net that result by searching through cells B1:B14 and finding the nearest equal or lower number. If A1 is less than 13.5 a result of "error" should be generated in A2.
I have a cell that is going to be used for the quantity of a certain item. I would like to dummy proof this sheet as much as possible so that if someone puts in 21.5, that it will do something like change the value to either 21 or 22, since there can't really be a .5 of this item.
I have excel 2003. I'm working on a weight lifting program and need to have cells round to the nearest 0 or 5. My problem is that the cells I need to round already have a formula in them and I can't get the cell to round the answer of the formula.
D17=U4*.6
I need the answer to be rounded to the nearest 0 or 5.
I wish to apply a rounding rule that will correctly round up or down to the nearest 5 or 0.
I tried using ceiling and floor and am almost there, but not quite.
Rule is to round up or down to nearest 5 or 0
originalplancfcheckroundedrulewill use 634should be 630635630f634 634.4should be 630635630f6343f 634.5should be 635635630c6352c 634.6should be 635635630c6352c 635should be 635635635c Or f6351f 635.1should be 635640635f6351f 635.5should be 640640635c6364c ...............
I have downloaded a punch in time clock from another user " Alex17", great job by the way. I was wondering on how to apply some certain rules this. I would need the times to round to the nearest quarter. Let's say someone punched in @8:01AM or any time up to 8:07AM, I would need it to round to 8:00AM, if they punched in from 8:08AM up to anytime to 8:14Am, I would need that to round to 8:15AM or if someone punched in @ 8:23AM it would round to 8:30AM....etc. I attached the form.
I need these rules to apply
7:00 - 7:07 round down to 7 7:08 - 7:15 round up to 7:15 7:16 - 7:22 round down to 7:15 7:23 - 7:30 round up to 7:30 7:31 - 7:37 round down to 7:30 7:38 - 7:45 round up to 7:45 7:46 - 7:52 round down to 7:45 7:53 - 8:00 round up to 8
or if this makes more sense
7:00 - 7:07 round down to 7 7:08 - 7:15 round up to 7.25 7:16 - 7:22 round down to 7.25 7:23 - 7:30 round up to 7.5 7:31 - 7:37 round down to 7.5 7:38 - 7:45 round up to 7.75 7:46 - 7:52 round down to 7.75 7:53 - 8:00 round up to 8
I write up job cards that require measurements in fraction form. Usually whenever i want to round off a figure , say 10/16, to 5/8, i right click on the figure and format cell it. However, this can be quite time consuming if there are multiple cells and are of a different breakdown.
What i would like to know if there's a shortcut way where when the 10/16 is in the cell, it automatically rounds off to the nearest fraction.
In cell A1, I might have the following numbers: 1, 5, 10, 50, 100. In cell B1, I will have an unknown number In cell C1, I want to round the number in B1 using the information given in A1.
For example: A1 = 1 B1 = 153.45 C1 should be 153 C1 = round(B1,0)
A1 = 5 B1 = 153.45 C1 should be 155 C1 = round(B1,0) +/- 5 (depending on the situation)
A1 = 10 B1 = 153.45 C1 should be 150 C1 = round(B1,-1)
A1 = 50 B1 = 153.45 C1 should be 150 C1 = round(B1,-1) +/- 50 (depending on the situation)
Is there a quick of doing this using VB? I can do a bunch of if then statements... but was wondering if there's an easier way.
I was looking at the other posts and this should work. Why the bleep can't I get the MROUND function to work. Simple scenario...I need to round UP numbers to the nearest 50. 320 should bring back 350, 351 should bring back 400. For example, if this is in cell A1, I think the formula should be =MROUND(A1,50). Yet everytime I use the function, it gives me NAME#.
Below is my current formula. Right now I have it rounding the results to the nearest .09. I would also like to have it round to the nearest .05 as well.
In other words, to be more exact: I need all numbers that end in 0 or 1 to be rounded down to 9; any numbers that end in 7 or 8 to be rounded up to 9; any numbers that end in 2, 3, or 4 to be rounded up to 5; and 6 to be rounded down to 5. And, of course any numbers ending in 5 or 9 shouldn't change.
I am looking for a formula which will allow a value to round up or down to the nearest x.99 if the value is greater than x.95 or less x.05 otherwise remain the same. i.e if the value is 0.96 it should read 0.99 and if the value is 1.04 it should read 0.99. however if the value 1.05 it should read 1.05.
I'm trying to round some figures UP to the nearest .5, However i only know this formula: =MROUND(P2,0.5) and that rounds to the nearest .5? Is there anything i can use instead to make sure it is always up not down. so 6.13 becomes 6.50 or 7.53 become 8.00? etc.
Need best method to round the value up or down to the nearest 5¢. I have to do this to upgrade my budgetting spreadsheet's shopping list due to our government discarding the 1¢ and 2¢ coins
I must admit I really don't even know how to round only the cents of the value which is all I really all I want to do I spose, isn't it
I don't really understant the MSexcel's ROUND function instructions and can only round the integer not the ?float? part Can you help MrEXCEL
EG: RoundedOK.??¢ where all I want to round is the .