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

Data Analysis

  • How to Use Solver Tool in Excel
  • How to create running total in an Excel Table
  • How to Create One and Two Variable Data Tables in Excel
  • How to count table columns in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS

References

  • How to use Excel ROWS Function
  • How to get last row in mixed data with blanks in Excel
  • Merge tables with VLOOKUP in Excel
  • Two-column Lookup in Excel
  • Approximate match with multiple criteria in Excel

Data Validations

  • How To Create Drop-down List in Excel
  • Excel Data validation allow uppercase only
  • Excel Data validation require unique number
  • Excel Data validation specific characters only
  • Excel Data validation must begin with

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

  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel AND Function
  • IF function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel TRUE Function
  • How to use Excel FALSE Function

Date Time

  • Check If Two Dates are same month in Excel
  • MINUTE function: Description, Usage, Syntax, Examples and Explanation
  • YEAR function: Description, Usage, Syntax, Examples and Explanation
  • How to show last updated date stamp in Excel
  • DATEDIF function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • If cell contains one of many things in Excel
  • Categorize text with keywords in Excel
  • Group times into 3 hour buckets in Excel
  • How to randomly assign people to groups in Excel
  • Group arbitrary text values in Excel

General

  • 231 Keyboard Shortcut Keys In Excel
  • Mark Workbook as Final in Excel
  • Delete Blank Rows at Once in Excel
  • Index and match on multiple columns in Excel
  • How to Delete Cells, Row and Rows in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning