Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • How to get first row number in range in Excel
  • How to get last row in text data in Excel
  • Lookup entire row in Excel
  • Left Lookup in Excel
  • Offset in Excel

Data Analysis Examples

  • Chart Axes in Excel
  • Move chart to a separate worksheet in Excel
  • How to Create Column Chart in Excel
  • How to Sort by Color in Excel
  • How To Load Analysis ToolPak in Excel

Data Validation Examples

  • Excel Data validation date in next 30 days
  • Excel Data validation must not contain
  • Excel Data validation specific characters only
  • Excel Data validation no punctuation
  • Prevent invalid data entering in specific cells

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:

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

Next Post:

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

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
  • REPT function: Description, Usage, Syntax, Examples and Explanation
  • Remove line breaks in a cell in Excel
  • PROPER function: Description, Usage, Syntax, Examples and Explanation
  • UNICODE function: Description, Usage, Syntax, Examples and Explanation
  • REPLACE, REPLACEB functions: Description, Usage, Syntax, Examples and Explanation
  • Create date range from two dates in Excel
  • Get project end date in Excel
  • Convert Excel time to decimal minutes
  • Add workdays to date custom weekends in Excel
  • Basic timesheet formula with breaks in Excel
  • How to calculate present value of annuity in excel
  • SLN function: Description, Usage, Syntax, Examples and Explanation
  • Calculate loan interest in given year in Excel
  • INTRATE function: Description, Usage, Syntax, Examples and Explanation
  • COUPPCD function: Description, Usage, Syntax, Examples and Explanation
© 2022 xlsoffice . All Right Reserved. | Teal Smiles