Generate Random Numbers (Integers) in Microsoft Excel

Generate Random Numbers (Integers) in Microsoft Excel


http://www.TeachMsOffice.com

This tutorial shows you how to generate random integers or whole numbers in Microsoft Excel. You can generate a number between any two numbers in excel by using the RANDBETWEEN() function. Here, you learn how to make and use the randbetween() function and also how to update the random numbers making them change using the keyboard shortcut "F9" to 'refresh' the numbers. This also shows you how to create a list of randomly generated numbers.


To get the spreadsheet used here of for more excel video tutorials, macros, tips and tricks, visit the website http://www.TeachMsOffice.com You can also visit the forum there if you have any questions.

Have a great day!
Closed Caption:

here i'm going to show you how to get an
integer with a lower and upper limit
which is randomly generated so a number
for instance between 10 and 50 and
between 300 and 400 which is randomly
generated
there are many reasons you may want to
do this if you're using numbers for
simulation model sensitivity analysis a
range of things or if you just want to
create a large list of randomly
generated numbers within limits you're
going to use the rand between function
now it's only going to give you integers
so you will not get a decimal or a
fraction here let me show you how it
works equals R and between so ra ND
between open parenthesis now put the
bottom in which is the lowest number
that can occur so for here i want 10
comma now the top or the highest number
that you want to occur
and here that's going to be 50 so hit
enter and the randomly generated number
is 11
now let's do the same thing for the
number between 300 and 400 equals R and
between open parenthesis the bottom
three hundred comma now the top 400
close parenthesis enter so it's very
easy to do that now also note that this
number changed when i hit enter down
here also if you hit f9 the randomly
generated numbers are going to change
again within their limits so every time
that I press f9 the numbers are going to
change but they're always going to be
within their limits between 10 and 50
and then between 300 and 400
and also if you have the same formulas
so if i copy this down now ran between
here is exactly like this one
the numbers are not going to be the same
because they're randomly generated same
with this
that's how you generate large lists of
random integers

Video Length: 02:28
Uploaded By: TeachExcel
View Count: 50,146

Related Software Products
Help Generator for Microsoft Excel
Help Generator for Microsoft Excel

Published By:
AGORA Software BV

Description:
Help Generator for Microsoft Excel lets you document your Excel spreadsheet applications in a productive way. It generates topic pages with screenshots for Worksheets, Charts and VBA Forms. The Help Generator produces HTML Help, HTML Help web-based help and documentation in Word. Within Worksheet pages sections are created for ranges (tables), embedded charts, formulas, controls, filters and cubes. MS forms pages contain sections for controls and screenshots with hotspots. Produces HTML Help, ...


Related Videos
How to generate a Random List in Excel
How to generate a Random List in Excel

Video Length: 04:22
Uploaded By: Aldo Mencaraglia (6/12/2012)
View Count: 459,324

Generate Random Numbers in Excel
Generate Random Numbers in Excel

Video Length: 05:46
Uploaded By: Doug H
View Count: 112,461

Bingo Card Generator - Microsoft Excel
Bingo Card Generator - Microsoft Excel

Video Length: 07:48
Uploaded By: uncwedgames (2/4/2010)
View Count: 92,630

Bingo Card Generator Microsoft Excel tutorial
Bingo Card Generator Microsoft Excel tutorial

Video Length: 01:50
Uploaded By: Bingo Card Generator (10/6/2015)
View Count: 69,500

Bingo Card Generator - Microsoft Excel Free Download
Bingo Card Generator - Microsoft Excel Free Download

Video Length: 02:29
Uploaded By: PrerequisiteName (3/5/2013)
View Count: 34,887

Microsoft Excel 2010 - Macros Writing Lesson 4 - How to generate Word Docs from Excel
Microsoft Excel 2010 - Macros Writing Lesson 4 - How to generate Word Docs from Excel

Video Length: 10:55
Uploaded By: James Tech
View Count: 33,145

Generate Random Numbers with Decimals in Microsoft Excel
Generate Random Numbers with Decimals in Microsoft Excel

Video Length: 04:31
Uploaded By: TeachExcel
View Count: 19,833

Microsoft Excel 2010 - Macros Writing Lesson 3 - How to generate Graphs using Macros
Microsoft Excel 2010 - Macros Writing Lesson 3 - How to generate Graphs using Macros

Video Length: 09:41
Uploaded By: James Tech
View Count: 7,743

Random Number Generator in Microsoft Excel
Random Number Generator in Microsoft Excel

Video Length: 04:39
Uploaded By: Influxity (9/26/2013)
View Count: 553

Copyright © 2026, Ivertech. All rights reserved.