• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Excel CHOOSEROWS Function

You are here: Home / Excel Functions / Excel CHOOSEROWS Function

The Excel CHOOSEROWS function allows you to extract rows from a range or array.

CHOOSEROWS Function Syntax

=CHOOSEROWS(array, row_num1, [row_num2], ...)

array : The array containing the rows to be returned.

row_num1 : The first row number to be returned

[row_num2] : [Optional] Additional row numbers to be returned.

Note: The CHOOSEROWS function is part of the new Excel Dynamic Arrays family. At the time of writing, Dynamic Arrays are only available in Microsoft 365. Excel 2021 and earlier Excel versions will not get CHOOSEROWS.

Watch the Video

Subscribe YouTube


Download the Example Workbook

Enter your email address below to download the sample workbook.

By submitting your email address you agree that we can email you our Excel newsletter.
Please enter a valid email address.

Download the Excel Workbook. Note: This is a .xlsx file please ensure your browser doesn't change the file extension on download.

Excel CHOOSEROWS Function Examples

Let’s say I want to get the data from the first row of post codes and suburbs. I can do this easily with CHOOSEROWS:

CHOOSEROWS Function example 1

We can rearrange the row order by specifying them in the row_num arguments like so:

CHOOSEROWS Function example 2

We can also refer to the rows from the bottom by using negative values e.g. the last row can be found with -1 for the row_num. The second last row would be -2 and so on:

CHOOSEROWS Function example 3

Tip: you can also specify the row numbers in an array e.g.:

=CHOOSEROWS(C31:D34,{3,2})

Related Excel Array Shaping Functions

EXPAND Function Expands or pads an array to a specified number of rows and columns.
TOROW Function Returns the array in a single row. Useful for combining data across multiple columns and rows into a single row.
TOCOL Function Returns the array in a single column. Useful for combining data across multiple columns and rows into a single column.
WRAPROWS Function Lets you wrap (reshape) a row or column of values into rows, you specify the number of values in each row.
WRAPCOLS Function Lets you wrap (reshape) a row or column of values into columns, you specify the number of values in each column.
DROP Function Remove a specified number of contiguous rows or columns from the start or end of an array.
TAKE Function Extract a specified number of contiguous rows or columns from the start or end of an array.
CHOOSECOLS Function Extract columns from the specified rows or rows.
VSTACK and HSTACK Functions Combine arrays arranged vertically (VSTACK) or horizontally (HSTACK) into a new single array.

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk – For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.