Rounding Up By A Factor

May 22, 2007

I am having a problem getting a number to round correctly in Excel. I know I can use =ROUNDUP(x,x) to get it to the nearest whole number but I also need the rounded number to be a factor of another number like you would use in =MROUND(x,x). The problem is the MROUND function also rounds down. As an example if I have the number 12.5 and I want this to be rounded up by a factor or 4 I would get 16.

View 8 Replies


ADVERTISEMENT

Banker's Rounding Or Scientific Rounding

Jul 9, 2008

I am trying to round similar to Banker's Rounding or Scientific Rounding but I can't find a consistent formula that works perfect with decimals.

Using three decimal places for all the samples, I can get 0.0785 to round to 0.078 but 0.1785 wants to round to 0.179 instead of staying 0.078. Or 0.0005 will round to 0 but 0.5115 wants to round to 0.511 instead of 0.512.

Here is a list of sample numbers along with desired results:
.0785 should be .078
.5115 should be .512
.5035 should be .504
.0005 should be 0
.0025 should be .002
.0194 should be .019
.0195 should be .02
.0135 should be .014
.0115 should be .012
.8115 should be .812

I cannot find a formula which gives me all of these results. Here is a list of the formulas I have tried so far (NOTE: cell A2 is the working cell in my worksheet where I enter the number to be rounded)

1) =MROUND(A2,0.001)

3) =ROUND(A2,3)

4) =IF(ISERROR(IF(MOD(MID(A2,4,1),2)=1,CEILING(A2,0.001),FLOOR(A2,0.001))),0,IF(MOD(MID(A2,4,1),2)=1,CEILING(A2,0.001),FLOO R(A2,0.001)))

5) =EVEN(A2)

6) =ROUNDUP(A2,3)

7) =ROUNDDOWN(A2,3)

View 9 Replies View Related

Nested If Factor

Apr 17, 2007

I have the task of creating a spreadsheet that will track and give point value to our sales reps' daily accessory sales. The following is the point value criteria for dollars:

Sell over $30 - 1 point daily
Sell over $100 - 2 points daily
Sell over $150 - 3 points daily
Sell over $300 - 5 points daily
Sell over $500 - 6 points daily
Sell over $1,000 - 7 points daily

Each cell will have a different dollar value in it. I've tried so many different ways to do this IF factor that I have confused myself and spun in circles. Can anyone help me with this? I am about ready to pull out my hair, and really don't want to have to go in and manually do this daily for 30 reps.

View 5 Replies View Related

Copy Values Down By Given Factor

Feb 3, 2014

See attached file. I am looking for a macro which can copy/paste down a value (column A) by a given factor (column B). The result should be a list of all values (column C). The amount of values and factors is unknown (the attached example ends at row 5).

copy.xlsb‎

View 4 Replies View Related

Formula For Present Value Factor

May 22, 2007

Which formula should I use to look for the present value factor if I have the interest rate and the # of periods. attached file.

View 9 Replies View Related

Smallest Prime Factor Of A Number

Apr 14, 2009

Is there any formula witch i can use to find the smallest prime factor of a number?

Example: In A1 i write 30 (30=2*3*5 (the prime factors))

in B1 i write a formula, and the result will be 2 (smallest prime factor)

What is the formula?

View 7 Replies View Related

Returning Nth Factor Of Number Via Formula?

Oct 15, 2013

Is there a way of returning the nth factor of a number via a formula?

That is to say, if I have 10, its divisors are 1, 2, 5 and 10, and if I wanted to return the second factor, it would be 2.

View 9 Replies View Related

Multi Factor Weighting To Delta

Feb 16, 2008

I have two factors that both change, resulting in two unique values. I'm trying to determine which portion of the resulting delta is attributable to each factor. Example:

Hourly Cost Run Rate Piece Cost (Hourly Cost / Run Rate)
$105.00 4,500 $0.0233
$126.10 3,000 $0.0420

Two unique results titled Piece Cost = Delta
$0.0420 - $0.0233 = $0.0187

How much of the $0.0187 is attributable to the change in Hourly Cost and how much of the $0.0187 is attributable to the change in Run Rate?

View 9 Replies View Related

How To Sum Values Each One Multiplied By A Factor Obtained Using Lookup

Jul 15, 2014

I got a list of products and a price list. How to obtain a total for a given subset of products using a formula? Kind of sumif multiplied by a vlookup...

View 4 Replies View Related

Randomly Group N Elements (where N Is Factor Of 7) Into Groups Of 7

Oct 7, 2013

I want to group N elements which is a factor of 7 into groups of 3 randomly. For example, I have 21 elements:

ZSW
PMH
NYV
JTX
DEF
CRK
AOI

