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

Data Analysis

  • How to do a t-Test in Excel?
  • Filter Data Based on Date in Excel
  • How To Filter Data in Excel
  • How to add Trendline to a chart in Excel
  • How to Sort by Color in Excel

References

  • How to get address of last cell in range in Excel
  • Two-way lookup with VLOOKUP in Excel
  • Count rows that contain specific values in Excel
  • How to get address of named range in Excel
  • Two-column Lookup in Excel

Data Validations

  • Excel Data validation must contain specific text
  • Excel Data validation specific characters only
  • Excel Data validation must not contain
  • Excel Data validation allow weekday only
  • Data validation must not exist in list

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 TRUE Function
  • IF, AND, OR and NOT Functions Examples in Excel
  • How to use IFS function in Excel
  • How to use Excel NOT Function
  • Invoice status with nested if in Excel

Date Time

  • Convert decimal minutes to Excel time
  • How to calculate nth day of week in month in Excel
  • Extract time from a date and time in Excel
  • MONTH function: Description, Usage, Syntax, Examples and Explanation
  • DAY function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Running count group by n size in Excel
  • Map text to numbers in Excel
  • If cell contains one of many things in Excel
  • Calculate conditional mode with criteria in Excel
  • Group times into 3 hour buckets in Excel

General

  • Excel Operators
  • List worksheet index numbers in Excel
  • Using Existing Templates in Excel
  • Split Cell Content Using Text to Columns in Excel
  • Subtotal invoices by age in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning