Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 88
Default Random number selection from 4 lists

I have 4 lists of store numbers, each list representing the size of the
respective stores, I need to select 4 random numbers from each list of
numbers.
Each number is unique to a store and starts from 2000 up to at present 6500.
Once this store number has been generated I need it to be static so that I
can use it with lookup functions to select specific data from each store
identified. Each list starts at cell FI10:FI3000, FJ10:FJ3000, FK10:FK3000 &
FL10:FL3000 resepectively. All the numbers have been listed sequentially but
there are blank cells between the number.
Can anyone assist me with this.
Many thanks in anticipation.

Regards Lee
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Random number selection from 4 lists

Start with a RANDBETWEEN(2000,6500) in your 4 columns.

Once you hit enter, highlight the 4 values, copy, paste special - values to
freeze them.

"leerem" wrote:

I have 4 lists of store numbers, each list representing the size of the
respective stores, I need to select 4 random numbers from each list of
numbers.
Each number is unique to a store and starts from 2000 up to at present 6500.
Once this store number has been generated I need it to be static so that I
can use it with lookup functions to select specific data from each store
identified. Each list starts at cell FI10:FI3000, FJ10:FJ3000, FK10:FK3000 &
FL10:FL3000 resepectively. All the numbers have been listed sequentially but
there are blank cells between the number.
Can anyone assist me with this.
Many thanks in anticipation.

Regards Lee

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 88
Default Random number selection from 4 lists

Sean, this wont work because lets say No. 2001 will be in list 1, 2002 will
be in list 3, 2004 in list 2 & 2005 in list 1 etc. selecting a random number
between 2000,6500 will include no's that may not be in the list.

"Sean Timmons" wrote:

Start with a RANDBETWEEN(2000,6500) in your 4 columns.

Once you hit enter, highlight the 4 values, copy, paste special - values to
freeze them.

"leerem" wrote:

I have 4 lists of store numbers, each list representing the size of the
respective stores, I need to select 4 random numbers from each list of
numbers.
Each number is unique to a store and starts from 2000 up to at present 6500.
Once this store number has been generated I need it to be static so that I
can use it with lookup functions to select specific data from each store
identified. Each list starts at cell FI10:FI3000, FJ10:FJ3000, FK10:FK3000 &
FL10:FL3000 resepectively. All the numbers have been listed sequentially but
there are blank cells between the number.
Can anyone assist me with this.
Many thanks in anticipation.

Regards Lee

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Random number selection from 4 lists

Two options I can think of:

1) Continue to hit enter on the random number til it matches one of the
above, or

2) create some VB code.

Use the random generator below and loop with a find...

"leerem" wrote:

Sean, this wont work because lets say No. 2001 will be in list 1, 2002 will
be in list 3, 2004 in list 2 & 2005 in list 1 etc. selecting a random number
between 2000,6500 will include no's that may not be in the list.

"Sean Timmons" wrote:

Start with a RANDBETWEEN(2000,6500) in your 4 columns.

Once you hit enter, highlight the 4 values, copy, paste special - values to
freeze them.

"leerem" wrote:

I have 4 lists of store numbers, each list representing the size of the
respective stores, I need to select 4 random numbers from each list of
numbers.
Each number is unique to a store and starts from 2000 up to at present 6500.
Once this store number has been generated I need it to be static so that I
can use it with lookup functions to select specific data from each store
identified. Each list starts at cell FI10:FI3000, FJ10:FJ3000, FK10:FK3000 &
FL10:FL3000 resepectively. All the numbers have been listed sequentially but
there are blank cells between the number.
Can anyone assist me with this.
Many thanks in anticipation.

Regards Lee

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Random Selection carl Excel Worksheet Functions 7 June 13th 08 11:12 PM
Random Number Selection Work.Work.Work Excel Discussion (Misc queries) 4 February 4th 08 11:46 PM
Random number selection kwidener Excel Worksheet Functions 5 September 5th 06 04:04 PM
Random Selection Cookie New Users to Excel 2 May 3rd 06 12:05 AM
How do I find random number in list of random alpha? (Position is. jlahealth-partners Excel Discussion (Misc queries) 0 February 8th 05 05:31 PM


All times are GMT +1. The time now is 09:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"