SuperFerret
Well-known Member
- Joined
- Mar 2, 2009
- Messages
- 515
I have a spreadsheet that is used every day, and it contains this formula:
All this does is look at what word is chosen from a dropdown in a specified cell (for arguments sake A1) and returns a numeric value based on that
Pink - 4
Black - 5
Green - 3
Blue - 1
Yellow - 7
Otherwise default to 8
I've been trying to use array(?) but I haven't got a clue what I'm doing or whether this would actually be any quicker?
Code:
=IF(A1="Pink",4,IF(A1="Black",5,IF(A1="Green",3,IF(A1="Blue",1,IF(A1="Yellow",7,8)))))
All this does is look at what word is chosen from a dropdown in a specified cell (for arguments sake A1) and returns a numeric value based on that
Pink - 4
Black - 5
Green - 3
Blue - 1
Yellow - 7
Otherwise default to 8
I've been trying to use array(?) but I haven't got a clue what I'm doing or whether this would actually be any quicker?