Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I was using this forumula, which I found in another thread here...
=IF(A2="","",MATCH(A2,{"I strongly disagree","I disagree","Neutral", "I agree","I strongly agree"},FALSE)) Is there any way to set your own values for what these mean? I don't want strongly disagree to equal 1, but zero. I tried changing false to -1, but it didn't work. What can I do to set up specific values for each option? Thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
One way, using INDEX / MATCH:
=IF(A2="","",INDEX({0;1;2;3;4},MATCH(A2,{"I strongly disagree";"I disagree";"Neutral";"I agree";"I strongly agree"},0))) Above will return the values: {0;1;2;3;4} corresponding to: {"I strongly disagree";"I disagree";"Neutral";"I agree";"I strongly agree"} -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Anonymous" wrote in message ... I was using this forumula, which I found in another thread here... =IF(A2="","",MATCH(A2,{"I strongly disagree","I disagree","Neutral", "I agree","I strongly agree"},FALSE)) Is there any way to set your own values for what these mean? I don't want strongly disagree to equal 1, but zero. I tried changing false to -1, but it didn't work. What can I do to set up specific values for each option? Thanks |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thank You!!!
"Max" wrote: One way, using INDEX / MATCH: =IF(A2="","",INDEX({0;1;2;3;4},MATCH(A2,{"I strongly disagree";"I disagree";"Neutral";"I agree";"I strongly agree"},0))) Above will return the values: {0;1;2;3;4} corresponding to: {"I strongly disagree";"I disagree";"Neutral";"I agree";"I strongly agree"} -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Anonymous" wrote in message ... I was using this forumula, which I found in another thread here... =IF(A2="","",MATCH(A2,{"I strongly disagree","I disagree","Neutral", "I agree","I strongly agree"},FALSE)) Is there any way to set your own values for what these mean? I don't want strongly disagree to equal 1, but zero. I tried changing false to -1, but it didn't work. What can I do to set up specific values for each option? Thanks |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You're welcome !
-- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Anonymous" wrote in message ... Thank You!!! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Match then lookup | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Match function...random search? | Excel Worksheet Functions | |||
Formula doesn't match - ? | Excel Discussion (Misc queries) | |||
Formula Help With MATCH & OFFSET | Excel Worksheet Functions |