I have four numbers which must to be used to calculate number X. Calculated total number can NOT be equal to the X. It must always be higher than X.
For example:
Calculate using only these numbers: 1, 2.7, 9 and 18.
and X is 12.5.
So formula should look something likes this: 9 + 2.7 + 1 = 12.7. If X is 11, then 9 + 2.7 = 11.7. If X is 21, then 18 + 2.7 + 1 = 21.7 and so forth.
Remember the number X is not always the same number.
Formula should also return how many times number was used. For example if number 9 was used twice it should return 9 x2 or something similar. So later I can also calculate the final price.
Bookmarks