Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Anonymous
 
Posts: n/a
Default MATCH Formula, Value=0?

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   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default MATCH Formula, Value=0?

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   Report Post  
Posted to microsoft.public.excel.misc
Anonymous
 
Posts: n/a
Default MATCH Formula, Value=0?

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   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default MATCH Formula, Value=0?

You're welcome !
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Anonymous" wrote in message
...
Thank You!!!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Match function...random search? Les Excel Worksheet Functions 10 July 28th 05 11:54 AM
Formula doesn't match - ? Steve Excel Discussion (Misc queries) 2 July 23rd 05 11:39 PM
Formula Help With MATCH & OFFSET Joe Gieder Excel Worksheet Functions 1 March 2nd 05 10:58 PM


All times are GMT +1. The time now is 05:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"