Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Generating a random movie of genre X

Hey,

I have a list of all the movies I own, and what genre they are. Being
indecisive, I decided to create a "random movie generator" that spits
out 10 random movies in my list. However, it would be great if I could
limit this to a particular genre as my fancy suits me. What I'm
looking to be able to do is to type into a cell a genre, say "Action",
and have the spreadsheet give me a random action movie that is in my
list. Anyone have an idea how to do it? Any help would be great.
Thanks.

Tom

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 812
Default Generating a random movie of genre X

Suppose the movie titles are in column A and the genres are in column
B, starting in row 2. In column C put =RAND() in each row. Auto-filter
columns A & B, selecting which genre you want. Then sort all 3 columns
together, sorting only by column C. Use the first 10 visible rows as
your selections.

Hth,
Merjet


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Generating a random movie of genre X

Ahh it's so simple. Thank you.


On May 17, 9:24 pm, merjet wrote:
Suppose the movie titles are in column A and the genres are in column
B, starting in row 2. In column C put =RAND() in each row. Auto-filter
columns A & B, selecting whichgenreyou want. Then sort all 3 columns
together, sorting only by column C. Use the first 10 visible rows as
your selections.

Hth,
Merjet



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
Generating random numbers tobbey Excel Worksheet Functions 2 January 5th 10 08:05 AM
Generating Random numbers. Tyler Excel Discussion (Misc queries) 3 September 22nd 07 09:48 PM
generating a whole random # from a list Arturo Excel Programming 2 August 10th 05 11:26 PM
AWESOME MOVIE! << I found this movie link in an AOL chatroom. It is based on real evidence and I give it a big thumbs-up. [email protected] Excel Programming 3 April 12th 05 01:42 PM


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