#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default Choose From A Range

I have a range A1:A100 with a collection of different numbers. I want a
random number to be selected from the same and displayed in B1. The
CHOOSE(RANDBETWEEN(1,100),A1:A100) does not work and requires a manual entry
to be made of the whole array which is not possible.

Any advice???

Thanx in advance!!!!!!
--

Best Regards,
FARAZ A. QURESHI
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Choose From A Range

=OFFSET($A$1,RANDBETWEEN(0,99),0)
--
Gary''s Student - gsnu200821


"FARAZ QURESHI" wrote:

I have a range A1:A100 with a collection of different numbers. I want a
random number to be selected from the same and displayed in B1. The
CHOOSE(RANDBETWEEN(1,100),A1:A100) does not work and requires a manual entry
to be made of the whole array which is not possible.

Any advice???

Thanx in advance!!!!!!
--

Best Regards,
FARAZ A. QURESHI

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default Choose From A Range

Man!!!
U R no student! Sure are a MASTER!!!
Thanx a lot!!!
--

Best Regards,
FARAZ A. QURESHI


"Gary''s Student" wrote:

=OFFSET($A$1,RANDBETWEEN(0,99),0)
--
Gary''s Student - gsnu200821


"FARAZ QURESHI" wrote:

I have a range A1:A100 with a collection of different numbers. I want a
random number to be selected from the same and displayed in B1. The
CHOOSE(RANDBETWEEN(1,100),A1:A100) does not work and requires a manual entry
to be made of the whole array which is not possible.

Any advice???

Thanx in advance!!!!!!
--

Best Regards,
FARAZ A. QURESHI

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Choose From A Range

More intuitive to use 1 - 100:

=INDEX(A1:A100,RANDBETWEEN(1,100))

--
Biff
Microsoft Excel MVP


"Gary''s Student" wrote in message
...
=OFFSET($A$1,RANDBETWEEN(0,99),0)
--
Gary''s Student - gsnu200821


"FARAZ QURESHI" wrote:

I have a range A1:A100 with a collection of different numbers. I want a
random number to be selected from the same and displayed in B1. The
CHOOSE(RANDBETWEEN(1,100),A1:A100) does not work and requires a manual
entry
to be made of the whole array which is not possible.

Any advice???

Thanx in advance!!!!!!
--

Best Regards,
FARAZ A. QURESHI



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
How do I randomly choose cells from a range to reproduce elsewhere TU340 Excel Discussion (Misc queries) 3 January 11th 08 04:35 PM
how can i choose the highest number in excel range Robert-Alpha Excel Worksheet Functions 4 September 12th 07 07:14 PM
Choose data from a selected range and put result in new column Betsy Excel Worksheet Functions 2 July 1st 06 04:13 AM
Choose From a Range Freshman Excel Worksheet Functions 3 July 29th 05 10:41 AM
Choose. Rodney New Users to Excel 2 May 2nd 05 04:59 AM


All times are GMT +1. The time now is 04:52 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"