The result is that the range B5:B16 and range D5:D16 are joined together horizontally into a single range.

### The CHOOSE function

The CHOOSE function is used to select arbitrary values by numeric position. CHOOSE is a flexible function and accepts a list of text values, numbers, cell references, in any combination. For example, if we have the colors “red”, “blue”, and “green”, we can use CHOOSE like this: If we give CHOOSE an array constant like {1,2}, CHOOSE will return the first and second values in an array at the same time: The result is an array that contains two values and, in the dynamic array version of Excel, these values spill onto the worksheet into the range G5:H16.

### Applications

Traditionally, the use of CHOOSE function to combine ranges is used up in tricky array formulas. The formulas below are good examples:

VLOOKUP case-sensitive VLOOKUP multiple criteria

In these formulas, the CHOOSE function is used to create a new table (in memory) that can be used by the VLOOKUP function to workaround a difficult problem. Note: the forthcoming HSTACK function will make this use of CHOOSE unnecessary.

### Dave Bruns

Hi - I’m Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.