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

Data Analysis

  • Conditional Formatting Rules in Excel
  • How to create Checklist in Excel
  • Subtotal function in Excel
  • How to Sort by Color in Excel
  • How To Create Pareto Chart in Excel

References

  • How to calculate two-way lookup VLOOKUP in Excel Table
  • Multi-criteria lookup and transpose in Excel
  • Get nth match with INDEX / MATCH in Excel
  • Extract all partial matches in Excel
  • Vlookup Examples in Excel

Data Validations

  • Data validation must not exist in list
  • Excel Data validation whole percentage only
  • Excel Data validation unique values only
  • Excel Data validation date in specific year
  • Excel Data validation must not contain

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 use Excel NOT Function
  • OR function Examples in Excel
  • Return blank if in Excel
  • Extract multiple matches into separate rows in Excel
  • Excel If, Nested If, And/Or Criteria Examples

Date Time

  • Get first Monday before any date in Excel
  • Calculate total hours that fall between two times in Excel
  • Get days, hours, and minutes between dates in Excel
  • Display the current date in Excel
  • Check If Two Dates are same month in Excel

Grouping

  • Group numbers with VLOOKUP in Excel
  • Group arbitrary text values in Excel
  • Group times into 3 hour buckets in Excel
  • Running count group by n size in Excel
  • Group times into unequal buckets in Excel

General

  • How to calculate percentage of total in Excel
  • Basic text sort formula in Excel
  • Delete Blank Rows at Once in Excel
  • Excel Ribbon Quick Overview For Beginners
  • Spell Check in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning