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

Data Analysis

  • Data Series in Excel
  • How To Filter Data in Excel
  • Excel Bar Chart
  • How to calculate average last N values in a table in Excel
  • Conditional Formatting Rules in Excel

References

  • Vlookup Examples in Excel
  • Convert text string to valid reference in Excel using Indirect function
  • Count rows with at least n matching values
  • How to get address of last cell in range in Excel
  • How to use Excel INDIRECT Function

Data Validations

  • Excel Data validation specific characters only
  • Excel Data validation don’t exceed total
  • Excel Data validation exists in list
  • Excel Data validation require unique number
  • Excel Data validation must not contain

SEQUENCE function: Description, Usage, Syntax, Examples and Explanation

by

What is SEQUENCE function in Excel?

SEQUENCE function is one of the Math and Trig functions in Microsoft Excel that allows you to generate a list of sequential numbers in an array, such as 1, 2, 3, 4.

Syntax of SEQUENCE function

=SEQUENCE(rows, [columns], [start], [step])

SEQUENCE(number of row, number of columns,starting number, step size)

Example of SEQUENCE function

Example 1

In the following example, we created an array that’s 4 rows tall by 5 columns wide with =SEQUENCE(4,5).

Example 2

If you need to create a quick sample dataset, here’s an example using SEQUENCE with TEXT, DATE, YEAR, and TODAY to create a dynamic list of months for a header row, where the underlying date will always be the current year. Our formula is: =TEXT(DATE(YEAR(TODAY()),SEQUENCE(1,6),1),”mmm”).

Example 3

Here’s an example of nesting SEQUENCE with INT and RAND to create a 5 row by 6 column array with a random set of increasing integers. Our formula is: =SEQUENCE(5,6,INT(RAND()*100),INT(RAND()*100)).

In addition, you could use =SEQUENCE(5,1,1001,1000) to create the sequential list of GL Code numbers in the examples.

Post navigation

Previous Post:

TRUE function: Description, Usage, Syntax, Examples and Explanation

Next Post:

Excel Pie Chart

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

  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel AND Function
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • OR function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel NOT Function

Date Time

  • How to calculate nth day of week in month in Excel
  • Custom weekday abbreviation in Excel
  • Roll back weekday to Friday base on a particular date in Excel
  • Extract time from a date and time in Excel
  • How to calculate months between dates in Excel

Grouping

  • Group arbitrary text values in Excel
  • Group numbers with VLOOKUP in Excel
  • Group times into unequal buckets in Excel
  • How to randomly assign data to groups in Excel
  • Calculate conditional mode with criteria in Excel

General

  • Delete Blank Rows at Once in Excel
  • AutoRecover file that was never saved in Excel
  • How to fill cell ranges with random number from fixed set of options in Excel
  • Freeze and Unfreeze Panes in Excel
  • Hide and Unhide Columns or Rows in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning