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

Data Analysis

  • Error Bars in Excel
  • Excel Pie Chart
  • Chart Axes in Excel
  • Example of COUNTIFS with variable table column in Excel
  • How to calculate correlation coefficient Correlation in Excel

References

  • How to get last row in numeric data in Excel
  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • Perform case-sensitive Lookup in Excel
  • How to calculate two-way lookup VLOOKUP in Excel Table
  • Vlookup Examples in Excel

Data Validations

  • Excel Data validation exists in list
  • Excel Data validation require unique number
  • Excel Data validation date in specific year
  • Excel Data validation number multiple 100
  • Excel Data validation no punctuation

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

  • FALSE function: Description, Usage, Syntax, Examples and Explanation
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • Check multiple cells are equal in Excel
  • How to use Excel XOR Function
  • Return blank if in Excel

Date Time

  • Excel Date & Time Functions Example
  • Convert Excel time to decimal hours in Excel
  • Calculate time difference in hours as decimal value in Excel
  • WORKDAY.INTL function: Description, Usage, Syntax, Examples and Explanation
  • Display Date is workday in Excel

Grouping

  • Categorize text with keywords in Excel
  • Group numbers with VLOOKUP in Excel
  • Group times into unequal buckets in Excel
  • Group numbers at uneven intervals in Excel
  • Calculate conditional mode with criteria in Excel

General

  • Convert column letter to number in Excel
  • Subtotal by invoice number in Excel
  • Basic text sort formula in Excel
  • Lock Cells in a Worksheet Excel
  • Freeze and Unfreeze Panes in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning