G
goofy-duck
Hi all
I'm trying to figure out how I can return an index to an array of values
using "MATCH".
It should be a simple MATCH function but after digging through the questions
& answers on "match" and trying using help for a couple of hours I gave up.
I have an array, {"NONE","NEGLIGIBLE","MILD","MODERATE","HIGH","SEVERE"} and
want to match this array against the value out of a cell.
Problem is the double-quotes, as far as I can tell.
This function below works,
=MATCH("HIGH",{"NONE","NEGLIGIBLE","MILD","MODERATE","HIGH","SEVERE"},1)
But these functions below always fail, the first is an attempt to use a
literal value, the second is an attempt to use a value out of a cell
=MATCH(CONCATENATE("""",HIGH,""""),{"NONE","NEGLIGIBLE","MILD","MODERATE","HIGH","SEVERE"},)
MATCH(CONCATENATE("""",N13,""""),{"NONE","NEGLIGIBLE","MILD","MODERATE","HIGH","SEVERE"},)
What am I doing wrong ?
I'm trying to figure out how I can return an index to an array of values
using "MATCH".
It should be a simple MATCH function but after digging through the questions
& answers on "match" and trying using help for a couple of hours I gave up.
I have an array, {"NONE","NEGLIGIBLE","MILD","MODERATE","HIGH","SEVERE"} and
want to match this array against the value out of a cell.
Problem is the double-quotes, as far as I can tell.
This function below works,
=MATCH("HIGH",{"NONE","NEGLIGIBLE","MILD","MODERATE","HIGH","SEVERE"},1)
But these functions below always fail, the first is an attempt to use a
literal value, the second is an attempt to use a value out of a cell
=MATCH(CONCATENATE("""",HIGH,""""),{"NONE","NEGLIGIBLE","MILD","MODERATE","HIGH","SEVERE"},)
MATCH(CONCATENATE("""",N13,""""),{"NONE","NEGLIGIBLE","MILD","MODERATE","HIGH","SEVERE"},)
What am I doing wrong ?