+ Reply to Thread
Results 1 to 2 of 2

Exclusion of previous cells' values (not fixed) for random numbers (without duplicate)

  1. #1
    Registered User
    Join Date
    02-25-2021
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    1

    Exclusion of previous cells' values (not fixed) for random numbers (without duplicate)

    Hi,

    I have 3 cells of the following excel formulas i.e.

    1. Cell A1: RANDBETWEEN(1,10);
    2. Cell B1: RANDBETWEEN(7,20);
    3. Cell C1: RANDBETWEEN(5,30);

    If Cell A1 gives 8, I would like Cell B1 and C1 to exclude this value from random assignment.
    Similarly if Cell A1 gives 8 and Cell B1 gives 10, I would like Cell C1 to exclude these 2 values from random assignment.

    How should I revise the formulae for Cell B1 and Cell C1 to reflect the above statements?

    Greatly appreciate if anyone would be able to advise.

    Best Regards,
    Roamzy
    Last edited by roamzy; 02-25-2021 at 10:03 PM.

  2. #2
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Exclusion of previous cells' values (not fixed) for random numbers (without duplicate)

    try this array formulas
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Or
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by BMV; 02-27-2021 at 07:14 AM.

+ 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. Incrementing numbers based on previous values and text values of a previous cell
    By mauricewsylvester in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-08-2021, 12:34 PM
  2. Generating random numbers to obtain a fixed sum in column
    By fatoom91 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-22-2020, 01:59 PM
  3. [SOLVED] Random numbers from specific range with fixed sum in Excel
    By mr.ibrism in forum Excel General
    Replies: 2
    Last Post: 11-30-2017, 05:19 PM
  4. Replies: 2
    Last Post: 11-29-2016, 10:21 AM
  5. [SOLVED] random numbers with mean and stdev fixed
    By yamboe in forum Excel General
    Replies: 2
    Last Post: 11-26-2015, 01:29 PM
  6. Replies: 13
    Last Post: 10-08-2014, 08:35 AM
  7. Fixed Random Numbers
    By ameyjohn in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-21-2005, 10:13 AM

Tags for this Thread

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