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

Data Analysis

  • How To Insert and Customize Sparklines in Excel
  • How To Perform and Interpret Regression Analysis in Excel
  • Add Outline to Data in Excel
  • Number and Text Filters Examples in Excel
  • How to calculate current stock or inventory in Excel

References

  • How to use Excel INDIRECT Function
  • Lookup entire row in Excel
  • How to use Excel TRANSPOSE Function
  • How to get last column number in range in Excel
  • How to use Excel OFFSET function

Data Validations

  • Excel Data validation whole percentage only
  • Excel Data validation only dates between
  • Excel Data validation require unique number
  • Excel Data validation don’t exceed total
  • 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

  • FALSE function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel OR Function
  • SWITCH function example in Excel
  • Extract multiple matches into separate rows in Excel
  • Nested IF function example in Excel

Date Time

  • How to get same date next year or previous year in Excel
  • How to calculate Quarter of Date in Excel
  • Get day from date in Excel
  • EDATE function: Description, Usage, Syntax, Examples and Explanation
  • Count times in a specific range in Excel

Grouping

  • Map text to numbers in Excel
  • Group times into unequal buckets in Excel
  • Group numbers at uneven intervals in Excel
  • Group numbers with VLOOKUP in Excel
  • Running count group by n size in Excel

General

  • Flash Fill in Excel
  • Find, Trace and Correct Errors in Excel Formulas using ‘Formula Auditing’
  • Cell References: Relative, Absolute and Mixed Referencing Examples
  • List worksheet index numbers in Excel
  • Share Excel data with Word documents
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning