Forum Discussion
Elsaexcel
Jun 17, 2022Copper Contributor
définir une langue en fonction d'une nationalité / define a language according to a nationality
Bonjour,
je voudrais dans un tableau Excel dans lequel j'ai indiqué des nationalités, ajouter une colonne dans laquelle la nationalité renverrait automatiquement à la langue parlée.
Exemple si la case D6 indique nationalité nigériane, que la case E6 indique en systématique "anglais", si la case D7 indique syrien, que la case E7 indique "arabe".
j'ai essayé de le faire avec une fonction SI mais je n'y parviens pas. A savoir que dans le tableau en question, j'ai à minima 30 nationalités à indiquer et je voudrais que pour chaque nationalité cela renvoi automatiquement à la langue parlée.
pourriez-vous me dire quelle formule utiliser?
En vous remerciant,
Elsa
Hello,
I would like in an Excel table in which I have indicated nationalities, to add a column in which the nationality would automatically refer to the language spoken.
Example if box D6 indicates Nigerian nationality, box E6 systematically indicates "English", if box D7 indicates Syrian, box E7 indicates "Arab".
I tried to do it with an IF function but I can't. Namely that in the table in question, I have at least 30 nationalities to indicate and I would like for each nationality to automatically refer to the language spoken.
could you tell me what formula to use?
Thanking you,
Elsa
See the attached sample workbook. I created a lookup table on the second sheet (Languages).
On the first sheet, I created both an XLOOKUP formula (for Excel in Microsoft 365 and Office 2021) and a VLOOKUP formula (for older versions).
Remark: the lookup table on the second sheet is only intended as an example. If anyone is offended by it, I apologize in advance.
- mathetesSilver Contributor