+ Reply to Thread
Results 1 to 4 of 4

Name Randomizer Without Returning Blank Cells

  1. #1
    Registered User
    Join Date
    12-01-2014
    Location
    Oregon
    MS-Off Ver
    2007
    Posts
    2

    Name Randomizer Without Returning Blank Cells

    Hello, I have a formula I just can't get quite right. I created a name randomizer to generate a list of students with good attendance for an incentives program at a school. But, to keep things simple for everyone, I wanted to try and get it so it does not generate blank cells. The problem is that if the formula and list have different numbers, it will either cut off names or randomly generate blank boxes. This is what the formula looks like in action and I'd rather not have to change the formula every time we do a drawing. I figure there's a way to do this.

    https://docs.google.com/spreadsheets...it?usp=sharing

    Thanks,
    Tony
    Last edited by tcannon; 12-01-2014 at 06:35 PM.

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,313

    Re: Name Randomizer Without Returning Blank Cells

    Try it this way.
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Registered User
    Join Date
    12-01-2014
    Location
    Oregon
    MS-Off Ver
    2007
    Posts
    2

    Re: Name Randomizer Without Returning Blank Cells

    I figured it out. Here is the working formula:

    =INDIRECT("C"&RANDBETWEEN(1,COUNTA(C:C)))

    Thanks for your help!

    Tony

  4. #4
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,313

    Re: Name Randomizer Without Returning Blank Cells

    I get duplicate names with your formula
    Attached Files Attached Files

+ 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] Blank cells not returning a blank value...
    By Losguapos1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-10-2014, 11:01 AM
  2. Function returning cells containing text and omitting blank cells.
    By reszax in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-25-2013, 03:15 PM
  3. Pasting cells into the body of an e-mail returning blank cells
    By Sccye in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-03-2012, 08:21 AM
  4. returning blank cells
    By Talbot in forum Excel General
    Replies: 6
    Last Post: 12-02-2009, 06:37 AM
  5. returning blank cells
    By menphee in forum Excel General
    Replies: 2
    Last Post: 08-27-2005, 02:05 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