Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default How do I select a number from a specific group of numbers?

I need to randomly select one of the numbers out of the following
group: 1, 5, 7, 8.

Is there a formula I can use?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default How do I select a number from a specific group of numbers?

try:

=--CHOOSE(INT(RAND()*4)+1,"1","5","7","8")

--
HTH

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"motol" wrote in message
ups.com...
I need to randomly select one of the numbers out of the following
group: 1, 5, 7, 8.

Is there a formula I can use?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default How do I select a number from a specific group of numbers?

Works perfectly! Thanks!

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
Is this possible ??? DB Excel Discussion (Misc queries) 12 August 26th 06 12:19 AM
Assign number to groups of same numbers Mike Excel Discussion (Misc queries) 2 August 11th 06 08:35 PM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
Match Last Occurrence of two numbers and Count to Previous Occurence Sam via OfficeKB.com Excel Worksheet Functions 33 April 4th 05 02:17 PM
Subtotal of Subtotal displays Grand Total in wrong row Thomas Born Excel Worksheet Functions 5 January 6th 05 01:46 PM


All times are GMT +1. The time now is 06:52 PM.

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"