I found a workaround by converting to text but would like to know what cold be causing this.
=====================================
Match(1.2,ARRAY,0) cannot find the row with number 1.2
I imported data from a CSV file. One column is group number and it's sorted on that column. I created a column that added 0.1 to each subsequent row with the same group number to get a column like this:
GroupMembers
1.1
1.2
2.1
2.2
2.3
2.4
3.1
3.2
When I use the formula =MATCH(1.2,GroupMembers,0) on this calculated column, the result is #N/A
When I manually overwrite (type) the data, then the match formula works.
The values in the column are verified to be numbers using =ISNUMBER(F5) with the result TRUE.
The column is formulated as a number. If I increase the decimal places, the display changes appropriately.
When I perform a mathematical operation to multiply by 1, add 0, or multiply by 10, I get the appropriate numerical results., so it behaves as a number for everything except the match formula.
When I typeover the calculated cell with the same number, voila, the Match formula now magically works!
My solution is to use the TEXT function to create a new text column and in the Match formula so that text finds text. =MATCH(TEXT(1.2,"0.0"),$R$5:$R$19,0)
But what is going on? When does a value act and display like a number but somehow isn't a number? If there was a space or magical invisible character, then mathematical formulas and changing the number of decimals displayed wouldn't work, right?
When I use the =MATCH(TEXT(1.2,"0.0"),$R$5:$R$19,0) formula on the original column, I get the #N/A value, so it's not recognized as matching text either. Currently the list is sorted although it doesn't need to be for an exact match.
A mystery.
=====================================
Match(1.2,ARRAY,0) cannot find the row with number 1.2
I imported data from a CSV file. One column is group number and it's sorted on that column. I created a column that added 0.1 to each subsequent row with the same group number to get a column like this:
GroupMembers
1.1
1.2
2.1
2.2
2.3
2.4
3.1
3.2
When I use the formula =MATCH(1.2,GroupMembers,0) on this calculated column, the result is #N/A
When I manually overwrite (type) the data, then the match formula works.
The values in the column are verified to be numbers using =ISNUMBER(F5) with the result TRUE.
The column is formulated as a number. If I increase the decimal places, the display changes appropriately.
When I perform a mathematical operation to multiply by 1, add 0, or multiply by 10, I get the appropriate numerical results., so it behaves as a number for everything except the match formula.
When I typeover the calculated cell with the same number, voila, the Match formula now magically works!
My solution is to use the TEXT function to create a new text column and in the Match formula so that text finds text. =MATCH(TEXT(1.2,"0.0"),$R$5:$R$19,0)
But what is going on? When does a value act and display like a number but somehow isn't a number? If there was a space or magical invisible character, then mathematical formulas and changing the number of decimals displayed wouldn't work, right?
When I use the =MATCH(TEXT(1.2,"0.0"),$R$5:$R$19,0) formula on the original column, I get the #N/A value, so it's not recognized as matching text either. Currently the list is sorted although it doesn't need to be for an exact match.
A mystery.