Início › Funções › Pesquisa e referência › ESCOLHER
fx
ESCOLHER
Pesquisa e referência  ·  Desde: Excel 2003  ·  9 idiomas

Use núm_índice para retornar um valor da lista de argumentos de valor. Use ESCOLHER para selecionar um valor entre 254 valores que se baseie no número de índice. Por exemplo, se do valor1 até o valor7 forem os números da semana, ESCOLHER retorna um dos dias quando um número entre 1 e 7 for usado como núm_índice.

🌐 Traduções

English CHOOSE
Deutsch WAHL
Français CHOISIR
Español ELEGIR
Italiano SCEGLI
Português ESCOLHER
Nederlands KIEZEN
Polski WYBIERZ
Русский ВЫБОР

📦 Disponibilidade

Versão do ExcelDisponível
Excel 2007 ✓
Excel 2013 ✓
Excel 2019 ✓
Excel 2021 ✓
Microsoft 365 ✓
Traduzir uma fórmula com esta função
fx EN
fx PT

⌨ Sintaxe

CHOOSE(index_num,value1,[value2],...)

Argumentos

index_num (obrigatório) — Specifies which value argument is selected. Index_num must be a number between 1 and 254, or a formula or reference to a cell containing a number between 1 and 254. If index_num is 1, CHOOSE returns value1; if it is 2, CHOOSE returns value2; and so on. If index_num is less than 1 or greater than the number of the last value in the list, CHOOSE returns the #VALUE! error value. If index_num is a fraction, it is truncated to the lowest integer before being used.

▶ Exemplos

=CHOOSE(2,A2,A3,A4,A5)
=CHOOSE(4,B2,B3,B4,B5)
=CHOOSE(3,"Wide",115,"world",8)

Funções relacionadas

Copiado para a área de transferência