How to Create Random Numbers in Excel (including no repeats)

  Рет қаралды 198,992

Leila Gharani

3 жыл бұрын

Join 400,000+ professionals in our courses here 👉 link.xelplus.com/yt-d-all-courses
In this video I'll show you how you can easily create sample data in Microsoft Excel. Generating Random data is often needed for testing or if you need to share a file with someone who shouldn't see your actual data. I'll cover different methods to create random numbers including a solution that creates random data without repeats.
⬇️ DOWNLOAD the workbook here: pages.xelplus.com/random-number-generator-file
Here's what you'll learn:
Basic to Advanced Techniques: From simple random decimal numbers to complex non-repeating integer lists, this video covers a range of methods suitable for various needs.
Using RAND Function: Discover how to use the RAND function to create random decimal numbers between 0 and 1, and learn tips to prevent them from recalculating.
RANDBETWEEN for Specific Ranges: Learn how to use the RANDBETWEEN function for generating random integers within a specific range, and how to convert them into decimal numbers.
RANDARRAY Function in Office 365: Explore the RANDARRAY function available in Office 365 and Excel on the web for generating multiple rows and columns of random numbers.
Unique Function for No Repeats: Combine RANDARRAY with the UNIQUE function to ensure your random numbers don't repeat, understanding how to manage potential errors.
Sequence and Sort By for Random Order: Learn how to use the SEQUENCE and SORT BY functions to create non-repeating, randomly ordered numbers without resizing issues.
Non-Office 365 Solution: Discover an alternative method using the RAND function and custom sorting for those not using Office 365.
00:00 How to Generate Random Numbers in Excel
00:29 How to Use the RAND Function
01:15 How to Use the RANDBETWEEN Function
02:05 How to Use the RANDARRAY Function
02:59 How to Create Random Numbers WITHOUT Repeats
04:11 Use Sequence function to get Avoid Repeats & errors
05:54 Non Office 365 Solution to Avoid Repeats
06:44 Wrap Up
LINKS to more Excel videos: kzbin.info/aero/PLmHVyfmcRKyxvxehq3fiGjKDsEyy6d4Tz
★ Get the Official XelPlus MERCH: xelplus.creator-spring.com/
➡️ Join this channel to get access to perks: kzbin.info/door/JtUOos_MwJa_Ewii-R3cJAjoin
👕☕ Get the Official XelPlus MERCH: xelplus.creator-spring.com/
🎓 Not sure which of my Excel courses fits best for you? Take the quiz: www.xelplus.com/course-quiz/
🎥 RESOURCES I recommend: www.xelplus.com/resources/
🚩Let’s connect on social:
Instagram: lgharani
LinkedIn: www.linkedin.com/company/xelplus
Note: This description contains affiliate links, which means at no additional cost to you, we will receive a small commission if you make a purchase using the links. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!
#excel

