The Amount column
| A | B | C | |
|---|---|---|---|
| 1 | Region | Rep | Amount |
| 2 | East | Ana | 1200 |
| 3 | West | Ben | 850 |
| 4 | East | Cara | 430 |
| 5 | North | Dan | 970 |
| 6 | West | Eli | 1500 |
Formula: F2: =CHOOSECOLS(A2:C6,3)
Result: Spills down: 1200, 850, 430, 970, 1500
Column 3 of the block holds the amounts.
CHOOSECOLS with worked examples you can test in the live grid. The argument details are in the Excel guide.
The arguments and common errors are covered in the CHOOSECOLS Excel guide; check the function help in Google Sheets for its own argument list.
| A | B | C | |
|---|---|---|---|
| 1 | Region | Rep | Amount |
| 2 | East | Ana | 1200 |
| 3 | West | Ben | 850 |
| 4 | East | Cara | 430 |
| 5 | North | Dan | 970 |
| 6 | West | Eli | 1500 |
Formula: F2: =CHOOSECOLS(A2:C6,3)
Result: Spills down: 1200, 850, 430, 970, 1500
Column 3 of the block holds the amounts.
| A | B | C | |
|---|---|---|---|
| 1 | Region | Rep | Amount |
| 2 | East | Ana | 1200 |
| 3 | West | Ben | 850 |
| 4 | East | Cara | 430 |
| 5 | North | Dan | 970 |
| 6 | West | Eli | 1500 |
Formula: F2: =CHOOSECOLS(A2:C6,-2)
Result: Spills down: Ana, Ben, Cara, Dan, Eli
-2 is the second column from the right, which is Rep.
| A | B | C | |
|---|---|---|---|
| 1 | Region | Rep | Amount |
| 2 | East | Ana | 1200 |
| 3 | West | Ben | 850 |
| 4 | East | Cara | 430 |
| 5 | North | Dan | 970 |
| 6 | West | Eli | 1500 |
Formula: F2: =TEXTJOIN("-",,CHOOSECOLS(A2:C2,3,1))
Result: 1200-East
Column 3 (the amount) is placed before column 1 (the region).
A tiny spreadsheet with example data. Edit the formula or any number and see the result.
Formula in F2: =CHOOSECOLS(A2:D7,1,3)
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Region | Product | Units | Price | Result | ||
| 2 | East | Pen | 120 | 2.5 | East | 120 | |
| 3 | West | Pen | 80 | 2.5 | West | 80 | |
| 4 | East | Book | 45 | 12 | East | 45 | |
| 5 | North | Book | 60 | 12 | North | 60 | |
| 6 | West | Lamp | 30 | 25 | West | 30 | |
| 7 | East | Lamp | 15 | 25 | East | 15 |
Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.
Enter — commit · F2 — edit · F4 — $ in a reference · Ctrl+C/Ctrl+V — copy and paste · Ctrl+Z — undo
Esc or F6 — leave the sheet for the «Check» button · Shift+Tab in the first cell — back to the page