Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Lottery function - how to randomly select cells

how to create function to randomly select names
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Lottery function - how to randomly select cells

With the Analysis ToolPak add-in activated (tools-addins):

Cell address in range A1:Z1000
=ADDRESS(RANDBETWEEN(1,1000),RANDBETWEEN(1,26),4)
Press F9 to generate a new random address.

If you want the contents of that cell:
=INDIRECT(ADDRESS(RANDBETWEEN(1,1000),RANDBETWEEN( 1,26),4))
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"ap@rfr" wrote:

how to create function to randomly select names

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
What is the function to randomly select a cell, like for lottery? ap@rfr Excel Worksheet Functions 4 April 17th 09 06:50 PM
How do I randomly select cells regardless of cell content? gmadden2 Excel Worksheet Functions 3 January 7th 09 05:00 PM
what can I do to randomly select cells that contain text? gmadden2 Excel Worksheet Functions 2 January 6th 09 05:58 PM
does ctrl f select cells randomly? tc Excel Discussion (Misc queries) 3 August 23rd 07 11:26 PM
how to randomly select a name in a list and then the select the ne [email protected] Excel Worksheet Functions 1 September 20th 06 08:09 AM


All times are GMT +1. The time now is 07:23 AM.

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

About Us

"It's about Microsoft Excel"