View Single Post
 
Old 06-22-2012, 05:27 AM
Colin Legg's Avatar
Colin Legg Colin Legg is offline Windows 7 32bit 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