WRAPROWS in Apple Numbers
Short answer: WRAPROWS cuts a row or column into pieces of a fixed length and stacks those pieces as rows. Syntax:
WRAPROWS(array, wrap-count, pad-with)Explanation
WRAPROWS cuts a row or column into pieces of a fixed length and stacks those pieces as rows. With pad-with you fill up the last piece.
Syntax
WRAPROWS(array, wrap-count, pad-with)Example
Split the prices B2:B5 into rows of 3 values, padding with 0. How many rows do you get?
| A | B | C | |
|---|---|---|---|
| 1 | Product | Price | Qty |
| 2 | Apple | 4 | 10 |
| 3 | Pear | 6 | 5 |
| 4 | Kiwi | 12 | 2 |
| 5 | Grape | 8 | 3 |
Formula: =ROWS(WRAPROWS(B2:B5,3,0))
Result: 2
Frequently asked questions
What does WRAPROWS do in Apple Numbers?
WRAPROWS cuts a row or column into pieces of a fixed length and stacks those pieces as rows. With pad-with you fill up the last piece.
What is the syntax of WRAPROWS?
The syntax is WRAPROWS(array, wrap-count, pad-with).
More in this category
Practise it yourself
Type the formula yourself in a real exercise and see right away if your answer is correct. The first exercises are free.
Start practising