How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask Jess M. Your Own Question

Jess M.
Jess M., Computer Support Specialist
Category: Microsoft Office
Satisfied Customers: 4357
Experience:  Computer Software Specialist for more than 10 years
49766785
Type Your Microsoft Office Question Here...
Jess M. is online now
A new question is answered every 9 seconds

Have 45 titles, would like to populate in excel (one title

Resolved Question:

Have 45 titles, would like to populate in excel (one title per cell) and have a random (1-45) pulled, need to repeat 100 times. Can this be built into a 2010 macro?
Submitted: 1 year ago.
Category: Microsoft Office
Expert:  Jess M. replied 1 year ago.
Hi, welcome and thank you for your question. My name is XXXXX XXXXX I am glad to assist you today.

Are you referring about movie titles? Also, you will enter the titles manually, one per cell. Then in a different sheet or part of the worksheet, these titles will be randomly shown 100 times? Is this correct?

Please let me know so that I can help you further.

Best regards,
Jess
Customer: replied 1 year ago.


Titles refer to date location of biological field surveys. Need random selection for 1 of 45 surveys, repeated 100 times. To develop accounting and projection of number of surveys to replicate redundancy in species richness observed. i.e. some surveys may see 5, 7, or 10 species. I need a tool to randomly select the species list to develop this projected curve.


 


Only tool I need is a macro to randomly pick a cell (title) from a given number of cells (i.e. A1 - A45), and repeat the process 100 times while displaying all picks in the order they were generated.

Expert:  Jess M. replied 1 year ago.
John,

Thank you for writing back. One more clarification, please. When you randomize the selection among the 45 titles, the results will be displayed at once. Is this right?

For instance, you can click a button and 100 cells will be filled with randomly generated picks from the 45 titles at once. Is this correct?

Let me know.
Jess
Customer: replied 1 year ago.


Can display after completing the 100 calculations, with showing all 100 answers in sequence they were chosen.

Expert:  Jess M. replied 1 year ago.
Thank you John for that confirmation. I will now create a dummy file with that random functionality to fit your requirement.

Please give me some time to complete the Excel file. I will get back with you with the completed Excel file.

One moment please.

Best regards,
Jess
Expert:  Jess M. replied 1 year ago.

John,

 

Thank you for patiently waiting. After few tries, I came up with a sample Excel file containing a macro to do the tasks you desired.

The logic here is that you need to enter the master list with a sequence numbers 1 - 45. Then opposite it, enter the corresponding titles. This will serve as a master list since the new random list will be derived in this master list.

What we can randomize are numbers only. So we use the RANDBETWEEN function to randomize the numbers between 1 to 45.

The results of course will be numbers within the range. We need to perform the randbetween function for the 100 cell that you want to list the random 100 titles.

Now, we will pair the randomized number (100 of them randomly between 1 to 45) with the corresponding title in the master list using the VLOOKUP function.

Here is my sample file, download link below:
http://wikisend.com/download/459126/random_titles_generator.xlsm

Please note that the file is a Macro-Enabled file, XLSM. That means that the file contains a macro. However, the only code in the macro is the function "list_title" which will only "Calculate" the range A2:B101 in the Random_List sheet when the button is clicked. The randbetween function will trigger after every "calculate" command.

NOTES: The master list can be in the same worksheet, the file is a sample file so you can just change the references of the cells.


Please remember to rate my service positively (3-5 stars/faces) once you have all the
information you need. Tips are always highly appreciated! Cool

If you have any other questions, please ask me or reply to me – I’ll be happy to respond.

Thank you!

Best regards,
Jess

Customer: replied 1 year ago.


Thanks Jess,


 


Works great. After I sent my last message checking on the status, the board refreshed showing that you finished the calculator.


 


Really appreciate it,


 


John

Expert:  Jess M. replied 1 year ago.
Hi John,

Thank you for writing back. I am glad that the Excel file I gave you worked for your randomization requirement. It is always my joy and privilege to help you.

If you have concerns in the future, you can request my assistance. Or you can post a question "For jessmagz" so that I can assist you immediately!


Please remember to rate my service positively (3-5 stars/faces) if it helped. Tips are always highly appreciated! Cool

If you have any other questions, please ask me or reply to me – I’ll be happy to respond.


Thank you!

Best regards,
Jess
Jess M., Computer Support Specialist
Category: Microsoft Office
Satisfied Customers: 4357
Experience: Computer Software Specialist for more than 10 years
Jess M. and 4 other Microsoft Office Specialists are ready to help you
Expert:  Jess M. replied 1 year ago.
Hi John,


I'm just following up with you to see how everything is going. Did my answer help?


Let me know,
Jess

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
< Last | Next >
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
 
 
 

Meet The Experts:

 
 
 
  • jstinehelfer

    Information Systems Manager

    Satisfied Customers:

    36
    A+ Comptia Certified computer repair
< Last | Next >
  • http://ww2.justanswer.com/uploads/JS/jstinehelfer/2012-6-6_215146_Pictureofme1.64x64.png jstinehelfer's Avatar

    jstinehelfer

    Information Systems Manager

    Satisfied Customers:

    36
    A+ Comptia Certified computer repair
  • http://ww2.justanswer.com/uploads/JA/JasonJames122/2011-12-16_135647_jasonjamesheadshotweb.64x64.jpg JasonJames122's Avatar

    JasonJames122

    Computer Enthusiast

    Satisfied Customers:

    0
    I manage all information systems (network of Windows PC's and servers with Microsoft Office products) for a small business
  • http://ww2.justanswer.com/uploads/JE/jessmagz/2012-6-6_18129_jm.64x64.jpg Jess M.'s Avatar

    Jess M.

    Computer Support Specialist

    Satisfied Customers:

    301
    Computer Software Specialist for more than 10 years
  • http://ww2.justanswer.com/uploads/CH/chutz747/2011-11-6_14231_me.64x64.jpg The-PC-Guy's Avatar

    The-PC-Guy

    Computer Manager

    Satisfied Customers:

    274
    20 years experience providing remote computer support
  • http://ww2.justanswer.com/uploads/SP/spherrod/2012-6-6_174244_1000852.64x64.JPG Steve Herrod's Avatar

    Steve Herrod

    Computer Support Specialist

    Satisfied Customers:

    125
    Trained in Microsoft Office from 2000 through to latest version 2010.
  • http://ww2.justanswer.com/uploads/SE/Seashore2011/2011-12-6_33418_111205223015.64x64.jpg Chris L.'s Avatar

    Chris L.

    Support Specialist

    Satisfied Customers:

    124
    Certified Expert with over 10 years experience.
  • http://ww2.justanswer.com/uploads/KR/krkljatorm/2012-6-24_153417_ITMiro.64x64.jpg IT Miro's Avatar

    IT Miro

    Computer Scientist

    Satisfied Customers:

    97
    Bachelor's Degree in Information Technology, Microsoft Certified Professional