[Excel] Assign value to derived list text
Solved
cestbibi
Posted messages
8
Status
Membre
-
gbinforme Posted messages 14930 Registration date Status Contributeur Last intervention -
gbinforme Posted messages 14930 Registration date Status Contributeur Last intervention -
Hello everyone,
I am creating an Excel file with a dropdown list with 4 choices.
I would like to perform a calculation in another column where each choice from my dropdown list corresponds to a value.
My dropdown list consists of the choices: full, three-quarters full, half full, and three-quarters empty.
I want to perform a calculation in another column where if the choice from the dropdown list is full, the value used in the calculation will be 1, if the choice is three-quarters full the value will be 0.75, etc.
Thank you in advance for your responses.
Best regards
Configuration: Windows XP / Firefox 3.6.6
I am creating an Excel file with a dropdown list with 4 choices.
I would like to perform a calculation in another column where each choice from my dropdown list corresponds to a value.
My dropdown list consists of the choices: full, three-quarters full, half full, and three-quarters empty.
I want to perform a calculation in another column where if the choice from the dropdown list is full, the value used in the calculation will be 1, if the choice is three-quarters full the value will be 0.75, etc.
Thank you in advance for your responses.
Best regards
Configuration: Windows XP / Firefox 3.6.6
3 réponses
Hello
To obtain the value used in your calculation, you can use (with your choice in A1) this formula:
Of course, you can "drag" this formula across your column or name your formula to simplify your calculations.
--
Always zen
To obtain the value used in your calculation, you can use (with your choice in A1) this formula:
=CHOOSE(MATCH(A1;{"full";"three quarters full";"half full";"three quarters empty"};0);1;0.75;0.5;0.25) Of course, you can "drag" this formula across your column or name your formula to simplify your calculations.
--
Always zen
I’m going to pick this one up on the way.
Thank you.
Best regards.
The Penguin