Check out 5 Ways To Generate Random Numbers On Your Mac at YouTube for closed captioning and more options.
Welcome to MacMost
Free Weekly NewsletterWant all of the new tutorials in your inbox? Sign up for the free weekly newsletter that includes tips, recommendations and news.
All MacMost Shorts...
MacMost Online Courses
Connect with MacMost
- Mac Basics
- The Practical Guide To Mac Security
- Videos by Category
- Video Archive
- MacMost Online Courses
- Virus and Malware Information Center
- Protect Yourself From Online Scams
- A Graphical Guide To iCloud
- Free iPhone Ringtones
- Recommended Products
- Printable Mac Keyboard Shortcuts PDF
- macOS System Requirements List
- The Practical Guide To Mac Security: Part 5, Security Questions
- The 7 Skills You Need To Learn To Master Numbers
- How To Prevent Watch-And-Grab iPhone Theft
- How To Retouch and Repair Photos on a Mac
- Crop, Resize and Export an Image With Preview
- How To Use ChatGPT To Help You Write
- 7 Quick Ways To Access System Settings on a Mac
- How To Block Websites On Your Mac
Copyright © 2006-2023 CleverMedia, Inc. All Rights Reserved.
I do like the shortcut idea. Is there way to have to die roll. One being 1-6 and the other the same. Thanks. Ken
Ken: In Shortcuts, yes. Have the random number generated twice, then use a "Text" action to concatenate them both. Or a "Calculate" action to add them both and give the result.
Are you able to exclude numbers within the given range? Example: a sign up sheet for a drawing, where people choose their numbers and once all have signed up there are unselected numbers within the range of possible choices.
Karl: In that case you would just have all of the numbers in a column, and chose a random row. So if 20 people chose numbers, then they would be rows 1-20. Choose a random number between 1-20 and there is your winner.
Hi Gary. As always your videos are always very interesting and easy to understand.
Let's suppose i use the random formula in Numbers to select a number between 1 and 50, and i need 6 numbers in that range, how can i be sure that the same random number doesn't come twice ? ex : 23-(16)-14-50-49-(16) And is there a way to get them sorted ??
Marc: Lots of ways to do it. The simplest is to just generate more numbers than you need and take the first 6 unique ones. Since you only need 6 numbers, this will be the easiest and quickest way to do it. Then delete the rest and sort.
Or, you could put the numbers 1 through 50 in 50 rows of a table. Then in the next column put a RAND() function (random number between 0 and 1). Then sort by that second column. This is a "shuffle" like you are shuffling a deck of cards, or pulling bingo balls out of a box. Then delete that second column, delete the other 44 rows, and sort the remaining 6.
Thanks a lot. I will do so.