# Generate numbers that between 80% and 120% of fraction data

#### jimihop

##### New Member
I have a database that has monthly results for several different entities that are fractions (.55.56%). I want to generate some additional monthly results that are say between 80% and 120% of the existing numbers. I have 3 months of data and I want to expand it so I have 12 months to make the DB larger so I can use it as an example. I tried using Rand and RandBetween but I'm not getting what I want. I'm sure I am making some obvious mistake.

Thanks,

Jim

### Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Suppose you want 80%-120% from .55% you need to multiply to whole numbers and divide the result, like

Code:
``=ROUND(RANDBETWEEN(8000*.55%,12000*.55%)/10000,4)``

I have a database that has monthly results for several different entities that are fractions (.55.56%). I want to generate some additional monthly results that are say between 80% and 120% of the existing numbers. I have 3 months of data and I want to expand it so I have 12 months to make the DB larger so I can use it as an example. I tried using Rand and RandBetween but I'm not getting what I want. I'm sure I am making some obvious mistake.
It would have helped if you gave some starting numbers and possible results so we could see how you wanted the fractions handled. Anyway, here is my guess at what you want (your fractional percent is assumed to be in cell A1)...

=10*A1*RANDBETWEEN(8,12)

Replies
4
Views
449
Replies
4
Views
266
Replies
8
Views
132
Replies
6
Views
328
Replies
11
Views
795

1,196,073
Messages
6,013,273
Members
441,759
Latest member
ab_

### 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.

### Which adblocker are you using?

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

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