I want to group them into 6 more sets. Now, all in all 7 sets. Group them into other sets without the element repeating in the row it has occupied before. For example, for letter P. "P" has occupied row 2 in set 1, it cannot occupy row 2 anymore in other sets. Therefore, each element must have occupied row 1-7 in all the sets.

See attached excel file for the example output : grouping7-final.xlsx‎

View 14 Replies View Related

Calculating Adjusted Factor Based On Variable Values

Feb 7, 2014

Here is a table with values from Factor1 to Factor 5. Underneath that, for a specific index, I can mark Y or N for factor values. For instance, for index 1, Factor1 and 2 is marked as Y. The goal is to calculate total factor based on variable and factor values. In this case, variable value is 6, factor 1 =1 and factor 2=1.25). So Total factor = 6*1.25*1.5 = 11.25. If all factor values are marked as N, then total factor = variable value (Example is for Index 3)

How this can be implemented. I tried using COUNT function to count the total number of Y but that works only if all factors have same values.

Table_factors.jpg

View 4 Replies View Related

Conditionally Importing Data From One Of Several Different Worksheets Based On 1 Factor?

May 22, 2014

I am currently working on a spreadsheet that records data from 11 different locations, with each location having it's own page within the workbook.

All of the pages are identical in terms of how the data is stored, the only difference is literally the name of each page (i.e. the location).

What I would like is to have a master page that then pulls through the relevant data, dependent on which location I choose from a drop down list on this page. As each individual page is identical in terms of lay-out, one formula will work for each page, with the only obvious exception is the page reference embedded in the formula. I know how to do a standard lookup for various figures, but I can't figure out a formula that would work with 11 different options... Is there any way to accomplish this?

View 1 Replies View Related

Excel 2010 :: Sumproduct - Calculating Dollar Weighting With One Isolation Factor

Apr 30, 2013

Using excel 2010: I am calculating a dollar weighting with one isolation factor, the state where the sale took place. My current formula is below. Each dollar amount in AG3:AG2000 has a corresponding weighting in AB3:AB2000. The results are isolated by the corresponding state in the range E3:E2000.

I want to add in an additional isolation, the month when the sale took place. The months are located in H3:H2000. Where in my current formula would I insert the isolation for the month?

=SUMPRODUCT(--(Sales!$E$3:$E$2000='2013 NB'!S8),
Sales!$AG$3:$AG$2000,Sales!$AB$3:$AB$2000)/
SUMIF(Sales!$E$3:$E$2000,'2013 NB'!S8,Sales!$AG$3:$AG$2000)

View 9 Replies View Related

Add This Number To The Start Time, Factor In Break Minutes And Get To The Projected Completion Time

Mar 3, 2009

I am trying to provide a tool for department leaders to monitor productivity for order processing in their departments. The variables I have are: Number of orders(variable), number of pickers (variable), start time(variable). Then, I know each order takes 1 picker 4 minutes to pick on average, and there are 45 minutes worth of breaks during the picking process. So after entering the variables I used =(((C3*4)/60)/D3) to come up with the time needed to process the orders. What I can't get to is how to add this number to the start time, factor in break minutes and get to the projected completion time. I have Excel 2003 at work. Clearly I need to take a class!

View 4 Replies View Related

Rounding Up Using VBA

Jul 23, 2009

What is the code to round up a range of numbers at certain decimal.

View 14 Replies View Related

Rounding Up

Jan 30, 2008

I have a sheet that i use for doing quotes for sound systems. i have a qty and price column that i input and then a column which gives me the overall total. ie qty 2 x unit amount 160.00 = 320.00 i also have a discount column that i use and a column that gives them the final price after discounts. so i will put 22% into my discount column and get 249.60 as my final price for the 2 items after the discount.

what i am wanting to do is "round up or down to the nearest 5.00 mark. so for instance, the final price in this case would be 250.00 is this possible?

View 9 Replies View Related

Rounding Down

May 23, 2009

I have a worksheet (Sheet1) that gets information from other sheets (1)

So in cell D7 I have the function ='1'!K33

K33 is from the Sheet labeled (1) obviously. Now the problem I am having is if the number 20.6, it automatically rounds up to 21. I need to number to round down to 20 regardless if its 20.1, or 20.9.

Since I already have a formula in D7, how do I still get the information from the other sheet but have the number round down for me. Is it possible?

View 11 Replies View Related

Sum + Rounding

Jan 7, 2010

Am currently calculating the total number of cartons used for different items with this formula:

=SUM(F99/352)+(H99/135)+(J99/110)+(L99/60)+(N99/28)

The divisors are the number of items in a carton.

Would like to round up each of the 5 subtotals in the above formula to the next full number, so that the total will be the sum of full numbers.

