+ Reply to Thread
Results 1 to 2 of 2

Random Number Generator with no repeats

  1. #1
    Registered User
    Join Date
    04-21-2021
    Location
    Australia
    MS-Off Ver
    Excel
    Posts
    1

    Exclamation Random Number Generator with no repeats

    Hi could you please look at my excel document. I am trying to generate a 4 digit number with no repeats. The first digit also cant be 0. I've wrote a formula for the first 3 digits but I don't know how to do the last digit. Could you please help. I tried putting another IF statement but it comes up with "too many arguements". The formula I tried was =SMALL(IF(A2={0;1;2;3;4;5;6;7;8;9},"",IF(B2={0;1;2;3;4;5;6;7;8;9},"",IF({0;1;2;3;4;5;6;7;8;9},"",{0;1;2;3;4;5;6;7;8;9}))),RANDBETWEEN(1,7))
    Attached Files Attached Files
    Last edited by CittleLunt; 04-21-2021 at 10:33 AM.

  2. #2
    Forum Contributor
    Join Date
    01-25-2013
    Location
    near Philly, PA USA
    MS-Off Ver
    Excel 2019
    Posts
    178

    Re: Random Number Generator with no repeats

    Drag the formula from f into g.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Random Number Generator
    By Amy Lloyd in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 11-28-2020, 01:41 PM
  2. [SOLVED] Random generator to pick cell (Year), but with no repeats
    By tsdpurdue in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-07-2018, 06:02 PM
  3. [SOLVED] Random Number with No Repeats
    By Hannah122392 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-11-2016, 01:56 PM
  4. Random number generation across multiple ros/columns without repeats
    By Zodeeak in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-27-2014, 03:15 PM
  5. Replies: 5
    Last Post: 06-21-2013, 10:40 AM
  6. Random Number generator
    By sajeel in forum Excel General
    Replies: 1
    Last Post: 12-14-2011, 03:49 PM
  7. Excel 2007 : Random number generator without repeats
    By HRJames in forum Excel General
    Replies: 4
    Last Post: 03-24-2011, 11:37 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1