Caly
Board Regular
- Joined
- Jul 19, 2015
- Messages
- 160
- Office Version
- 365
- 2013
- 2011
- 2010
- 2007
- Platform
- Windows
Hello I have a range of numbers and need to make a formula where that larger number can easily be divisible by a whole number in order to then have the price be near $20. It can be above or below but as close as possible to $20.
I know I’m sure I can use Goal Seek however I need to have it be a formula to be applied to the range of number variations.
Example below
Values the largest number is where these need to be divisible down to a whole number that is lower
144
24
72
50
45
5
2
these each have different prices
Value. Price
144. 3.25
24. 0.80
72. 9.75
50. 4.33
45. 1.24
5. 8.76
2. 0.22
So for instance with the 144 value that has a price of 3.25, what is the nearest whole number the 144 can be broken down to to make the total value of that multiples by the price to be near $20? Like how many units are needed to be divided down using the 144 that would be a whole number to be close either above or slightly below $20 order value?
Also asked here Help with formula to be divisible by a whole number
I know I’m sure I can use Goal Seek however I need to have it be a formula to be applied to the range of number variations.
Example below
Values the largest number is where these need to be divisible down to a whole number that is lower
144
24
72
50
45
5
2
these each have different prices
Value. Price
144. 3.25
24. 0.80
72. 9.75
50. 4.33
45. 1.24
5. 8.76
2. 0.22
So for instance with the 144 value that has a price of 3.25, what is the nearest whole number the 144 can be broken down to to make the total value of that multiples by the price to be near $20? Like how many units are needed to be divided down using the 144 that would be a whole number to be close either above or slightly below $20 order value?
Price | Value | Divisible number from the Value column | Order Value | Notes/Details | Possible divisible number | Order value | Details | ||||||||
3.25 | 144 | '=B2/xxx | =C2*A2 | Need to divide 144 by a number that will be a whole number but that number needs to be the closest value that will be near $20. | =144/24 which comes to 6 | =6 *3.25 which comes to 19.50 | I did this manually but need a formula to copy down for all cells to do the calculation | ||||||||
0.8 | 24 | ||||||||||||||
9.75 | 72 | ||||||||||||||
4.33 | 50 | ||||||||||||||
1.24 | 45 | ||||||||||||||
8.76 | 5 | ||||||||||||||
0.22 | 2 | ||||||||||||||
Range for order value | |||||||||||||||
$20 | |||||||||||||||
Also asked here Help with formula to be divisible by a whole number
Last edited by a moderator: