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

Data Analysis

  • Subtotal function in Excel
  • Number and Text Filters Examples in Excel
  • How To Load Analysis ToolPak in Excel
  • How to create dynamic reference table name in Excel
  • Excel Bar Chart

References

  • Extract all partial matches in Excel
  • How to use Excel INDIRECT Function
  • To count total rows in a range in Excel
  • How to use Excel MATCH Function
  • Merge tables with VLOOKUP in Excel

Data Validations

  • Excel Data validation must begin with
  • Excel Data validation allow weekday only
  • Excel Data validation number multiple 100
  • Prevent invalid data entering in specific cells
  • Excel Data validation date in next 30 days

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

  • How to return blank in place of #DIV/0! error in Excel
  • AND function: Description, Usage, Syntax, Examples and Explanation
  • Check multiple cells are equal in Excel
  • IF with wildcards in Excel
  • Invoice status with nested if in Excel

Date Time

  • Generate series of dates by weekends in Excel
  • Get days between dates in Excel
  • WORKDAY.INTL function: Description, Usage, Syntax, Examples and Explanation
  • Convert text timestamp into time in Excel
  • Convert decimal hours to Excel time

Grouping

  • Map text to numbers in Excel
  • Group times into unequal buckets in Excel
  • If cell contains one of many things in Excel
  • How to randomly assign data to groups in Excel
  • Map inputs to arbitrary values in Excel

General

  • How to set or clear a print area in Excel Worksheet
  • Print Excel Sheet In Landscape Or Portrait
  • How to generate random times at specific intervals in Excel
  • Freeze and Unfreeze Panes in Excel
  • Check if multiple cells have same value in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning