LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default How to random pick a cell from more than one column

I know how to pick a random cell from one column
=INDEX($A:$A,RANDBETWEEN(1,COUNTA($A:$A)),1)

but I need to pick a random cell from more than one column, I tried this:
=INDEX($A:$F,RANDBETWEEN(1,COUNTA($A:$F)),1)
but it doesn't work.

I tried searching the other posts but I couldn't figure it out.
Please help, Thanks.
 
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
Pick a Random name from a list. David M Fritzke Excel Discussion (Misc queries) 7 September 30th 08 05:11 PM
Random pick of a cell saman110 via OfficeKB.com Excel Discussion (Misc queries) 5 August 2nd 07 12:30 AM
Can excel pick a random cell from a column? Helene deChappe Excel Worksheet Functions 6 December 15th 06 09:49 PM
Pick a Random name from a list. David M Fritzke Excel Worksheet Functions 5 August 25th 06 03:11 PM
random pick names from the list jinvictor Excel Discussion (Misc queries) 1 June 26th 06 03:00 PM


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