Hello,
I have a questionnaire spreadsheet in which numbers are used to rank the statements. However, I want to use a drop down list of answers in words, rather than numbers, but need these answers to create a predefined number in another cell.
For example the drop down list will have yes (3), no(1), partially(2) and not applicable (0) and when one is selected its associated number pops up in an adjacent cell.
Thanks in advance for your help.
Put
A1: not applicable
A2: no
A3: partially
A4: yes
For cell B1: Validation List refers to A1:A4
This function will give you the number
=match(B1,A1:A4,0)-1
Last edited by rwgrietveld; 02-12-2010 at 09:52 AM.
Looking for great solutions but hate waiting?
Seach this Forum through Google
www.Google.com (e.g. +multiple +IF site:excelforum.com/excel-general/ )
www.Google.com (e.g. +fill +combobox site:excelforum.com/excel-programming/ )
Ave,
Ricardo
You can do this:
=LOOKUP(B1,{"no","not applicable","partially","yes"},{1,0,2,3})
Define words as you like only sort them alphabeticaly
"Relax. What is mind? No matter. What is matter? Never mind!"
Thanks a lot zbor, simple yet effective!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks