+ Reply to Thread
Results 1 to 5 of 5

Shuffle words to appear to be random

  1. #1
    Registered User
    Join Date
    02-07-2012
    Location
    LA
    MS-Off Ver
    Excel For Mac 2011
    Posts
    99

    Shuffle words to appear to be random

    Shuffle words to appear to be random

    Hi , I'm trying to make some data look a little more 'human' by shuffling around some words/phrases. Each cell will always contain 4 words/phrases. I'd like to shuffle them to make them look random. The comma needs to be the deliminator because sometimes the term might be a 2 or 3 words phrase or term (like 'dark forest green' for example). I figure the easiest way is to split each word/phrase into it's own column/cell, then reconstruct them using a varied formula to create the shuffle effect ? I'm very open to trying a macro if some genius out there knows one. I use macros but cannot write them, so figured I'd try a formula approach first. Example file attached and quick example below. Any ideas would be appreciated - THANK YOU


    Column A (given data): Column B (desired results):
    red, blue, green, yellow blue, red, yellow, green
    red, blue, green, yellow green, blue, red, yellow
    red, blue, green, yellow red, yellow, green, blue
    red, blue, green, yellow yellow, green, red, blue
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Shuffle words to appear to be random

    Use VBA ...
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-07-2012
    Location
    LA
    MS-Off Ver
    Excel For Mac 2011
    Posts
    99

    Re: Shuffle words to appear to be random

    Thanks Phuocam , but I installed a new module , added the VBA , but cannot run it.. (it does not appear when I go to TOOLS>MACROS) . How do I use it ?

  4. #4
    Registered User
    Join Date
    07-08-2016
    Location
    USA
    MS-Off Ver
    Office 365, Office 2016 for PC & Mac, Office 2013, Office 2011 Mac
    Posts
    80

    Re: Shuffle words to appear to be random

    This formula option may work for you.

    Please Login or Register  to view this content.
    *$B$2:$B$5 this is your desired result cells that are put into a single array and it chooses the permutation based on a random number.

  5. #5
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Shuffle words to appear to be random

    Quote Originally Posted by syncguy View Post
    Thanks Phuocam , but I installed a new module , added the VBA , but cannot run it.. (it does not appear when I go to TOOLS>MACROS) . How do I use it ?
    Use:

    =RandText(A2)
    Last edited by Phuocam; 07-10-2016 at 06:23 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. How do I do a random excel sort or shuffle
    By Terressa in forum Excel General
    Replies: 1
    Last Post: 07-24-2015, 08:27 AM
  2. New to VBA, Shuffle Words
    By SteelMessiah in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-23-2013, 04:32 PM
  3. Excel 2007 : How to shuffle words in a row?
    By emil9216 in forum Excel General
    Replies: 9
    Last Post: 10-24-2011, 02:16 PM
  4. Random shuffle cell values
    By rnd37 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-15-2009, 06:22 PM
  5. Random cards, shuffle and reveal help
    By dude846 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-14-2009, 03:02 PM
  6. Random sort/shuffle in Excel
    By WizGirl in forum Excel General
    Replies: 1
    Last Post: 06-27-2006, 10:25 PM
  7. Formula for random shuffle between a range (example) b4,b78
    By m spangler in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-09-2005, 03:06 PM

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