# Randbetween with steps

#### rline101

##### Board Regular
Is there any way to get a formula to return randomly chosen values from the set 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000 by using randbetween?

Or if not some other way?

Thanks

### Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
=INT(RANDBETWEEN(1,9))*1000

Do you mean like this?:
Code:
``=CHOOSE(RANDBETWEEN(1,9),1000,2000,3000,4000,5000,6000,7000,8000,9000)``

Or even possiblyL
Code:
``=CEILING(RANDBETWEEN(0,9000),1000)``

All three work fine. But the first reply is the simplest and so obviously elegant. Thanks heaps for such quick replies. Next post I'll try make it more difficult for you

Replies
17
Views
856
Replies
4
Views
217
Replies
0
Views
213
Replies
7
Views
222
Replies
9
Views
247

1,217,328
Messages
6,135,912
Members
449,971
Latest member
Hughesy52

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