Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to Create Area Chart in Excel
  • How To Load Analysis ToolPak in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS
  • Get column index in Excel Table
  • Conditional Formatting New Rule with Formulas in Excel

References

  • How to get address of last cell in range in Excel
  • How to get relative row numbers in a range in Excel
  • How to get last row in text data in Excel
  • How to create dynamic named range with OFFSET in Excel
  • How to use Excel TRANSPOSE Function

Data Validations

  • Excel Data validation require unique number
  • Excel Data validation exists in list
  • Excel Data validation must not contain
  • Excel Data validation don’t exceed total
  • Excel Data validation must contain specific text

How to generate random number between two numbers in Excel

by

To generate random integers between two numbers, you can use the RANDBETWEEN function.

Formula

=RANDBETWEEN(lower,upper)

Explanation

In the example shown, the formula in B5 is:

=RANDBETWEEN(1,100)

This formula is then copied down from B5 to B11. The result is random numbers between 1-100.

Note that the RANDBETWEEN function will generate new numbers whenever a change is triggered on the worksheet. That includes any edits to the worksheet, also also simply opening the workbook.

To prevent random numbers from being calculated again, copy the formulas, then use Paste Special > Values to replace the formulas with their calculated values.

Post navigation

Previous Post:

How to calculate project complete percentage in Excel

Next Post:

Popularly Used Excel Functions and their examples

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • IF with wildcards in Excel
  • AND function: Description, Usage, Syntax, Examples and Explanation
  • Extract multiple matches into separate rows in Excel
  • How to use Excel OR Function
  • TRUE function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Convert decimal hours to Excel time
  • How to calculate future date say 6 months ahead in Excel
  • Get project midpoint in Excel
  • Convert date to month and year in Excel
  • Count birthdays by month in Excel

Grouping

  • Categorize text with keywords in Excel
  • Group numbers at uneven intervals in Excel
  • If cell contains one of many things in Excel
  • How to randomly assign people to groups in Excel
  • Map inputs to arbitrary values in Excel

General

  • Find Most Frequently Occurring Word in Excel Worksheet
  • Select, Insert, Rename, Move, Delete Worksheets in Excel
  • How to calculate percent of goal in Excel
  • How to fill cell ranges with random text values in Excel
  • Excel Default Templates
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning