CHOOSECOLS, VSTACK & HSTACK Dynamic Table Shaping in Excel

Pick exact columns out of order with CHOOSECOLS and combine multiple tables vertically or side-by-side with VSTACK and HSTACK without copying rows by hand.

1. Extract Specific Columns With CHOOSECOLS

Use CHOOSECOLS to pull selected columns—and reorder them at the same time—from a wider table (1 = first column of the range, 3 = third column, -1 = last column):

=CHOOSECOLS(A2:E100, 1, 4, 2)

2. Stack Tables Vertically With VSTACK & Horizontally With HSTACK

Combine two or more matching tables top-to-bottom using VSTACK, or place ranges side-by-side using HSTACK:

=VSTACK(A2:C20, E2:G20)
=HSTACK(A2:B20, D2:E20)

Worked Example: Reordering Columns With CHOOSECOLS

Source Table (A2:D3: ID | Region | Status | Amount) =CHOOSECOLS(A2:D3, 1, 4, 3) Output
Row 1: INV-1 | North | Paid | $500 Row 1: INV-1 | $500 | Paid
Row 2: INV-2 | South | Pending | $300 Row 2: INV-2 | $300 | Pending

Tips & Error Prevention

Editorial & Accuracy Note: Tested across Microsoft Excel and Google Sheets with worked sample inputs and outputs. Part of the Know Unlimited Excel & Google Sheets Hub.