Excel WRAPCOLS Function: Syntax, Examples & Tips

The WRAPCOLS function organizes data into a specified number of columns, allowing for optional padding to improve readability.
Excel
=WRAPCOLS(array, wrap_count, [pad_with])

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

Need more than a single WRAPCOLS formula? Try our free AI for Excel — it reads your entire spreadsheet, answers questions in plain English, and builds charts and analysis in the same chat.

On this page
  1. Parameters
  2. What is a WRAPCOLS Formula in Excel?
  3. A Practical Example
  4. WRAPCOLS Formula
  5. Result of the Formula
  6. Why Use WRAPCOLS?
  7. Key Takeaways:
  8. Example use case

Parameters

array:
The range or array of values that you want to wrap into columns.

wrap_count:
The number of columns to wrap the array into. This determines how many items will be placed in each column.

pad_with:
(Optional) The value to use for padding if the total number of items in the array is not evenly divisible by wrap_count. If omitted, Excel uses a blank cell as the padding value.

What is a WRAPCOLS Formula in Excel?

The WRAPCOLS function in Excel is a useful tool that allows you to rearrange a single-column range of data into multiple columns. It takes a range of values and organizes them into a specified number of columns, wrapping the data from the bottom of one column to the top of the next. This function is particularly helpful for visualizing data in a more compact and organized manner.

In simpler terms, the WRAPCOLS function helps you display a long list of items in a multi-column format, making it easier to read and analyze.

A Practical Example

Imagine you have a list of product names in an Excel spreadsheet, and you want to display them in a more organized way across multiple columns.

Product List Table:

Products
Apples
Bananas
Cherries
Dates
Elderberries
Figs
Grapes
Honeydew

You want to arrange these products into 3 columns.

WRAPCOLS Formula

To organize the product names into 3 columns, you would use the WRAPCOLS formula as follows:

Excel
=WRAPCOLS(A2:A9, 3)

Breakdown of the Formula:

  • A2:A9: This is the range of cells containing the product names.
  • 3: This is the number of columns you want to wrap the data into.

Result of the Formula

When you apply the formula, it rearranges the product names into 3 columns. The output would look like this:

Column 1Column 2Column 3
ApplesCherriesFigs
BananasDatesGrapes
ElderberriesHoneydew

Here, the product names are neatly organized into three columns, making it easier to read.

Why Use WRAPCOLS?

The WRAPCOLS function is particularly useful when you want to present data in a more visually appealing format. It allows you to condense long lists into a structured layout, improving readability and organization.

Key Takeaways:

  • WRAPCOLS: Rearranges a single-column range of data into multiple columns.
  • Improved Data Presentation: Helps display long lists in a compact and organized manner.
  • Common Use Cases: Ideal for organizing lists, creating dashboards, and enhancing data visualization.

Understanding how to use the WRAPCOLS function can significantly enhance your data presentation capabilities in Excel, enabling you to create more visually appealing and organized datasets.

Happy organizing!

Example use case

You have a list of product names in a single column and you want to display them in a more visually appealing way across multiple columns for a presentation. By using the WRAPCOLS function, you can easily rearrange the product names into a specified number of columns, making it easier for your audience to read and understand the information at a glance. This enhances the presentation layout without the need for manual adjustments or complex formatting.

Beyond the WRAPCOLS function: Better Analyst is a full Excel AI that goes well past individual formulas. Upload any spreadsheet and ask questions in plain English — you'll get formulas, data analysis, and charts back in seconds. It's a free AI Excel assistant that works with any .xlsx, .xls, or .csv file — no plugins, no Microsoft 365 required.

Don't have a spreadsheet yet? Use our free AI spreadsheet generator to turn a text prompt into a downloadable Excel file — a full AI Excel sheet maker that builds headers, columns, and formulas from your description.

Need more help with Excel formulas?

Create a free account for formula help, explanations, and spreadsheet analysis. Usage limits depend on your plan.

Explore all Excel formulas

Browse our complete library of Excel formula guides

Compare your options

Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

  1. 01ChatGPTOpen a balanced comparison prompt in ChatGPT.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.