What would be the correct formula?

View 4 Replies View Related

Rounding The Value

Apr 21, 2008

Cell "CostPerEvent" has the value .298896, and when I run the following statement I expect that A2 will contain the same value .298896, yet it is entered into the cell as .3

Cells(1, 2).Value = Range("CostPerEvent").Value
Is there some kind of implicit rounding going on? I rewrote the code to:

Cells(1, 2).Value = CDbl(Range("CostPerEvent").Value)
But I am curious whether this behavior is documented...

View 9 Replies View Related

Rounding

Jan 16, 2007

I have written a macro which includes a number of calculations. This has resulted in a value with a number of decimal places. I want this value rounded to 1 decimal place and this value written to a cell. How can i round this value correctly.

View 4 Replies View Related

Rounding To Numbers

Jul 16, 2007

How can I make excel display 321.165 as 321.16 when I have the cell format set to number and 2 decimal places instead of rounding it up to 321.17?

View 11 Replies View Related

32nd Rounding

Jun 24, 2008

custom number format.

The numbers in the worksheet read like this: 114'31.5
The number behind the hyphen are not to exceed 32, after 32 they become a full point (115'00.0).

View 12 Replies View Related

To Change The Rounding Of 0.5 To Up Not Down

Jan 9, 2009

I have been trying for ages to get a formula where any number prefixing .5 automatically rounds up and not down as the excel standard does.

16.4999999 does show with no decimal places as 16.
16.5 does show with no decimal place as 16. But I want it to round up to 17.
and obviously 16.50000001 does indeed round to 17 anyway.

Its purley numbers that have .5 I need to go up and not down.

View 5 Replies View Related

Rounding Down: £92.00 To Show As £91.99

May 22, 2009

In one cell i have £92.00 to 2 decimal places. If i increase that to 4 decimal places it is £91.9998. I need this £92.00 to show as £91.99 (only as 2 decimal places not 4)but when i go back to 2 decimal places it shows as £92.00 again.

View 2 Replies View Related

Rounding To A Particular Weekday

Nov 11, 2009

looking for for some help on a fairly simple problem: i've attached a worksheet, and in column B (Due to Supply Chain) i'd like to insert a formula that will subtract 21 days from the date in column Z (Pub Date), and then round that date to the nearest wednesday. is this possible?

fyi: the dates in column Z are in a yyyy-mm-dd format; they don't have to remain that way.

View 6 Replies View Related

CSV Number Rounding

Oct 25, 2009

I have a section of code that build a single sheet workbook that incudes names and phone numbers to upload in to a web site.

The numbers are in internation format eg 4412345678987

The code works fine but when it saves as a CSV Delimited it round the numbers up so they end up 4412346000000.

View 9 Replies View Related

Forumla For Rounding Up And Down

Apr 25, 2007

I need a formula showing that if a number is less than say 1.25 then it rounds down to 1.0 and if its between 1.25 and 1.75 then it rounds to 1.5 and then if greater than 1.75 then it rounds up to 2. I need it to work for all numbers not just 1.

View 10 Replies View Related

Rounding $ Within An IF Function

Nov 21, 2008

I am trying to write a formula that will round numbers to $.05, $1, $5, and $10. The formula needs to be written in a way that If c75 <100 round to $.05, if c75 is greater than $101 but less than $500, round to $1, if c75 is greater than $501 but less than $1,000, round to $5, and if c75 is greater than $1,001, round to $10.

=IF(C75<100,ROUND(C75*20,0)/20)

but i can't quite figure out how to get the rest of it to work.

View 4 Replies View Related

Rounding With Three Options

Nov 26, 2008

numbers in one column need to be rounded to the nearest half decimal, with next conditions(ill took number 704,00 for example):
- if last two decimals are < 0,25 then my number has to be 704.00
- if last two decimals are >0,25<0,75 then my number has to be 704.50
- and finally if last two decimals are >0,75 then my number has to be 705.00

I tried with IF, CEILING, INT and ROUND functions but i didn't made it work with three options, that i need. I only made it work if i use only two options.

View 5 Replies View Related

Time Now & Rounding Up

Mar 16, 2009

I have a spreadsheet which has a daily schedule. It goes from 8am to 9pm in 15 minute slots.

I am looking to do a Time Bar. Using Conditional Formatting I was wanting to know if the time now can be rounded up or down in any way

Example, As I write this the time is 15:37 I have this in a cell F4

In row8 Cells C to BC I have the time in 15min slots like 08:00 08:15 08:30 and so on. What I was thinking was could I round the time from 15:37 down to 15:30 so I can use a Conditional Format to trak the time in my schedule?

Or is there an alternate way?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved