Random Number Generator That Can Exclude Numbers

Austin2550

New Member
Joined
Sep 11, 2024
Messages
1
Office Version
  1. 2021
Platform
  1. Windows
Hi,

I am fairly new to Excel, and I am looking to create a random number generator that can exclude random numbers (these random numbers are not always the same.) I need to create this in sets, for example, A 1 through 12, B 1 through 12, and so on. Would it be possible to have the excluded numbers between 1 and 12 typed into a range of cells, and have the other numbers generated into a different range of cells?

Thank you!
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Hi,

I am fairly new to Excel, and I am looking to create a random number generator that can exclude random numbers (these random numbers are not always the same.) I need to create this in sets, for example, A 1 through 12, B 1 through 12, and so on. Would it be possible to have the excluded numbers between 1 and 12 typed into a range of cells, and have the other numbers generated into a different range of cells?

Thank you!
Hi,

I am fairly new to Excel, and I am looking to create a random number generator that can exclude random numbers (these random numbers are not always the same.) I need to create this in sets, for example, A 1 through 12, B 1 through 12, and so on. Would it be possible to have the excluded numbers between 1 and 12 typed into a range of cells, and have the other numbers generated into a different range of cells?

Thank you!
Are you able to use XL2BB to post an idea of what you have in mind looks like indicating any rules? XL2BB is on the editor ribbon.
 
Upvote 0
If you do not have to large intervals you can specify the numbers you want to see:
MrExcel_Random Number Generator That Can Exclude Numbers.xlsx
ABCDEFGH
1Input1121716
22342827
335639
4478410
55910511
661112612
77
88
99
1010
1111
1212
13Empty Row
14Output4111251116
153582926
1610386926
174326727
181111105826
19311122817
2010162927
Random Numbers
Cell Formulas
RangeFormula
B14:H20B14=INDEX(B$1:B$13,RANDBETWEEN(1,COUNT(B$1:B$13)))
 
Upvote 0

Forum statistics

Threads
1,224,811
Messages
6,181,080
Members
453,021
Latest member
Justyna P

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top