WRAPROWS(range, wrap_count, [pad_with])One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
range:
The range of cells that you want to wrap into rows.
wrap_count:
The number of rows to wrap the specified range into.
pad_with:
(Optional) The value to use for padding if the total number of cells in the range is not evenly divisible by wrap_count.
The WRAPROWS function in Google Sheets is a useful tool that allows you to transform a single column of data into multiple rows, wrapping the data into a specified number of columns. This function is particularly helpful when you want to display data in a more organized and visually appealing format, making it easier to read and analyze.
In simpler terms, WRAPROWS takes a long list of items and arranges them into a grid-like structure, allowing you to control how many items appear in each row.
Imagine you have a list of product names that you want to display in a more compact format:
| ProductName |
|---|
| Widget A |
| Widget B |
| Widget C |
| Widget D |
| Widget E |
| Widget F |
| Widget G |
| Widget H |
You want to display these products in a grid format with 3 products per row.
To achieve this, you would use the WRAPROWS function as follows:
=WRAPROWS(A2:A9, 3)In this formula:
A2:A9 is the range containing the ProductNames.3 is the number of columns you want to wrap the data into.When you apply the WRAPROWS formula to the Product List, the output would look like this:
| Column 1 | Column 2 | Column 3 |
|---|---|---|
| Widget A | Widget D | Widget G |
| Widget B | Widget E | Widget H |
| Widget C | Widget F |
As you can see, the products are now organized into a grid with 3 columns, making it easier to view the list at a glance.
WRAPROWS is beneficial because it enhances the presentation of data in your spreadsheets. It allows you to control the layout of your data, making it more visually appealing and easier to interpret. This function is especially useful for displaying lists, categories, or any data that can benefit from a structured format.
WRAPROWS is an essential function for anyone looking to improve the organization and readability of their data in Google Sheets, providing a simple yet effective way to enhance your spreadsheets.
Happy spreadsheeting!
You have a list of products in Column A and their sales figures in Column B. By using WRAPROWS, you can display the sales data in a more organized, multi-column format, making it easier to analyze trends and compare product performance at a glance.
Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.
Browse our complete library of Google Sheets formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.