Пікірлер: 222
@LeilaGharani
@LeilaGharani 5 ай бұрын
Grab the file I used in the video from here 👉 pages.xelplus.com/random-number-generator-file
@jeanlucfcn6876
@jeanlucfcn6876 3 жыл бұрын
Le rythme, les explications tout est parfait. C’est la première fois que je planche sur Excel à cette heure de la nuit sans m’endormir !!!! Bravo.
@advaitpetiwale9596
@advaitpetiwale9596 3 жыл бұрын
Your tutorials are totally worthwhile. I don't know if I will ever need this, but this video is so memorable that I will recall it if and when the need arises..!
@amrabilalovic9651
@amrabilalovic9651 2 жыл бұрын
This is so convenient. Thank you so much for putting all these in one place, you rock!
@JoseSantos-eu8hg
@JoseSantos-eu8hg Жыл бұрын
Hey! Many thanks once more! Always with super accurate and straight forward examples!! Keep going the good work :)
@nijapillai9217
@nijapillai9217 3 жыл бұрын
Your lessons are amazing! I totally love it. The explanations , presentation, content everything is on point!💯
@LeilaGharani
@LeilaGharani 3 жыл бұрын
Thank you! I appreciate that!
@markdavies4255
@markdavies4255 3 жыл бұрын
Hi Leila I have been following you for about 18 months thank you so much for taking my Excel knowledge to the next level
@MrBradleykeith
@MrBradleykeith 2 жыл бұрын
Nice to see that I am not the only one who is still learning, I would love for you to do a "simple😂😂" googlemaps type route/distance calculator between two business locations. Love your channel.
@JimFikes
@JimFikes 3 жыл бұрын
You are the greatest, Leila. I had not thought of using unique with randarray yet.
@ibrahimismayilov1332
@ibrahimismayilov1332 3 жыл бұрын
Many thanks for the clear explanation, Leila!
@jasonipfatsiong2062
@jasonipfatsiong2062 3 жыл бұрын
Just what I was looking for…perfect timing thank you so much.
@serdalkaptan
@serdalkaptan Жыл бұрын
Wonderful info, Leila. I was scratching walls to create vba or macro in order to refresh the numbers, but your F9 method which I just tried on my random number generator works perfectly! It made my life a lot easier, and besides you teach a lot of some other important excel tricks. Thank you very much . . . .
@LeilaGharani
@LeilaGharani Жыл бұрын
Glad it was helpful!
@IzharHazelEspinozaCastillo
@IzharHazelEspinozaCastillo 3 жыл бұрын
... FELICITACIONES x TUS VIDEOS!! CONGRATULATIONS FOR YOUR VIDEOS !! ERES UN EJEMPLO A SEGUIR!! YOU ARE AN EXAMPLE TO FOLLOW !!
@DaveAMcLaughlin
@DaveAMcLaughlin 3 жыл бұрын
Thank you, Leila for all of these amazing tutorials. They are very much appreciated! :)
@LeilaGharani
@LeilaGharani 3 жыл бұрын
Glad you like them, Dave!
@melissatelfer7671
@melissatelfer7671 Жыл бұрын
thank you SOOOO much! I needed this for my experimental design and it worked perfectly!
@trik3002
@trik3002 3 жыл бұрын
Thanx a lot mam,I found solution to one of my problem I was stuck in since long from your this video. Thanx a lot
@inna6141
@inna6141 3 жыл бұрын
Cool, Leila!!! Thanks! That was one I needed 😀👍👍👍
@yassirkhalid5376
@yassirkhalid5376 3 жыл бұрын
Good job Liela, good job 👌🏽 Never regret watching your videos, the topic seems familiar to me, all functions you mentioned are well known to me and I'm using them frequently, but yet I opened the video! Not surprisingly, I found something new and interesting too! Looking forward to that one day for me opening your videos and learn nothing, I guess I will spend a lot of time until then!
@LeilaGharani
@LeilaGharani 3 жыл бұрын
Happy to hear you found something new!
@soumitratewari483
@soumitratewari483 2 жыл бұрын
Mam your teachings are very helpful. Thanks a load for your effort.
@Stef1955
@Stef1955 3 жыл бұрын
Once again you have proved that I have a lot more to learn with Excel!
@LeilaGharani
@LeilaGharani 3 жыл бұрын
There's always more to learn :)
@sandeeppeddi7075
@sandeeppeddi7075 3 жыл бұрын
@@LeilaGharani this makes me more happier 😀
@ntahir9670
@ntahir9670 2 жыл бұрын
Thank you. I needed this for tutoring kids for time tables. This is truly amazing. So simple buy I didn't know how until I saw this. Lovely lady you are. :)
@varisco311
@varisco311 3 жыл бұрын
Thank you Leila. Finally! A useful formula to help me pick the random winning Powerball numbers 😁
@FVG-
@FVG- 6 ай бұрын
This is the best explanation I have seen on the rand function so far...Thanks a lot!
@LeilaGharani
@LeilaGharani 6 ай бұрын
Glad it was helpful!
@nonoobott8602
@nonoobott8602 3 жыл бұрын
Great tutorial as always. Thanks for sharing
@chrism9037
@chrism9037 3 жыл бұрын
Love it, thanks Leila!
@cvdmeer100
@cvdmeer100 4 ай бұрын
So happy with this. I saved this one 👍🏻. Thank you!!
@narendralimbu2937
@narendralimbu2937 Жыл бұрын
I learned a lot about rand function. I love you.
@tifouraamina1761
@tifouraamina1761 3 жыл бұрын
Really handy tips 😉 I was looking for that for a while 🤗 thank you Leila
@LeilaGharani
@LeilaGharani 3 жыл бұрын
You’re welcome 😊
@mochi7478
@mochi7478 10 ай бұрын
I'm making my own Number Sense practice sheets, and the Google searches I've seen explain these functions so poorly; this video was a lifesaver
@andreastjahjadi6503
@andreastjahjadi6503 2 жыл бұрын
Leila, your video is amazing. Thanks so much. Can you explain how to make a sort number by group of columns (example: by area)
@ismailmasoom5007
@ismailmasoom5007 Жыл бұрын
THANK YOU DEAR LEILA JAN, YOU ARE HELPFUL AND AWESOME LECTURER.
@Armstrong_N14
@Armstrong_N14 4 ай бұрын
You are the best in this field. Thank you for sharing the knowledge and working so hard to present it excellently. Everything is so smoothly presented precise, concise and on point.
@LeilaGharani
@LeilaGharani 4 ай бұрын
Wow, thank you!
@Grumpy_Granddad
@Grumpy_Granddad 3 жыл бұрын
Great as Always --- as a part time Bingo caller I can see my spreadheet random number generator changing in the near future
@hossein3945
@hossein3945 Жыл бұрын
Thanks Leila. Solved my problem as always
@darrengodkin
@darrengodkin 3 жыл бұрын
Handy tips as always Leila, very intuitive, thanks for sharing
@LeilaGharani
@LeilaGharani 3 жыл бұрын
My pleasure, Darren!
@calevenice
@calevenice 3 жыл бұрын
You are the reason why I don't rank my Excel skills as a 10 out of 10. Thank you 🙂
@LeilaGharani
@LeilaGharani 3 жыл бұрын
😁
@cheesepun
@cheesepun 2 жыл бұрын
even she's learning
@joshmckintosh9713
@joshmckintosh9713 3 жыл бұрын
Hi Lelia, Thanks for showing awesome Excel capabilities. Wondering any suggestion for generating predictive number based on historical data; say for example if i have set actual data of past 100 outcome of coin toss? Any statistical function in Excel 365 is available? Thanks in advance JM
@hardhik28
@hardhik28 3 жыл бұрын
Cute technique. Thanks for sharing ☺️
@houstonsaft
@houstonsaft 3 жыл бұрын
Great one again, Leila!
@pallavshresthasingh2936
@pallavshresthasingh2936 3 жыл бұрын
You are awesome. You have really helped me a lot I am impressed how these small changes can now help me with my data
@LeilaGharani
@LeilaGharani 3 жыл бұрын
Great to hear!
@alastairjulie1421
@alastairjulie1421 Жыл бұрын
Great video. This has helped me, along with a lookup formula, to create a random staff rota.
@LeilaGharani
@LeilaGharani Жыл бұрын
Glad it was helpful!
@nsanerydah
@nsanerydah 2 жыл бұрын
Good Evening Ma'am, Thanks for all the information. Your videos continue to be great sources of knowledge for the multitudes. I have a quick question pertaining to the number ranges. Can you set the randbetween to only select whole numbers by tens or hundreds or thousands? [randbetween(100,900)] where it will only pick 100, 200, 300 ,400,ect randomly? I'm trying to make a homework generator for my daughter using similar problems that she sees in class, without having to randomly type out everything for each day. Thank you!
@tdsmith
@tdsmith Жыл бұрын
Thank you! You are very talented and easy to understand!
@LeilaGharani
@LeilaGharani Жыл бұрын
Wow, thank you!
@fathollahkhoshbakhti6264
@fathollahkhoshbakhti6264 Жыл бұрын
Thank you for your perfect explanation, in case I need to select the value randomly but just for many specific values I would specify them taking the percentage of repeated values that I will define, into account, what can I do? thank you
@parvathyvnair
@parvathyvnair 3 жыл бұрын
Cool! That'll definitely be helpful! 😃
@DougHExcel
@DougHExcel 3 жыл бұрын
Thanks for the "random" video full of neat surprises!
@vijayarjunwadkar
@vijayarjunwadkar 3 жыл бұрын
Hmmm, just when I think I know enough of a feature in Excel, Leila ensures that I don't and what a boon it is really! Thanks again Leila for showing what is possible with random numbers! Nice video! 😊👍
@LeilaGharani
@LeilaGharani 3 жыл бұрын
Glad you found something new, Vijay!
@rajeevgosavi4514
@rajeevgosavi4514 Жыл бұрын
A Great technique. Now I understand the entire content properly. Thanks once again Madam. May I also request you to please upload the video regarding creation of random letterrs and A TO Z alphabets.
@dipayandebnath6136
@dipayandebnath6136 3 жыл бұрын
Just simply awesome 👍
@rafatali6058
@rafatali6058 3 жыл бұрын
Fantastic tric Thank you so much Mam God bless you with your fmly
@kolavithonduraski5031
@kolavithonduraski5031 3 жыл бұрын
we have now google sheets and the excel web app. a comparison would be fine... maybe in more than just one vid. there is surely something google sheets can, and excel can't... and ofc vice versa. that would be a cool topic, if you are searching for some future topics 😁👍 thank's anyway for your work
@clickbisi7016
@clickbisi7016 3 жыл бұрын
This is randomly awesome 😆
@darylseaton6493
@darylseaton6493 3 жыл бұрын
Thank you so very much. This was a great video!!!
@LeilaGharani
@LeilaGharani 3 жыл бұрын
Glad you enjoyed it, Daryl!
@Betterifitsfree
@Betterifitsfree 3 жыл бұрын
So cool and useful in randomly choosing next weeks Powerball numbers 🔮 🎰 💰
@Ryuzaki2100
@Ryuzaki2100 3 жыл бұрын
Hi Leila, honestly, I never knew about how powerful Excel is and your channel helped me realized that. I have one question tho, I have to ask the professional. How did you create that animation at 0:23?
@LeilaGharani
@LeilaGharani 3 жыл бұрын
That's prepared with Premier Pro and After Effects.
@ranaganguli2892
@ranaganguli2892 3 жыл бұрын
Very useful while making roster for team..
@Udaykaujiya
@Udaykaujiya 3 жыл бұрын
Wow... Very nice explain.
@gilbertwanjiku9731
@gilbertwanjiku9731 2 жыл бұрын
Leila, Thanks for the videos, appreciated very⁹ much!! How do I go about with a list of names say for team peer to peer review. The output needed is a list of "Peer to Review" from team list, Noting that ; a. You can't review yourself and, b. Each member has to participate. Thanks in advance.
@pixelcris
@pixelcris 2 жыл бұрын
Hi Leila, you are amazing! Every day I learn something new from you. I need help extracting a random unique list from an existing list. My list has three columns. The first column contains names, the second column contains a case number, the third contains a resolution number. The names repeat (i.e. a name has various case and resolution numbers assigned to it). How can I extract a random list for unique names only? Thank you.
@dragonshadow1902
@dragonshadow1902 3 жыл бұрын
Added to my list of Excel Wizardry.
@TazKhan70
@TazKhan70 2 жыл бұрын
Hi Leila, I am using a combination of CHAR and RANDBETWEEN functions to generate a random password of 10 character starting with Capital and a mixture of Alphanumeric and special characters but whenever the spreadsheet refreshes it changes the values and I like to keep the values. =CHAR(RANDBETWEEN(65,90))&CHAR(RANDBETWEEN(97,122))&CHAR(RANDBETWEEN(35,38))&RANDBETWEEN(10,99)&CHAR(RANDBETWEEN(60,63))&CHAR(RANDBETWEEN(97,122))&RANDBETWEEN(101,989)
@ava_chavoshi
@ava_chavoshi Жыл бұрын
Thank you! :)
@christianwillumsen1639
@christianwillumsen1639 Жыл бұрын
Good video :) Any nice tips for random names as well ?
@reggiegagnon2004
@reggiegagnon2004 3 ай бұрын
Cool... I now know how to generate Random Numbers without repeats! THanks! 🙂
@LeilaGharani
@LeilaGharani 3 ай бұрын
Glad it helped!
@noguerar2661
@noguerar2661 3 жыл бұрын
Rand() function works randomising values from a uniform distribution. But what about getting random numbers from another kind of distribution - normal, Poisson, etc?
@jodavila16
@jodavila16 3 жыл бұрын
Nice Video!!
@wurianda
@wurianda Жыл бұрын
thank you so much
@HellPiece
@HellPiece 3 жыл бұрын
Amazing as always
@LeilaGharani
@LeilaGharani 3 жыл бұрын
Thank you! Cheers!
@Kolian1274
@Kolian1274 2 жыл бұрын
Hi Thanks for easy to understand video Can you tell me how I can creat 5 digit random numbers between 10 to 30
@nuhawoley988
@nuhawoley988 2 жыл бұрын
Thank you
@abdusaziz1266
@abdusaziz1266 Ай бұрын
Thanks. Please show how to select random work orders and value of data. Please. Thanks
@mokka61
@mokka61 3 жыл бұрын
The one of excel expert
@maheshmahee2782
@maheshmahee2782 3 жыл бұрын
Hi Leila..Please explain how to write Macros for csv formatted files.. Thank you.
@JoachimKondo2023
@JoachimKondo2023 2 күн бұрын
Thank you so much 💓
@Esakkiappan85
@Esakkiappan85 3 жыл бұрын
Awesome 👍
@wisdom_uboh
@wisdom_uboh 3 жыл бұрын
VERY NICE 👍👍
@ishan89100
@ishan89100 3 жыл бұрын
Hi... Plz guide how to concatenate two cells by keeping the text color format?
@prabhakarrao4922
@prabhakarrao4922 3 жыл бұрын
Thanks excellent tutorial
@LeilaGharani
@LeilaGharani 3 жыл бұрын
Glad you liked it.
@shubhampawar8506
@shubhampawar8506 3 жыл бұрын
Superb 👌
@sulekhagagrai7292
@sulekhagagrai7292 Жыл бұрын
Thank you mam..
@rajaramkumar2790
@rajaramkumar2790 7 ай бұрын
It much helpfull
@CalicoCooperFan
@CalicoCooperFan 3 жыл бұрын
Can you do a video on best practices for storing important emails outside of outlook? The company i work for rolls emails off after 90 days. Projects I work on can last all year and email has lots of history in it related to projects that I sometimes need to reference....like proof of project decisions made. How do you extract important emails? What are best practices for organizing and storing them so I can find them long after that 90 day retention threshold is hit. Thanks.
@richardsrichu2488
@richardsrichu2488 Жыл бұрын
Thanks
@hibee04
@hibee04 3 жыл бұрын
Hi Leila, This is a great tool but my version of Excel does not have the "=unique(randarray", "=rand(array) or "=sequence" functions. is there another way to use those functions? Thanks so much
@Mohammad3000100
@Mohammad3000100 3 жыл бұрын
Thank you for your explanation But for sure Randbetween function makes repeated number I am positive you know that Could we somehow make it with out repetition I found some salutions but they are sort of compelecated
@Stef1955
@Stef1955 3 жыл бұрын
Do you have plans to do a Power Automate Desktop course?
@mohdzia8509
@mohdzia8509 3 жыл бұрын
Leila- I have a list of 10 companies and each company has 5 or more contacts. I wish to assign the same number to the first contact of each company. For example- Assign #1 to the first contact of each company. Assign #2 to the second contact of each company. So on and so forth for the rest of contacts
@divyangpastagiya5505
@divyangpastagiya5505 3 жыл бұрын
Interesting & well explained !! Can you share how to put random dates ?
@magnushultgrenhtc
@magnushultgrenhtc 3 жыл бұрын
Dates are numbers. For clarity, you can set a lower and upper limit in separate cells and refer to those cells. Just remember to format the outcome as a date.
@mpo3565
@mpo3565 Ай бұрын
This is great, how can do I a random sequence for say 24 rows but within those rows are random numbers from 1 to 36 ?
@manishgajjars7557
@manishgajjars7557 3 жыл бұрын
Hi Leila.. would you suggest for data analysis which is better.. MAC or Windows..
@user-gy7lg7nq7w
@user-gy7lg7nq7w 5 күн бұрын
Hi Leila, Thank you for the video. I've created a times table sheet for my daughter. It includes so much like a timer, score keeping, auto calculations etc etc etc.... and put in a lot of effort to write the macros. But now I'm stuck. I would like to randomize some of the cells without repeats and this is all possible in your video. But what can I do to prevent the randomized cells from changing when typing in other cells. I only want the random numbers to change if she press F9. Is it possible? So basically, I want her to press F9 (Refresh), complete the times table. Once done she only needs to refresh again for a "different" times table. As it is completely automated with the press of one button I don't want to COPY and PASTE SPECIAL VALUES. Your input will be greatly appreciated! Christo (South Africa) ----- EDIT------ I was able to achieve this to change the Calculations Options to Manual, and Creating a "Reset Macro". But your video helped a lot in my quest to randomize the numbers and to reset to a new and different question sheet with a press of a button),
@richprince2818
@richprince2818 2 жыл бұрын
I have Office 365 and noticed that random number generator, which I created years ago, no longer recalculates when I depress F9. Through some experimenting on the keyboard, that the Function key + F9 now recalculates my 60 fields for random numbers. Just and FYI. Thanks for your videos.
@elnurganbarov6502
@elnurganbarov6502 3 жыл бұрын
you are amazing
@righttoknow8196
@righttoknow8196 6 ай бұрын
Hi mam Your all lessons are amazing. I have a question that is 10000 is my total sale. I want to convert this value into 15 days but without repeating. Pls suggest which formula will apply.
@eahteshamsharker931
@eahteshamsharker931 3 жыл бұрын
How can i make a specific target through use of Rand-between formula. Its need to change in specific number which will be assigned with given performance data. Plz let me know
@asoteico9528
@asoteico9528 3 жыл бұрын
Great and sweet…!!!
@PeymanSayyadi
@PeymanSayyadi 3 жыл бұрын
Genius!
@hiteshk8758
@hiteshk8758 3 жыл бұрын
Wow what a fantastic way to accomplish that. Keep on sharing this with us. Love from #khushvibes channel
@dhavalgorasia3300
@dhavalgorasia3300 2 жыл бұрын
Hi Leila, Is there any way to generate all possible combinations of multiple numbers for instance if I want all possible combinations of numbers 1,2 and 3 I know the total possible outcome is 6 by using the Combin function but I also want to know the possible combinations that are 1,2,3. 2,3,1 3,1.2 1,3,2 2,1,3 3,2,1
@ShihabdeentheCyclist
@ShihabdeentheCyclist 3 жыл бұрын
Hi how to create timesheet for workers for two shift same day also if end AM how to use formula for calculating the time