+ Reply to Thread
Results 1 to 3 of 3

Random Choose Cell of a Row

Hybrid View

  1. #1
    Registered User
    Join Date
    10-18-2015
    Location
    London
    MS-Off Ver
    2016
    Posts
    2

    Random Choose Cell of a Row

    Hi everyone,

    Is it possible to have excel to fill in 3 randomly chosen cells from 5 cells of a row with the word "Prize" and the remaining 2 with "Try Again"?

    Thanks.
    Last edited by hello_hello; 10-18-2015 at 04:09 AM.

  2. #2
    Valued Forum Contributor Sadath31's Avatar
    Join Date
    03-02-2011
    Location
    Dammam, Saudi Arabia
    MS-Off Ver
    Office 365
    Posts
    452

    Re: Random Choose Cell of a Row

    Hi

    First Three Cells =IF(ISEVEN(RAND()*10),"Prize","Try Again")
    4th cell =IF(COUNTIF(C1:C3,"Prize")<3,"Prize","Try Again")
    5th cell =IF(COUNTIF(C1:C4,"Prize")<3,"Prize","Try Again")

  3. #3
    Registered User
    Join Date
    10-18-2015
    Location
    London
    MS-Off Ver
    2016
    Posts
    2

    Re: Random Choose Cell of a Row

    Quote Originally Posted by Sadath31 View Post
    Hi
    First Three Cells =IF(ISEVEN(RAND()*10),"Prize","Try Again")
    4th cell =IF(COUNTIF(C1:C3,"Prize")<3,"Prize","Try Again")
    5th cell =IF(COUNTIF(C1:C4,"Prize")<3,"Prize","Try Again")
    Thank you so much, I got the idea, instead of making all of them random, few different formulae will ensure the number of "Prize".

+ 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. [SOLVED] Choose random number between given values
    By Hitch75 in forum Excel General
    Replies: 3
    Last Post: 07-02-2015, 06:27 AM
  2. How to choose random sample in dataset with
    By LinnEspensen in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-14-2014, 10:51 AM
  3. Choose Random Cell From Range Value Unless Equals 0
    By Hellfromabove in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-03-2014, 09:09 PM
  4. [SOLVED] If row contains 1(s) then choose random column title
    By sniglet in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-10-2013, 01:09 PM
  5. Choose 4 Random Numbers if they are not textbox1 or textbox2
    By blitz74 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-03-2012, 02:41 AM
  6. Choose Random Value Based On List
    By kblaine in forum Excel General
    Replies: 5
    Last Post: 04-20-2011, 02:41 PM
  7. how to choose random namber form loop?
    By pm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-03-2006, 04:15 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