+ Reply to Thread
Results 1 to 9 of 9

Random names without any duplicates

  1. #1
    Registered User
    Join Date
    10-07-2012
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2010
    Posts
    6

    Random names without any duplicates

    Hi,
    I am trying to create a random list of text.
    Created a list with text1 - text60 in colum B. From here populating column E, with a random list of text. Problem is:
    1. I keep getting duplicated text. How can I solve this issue.
    2. Need to do a daily history dump every time the text in column E is refreshed (once a day) - data in column E to be copied to worksheet history dump. But the data being volatile due to the random numbers in the formula, I need to capture the data and dump / copied to worksheet history dump worksheet with the date stamp.
    Sample worksheet attached.
    Hope someone can help...
    Attached Files Attached Files

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Random names without any duplicates

    The attached spreadsheet addresses the first issue. That is the formulas draw out a random sample of 20 items without duplicates.
    Attached Files Attached Files
    Gary's Student

  3. #3
    Registered User
    Join Date
    10-07-2012
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Random names without any duplicates

    Jakobshavn,
    Thank you for the support!

  4. #4
    Registered User
    Join Date
    10-07-2012
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Random names without any duplicates

    Anybody have a solution for the 2'nd issue? Also found another problem with the attached random text...if there is blanks in the text list(column B, I want to ignore the blanks. If the particular cells will be filled by a text value again, should be included again and not ignored anymore.
    Anyone have a solution for this?
    Attached Files Attached Files

  5. #5
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Random names without any duplicates

    Is the data entered every day or only weekdays?

  6. #6
    Registered User
    Join Date
    10-07-2012
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Random names without any duplicates

    Data entry will only be weekly.

  7. #7
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Random names without any duplicates

    Attached is a macro-enabled version of the workbook. Calculate the Random sheet and then push the button to save the result in the log under the appropriate date.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    10-07-2012
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Random names without any duplicates

    Works perfectly! Thanks Jakobshavn - appreciate the help.

  9. #9
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Random names without any duplicates

    Thanks for the feedback.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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