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

Data Analysis

  • Conditional Formatting Icon Sets Examples in Excel
  • Example of COUNTIFS with variable table column in Excel
  • What-If Analysis: Scenarios and Goal Seek in Excel
  • Get column index in Excel Table
  • Data Series in Excel

References

  • How to get relative row numbers in a range in Excel
  • Convert text string to valid reference in Excel using Indirect function
  • How to use Excel INDIRECT Function
  • How to use Excel ROWS Function
  • Basic INDEX MATCH approximate in Excel

Data Validations

  • Excel Data validation date in specific year
  • Excel Data validation only dates between
  • Excel Data validation must not contain
  • Data validation must not exist in list
  • Excel Data validation require unique number

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

  • Not Equal To ‘<>‘ operator in Excel
  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • IF function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel OR Function
  • Nested IF function example in Excel

Date Time

  • Find Last Day of the Month in Excel
  • Get last working day in month in Excel
  • EOMONTH function: Description, Usage, Syntax, Examples and Explanation
  • Add decimal minutes to time in Excel
  • How to calculate next anniversary date or birthday in Excel

Grouping

  • Map inputs to arbitrary values in Excel
  • Map text to numbers in Excel
  • Group times into 3 hour buckets in Excel
  • Running count group by n size in Excel
  • Categorize text with keywords in Excel

General

  • 44 Practical Excel IF function Examples
  • Mark Workbook as Final in Excel
  • How to generate random number between two numbers in Excel
  • How to count total number of cells in a rectangular range in Excel
  • With vs Without Array Formula in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning