Hello everyone,
I need to find an alternative formula to "IF", because my need now surpasses the maximum allowed nested if statements.
Cel C21 contains color names and cel D21 needs to produce the color code associated to the color name in C21.
There are over 100 color names.
I used to use IF(C21="Walnut", "HZ-0854", IF(C21="Russet Olive", "2021-3", "")) and so on.
But the available colors now surpass the allowed IF statements and I don't know what to do.
Can anyone help? Here are a few colors and their codes if this helps to demonstrate how the formula should be:
Dark Malt = 6008
Whisky Gold = 6005
Cinnamon = C90120-414
Golden Maple = C90777-2
Mountain Timber = C90768-415-02
Amber = 88006-1
Heritage Oak = 151
Amber Walnut = 060
Southern Maple = 2211-1
Ash Acacia = ND2167
As mentioned before, there are over 100 colors.. so the simplest way to this would be appreciated.
Thanks everyone!
I need to find an alternative formula to "IF", because my need now surpasses the maximum allowed nested if statements.
Cel C21 contains color names and cel D21 needs to produce the color code associated to the color name in C21.
There are over 100 color names.
I used to use IF(C21="Walnut", "HZ-0854", IF(C21="Russet Olive", "2021-3", "")) and so on.
But the available colors now surpass the allowed IF statements and I don't know what to do.
Can anyone help? Here are a few colors and their codes if this helps to demonstrate how the formula should be:
Dark Malt = 6008
Whisky Gold = 6005
Cinnamon = C90120-414
Golden Maple = C90777-2
Mountain Timber = C90768-415-02
Amber = 88006-1
Heritage Oak = 151
Amber Walnut = 060
Southern Maple = 2211-1
Ash Acacia = ND2167
As mentioned before, there are over 100 colors.. so the simplest way to this would be appreciated.
Thanks everyone!