- SpreadJS Overview
- Getting Started
- JavaScript Frameworks
- Best Practices
- Features
- SpreadJS Designer
- SpreadJS Designer Component
- SpreadJS Collaboration Server
- Touch Support
-
Formula Reference
- Formula Overview
-
Formula Functions
- Barcode Functions
- Compatibility Functions
- Database Functions
- Date and Time Functions
- Engineering Functions
- Financial Functions
- Information Functions
- Logical Functions
- Lookup and Reference Functions
- Math and Trigonometric Functions
- Statistical Functions
- Sparkline Functions
- Text Functions
- Web Functions
- RegEx Functions
- Other Functions
- Import and Export Reference
- Frequently Used Events
- API Documentation
- Release Notes
(Showing Draft Content)
TRANSPOSE
This function returns a vertical range of cells as a horizontal range or a horizontal range of cells as a vertical range.
Syntax
TRANSPOSE(array)
Arguments
The array argument is a range of cells or an array that you want to switch.
Remarks
This function uses the first row of the array as the first column of the new array and so on.
Use the INDEX function to get individual elements from the returned array.
Data Types
Accepts an array. Returns an array.
Examples
TRANSPOSE(A2:A5)