Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-22-2012, 12:32 AM
zanat0s zanat0s is offline [HOWTO] -Make Random selection in Excel Windows 7 64bit [HOWTO] -Make Random selection in Excel Office 2007
Novice
[HOWTO] -Make Random selection in Excel
 
Join Date: May 2011
Posts: 8
zanat0s is on a distinguished road
Default [HOWTO] -Make Random selection in Excel

Hi Fellow Users,

I need some help. I want to create rotating random selections(teams) in excel

Lets say I have a total of 20 cells with data (in this case names) and I need a formula that will divide them in 5 teams (rows) of 4 persons.

What is the function I need to use so I will get random rotations without any name appearing twice?
Reply With Quote
  #2  
Old 06-22-2012, 05:27 AM
Colin Legg's Avatar
Colin Legg Colin Legg is offline [HOWTO] -Make Random selection in Excel Windows 7 32bit [HOWTO] -Make Random selection in Excel Office 2010 32bit
Expert
 
Join Date: Jan 2011
Location: UK
Posts: 369
Colin Legg will become famous soon enough
Default

Hi,

Essentially what you want to do is put the teams in a random order.
  • Give each team a distinct number (let's call is the TeamID) between 1 and 20.
  • Put twenty =RAND() formulas in your worksheet to generate 20 random numbers
  • Use RANK() and COUNTIF() to calculate the distinct ranking of each random number. Example here.
  • Map the distinct ranking to eachTeamID to determine the order of your teams.
  • Note that RAND() is volatile, so each time the worksheet calculates you will get a new random team order.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I make a selection when opening document shreked Word 4 01-11-2012 02:32 PM
how can i make random variant neezeen Word 0 11-22-2011 08:08 AM
[HOWTO] -Make Random selection in Excel Excel 2010 Printing Issues - Random Quality Changes EW-ARRI Excel 2 08-18-2011 05:38 AM
Problem with document map--cannot make selection Darren2 Word 1 03-14-2011 03:20 PM
[HOWTO] -Make Random selection in Excel Howto programetically Create Notebook and sectiongroup in office Onenote 2007 shobha.swami OneNote 3 06-19-2009 06:09 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:35 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft