S
smoddelm
I have a spreadsheet opened in Excel 2007 with the following values (fo
formulas -- values are hard-wired) in cells A3 through A18:
39,814
40,179
40,544
40,909
41,275
41,640
0
0
0
0
0
0
0
0
0
0
Cell A1 has the value 39,814 -- the same as cell A3. In cell C3, I have the
following formula: '=MATCH(A1,A3:A18)." The formula returns the value "16"
-- the total number of entries in A3 - A18. If I shorten the MATCH formula
to include only the values through A14 (or any lesser row), it returns the
value "1" -- the correct answer. Agai, there are zeroes in cells A9 through
A18, so the problem is not something that occurs as soon as the value in
Column A dorps to zero -- it works fine if my range includes anything up to
the first 6 zero values in Column A. If I replace the zero in Cell A9 with
50,000, I get two more rows of "correct" answers (not just one more row).
And if I replace the zero in cell A10 with 60,000, all the answers are
"correct."
I created this to simply illustrate an issue I am having in a large
spreadsheet that I inherited, where to take another approach (than using the
MATCH function) would involve much modification to what the author set up.
So I really need to get MATCH to work right. The large spreadsheet worked
fine in Excel 2003 (and still does). (However, my little example spreadsheet
has the same problem when I open it in 2003 as in 2007!)
I would appreciate any help in figuring out why this happens -- it's drving
me nuts. Thanks.
formulas -- values are hard-wired) in cells A3 through A18:
39,814
40,179
40,544
40,909
41,275
41,640
0
0
0
0
0
0
0
0
0
0
Cell A1 has the value 39,814 -- the same as cell A3. In cell C3, I have the
following formula: '=MATCH(A1,A3:A18)." The formula returns the value "16"
-- the total number of entries in A3 - A18. If I shorten the MATCH formula
to include only the values through A14 (or any lesser row), it returns the
value "1" -- the correct answer. Agai, there are zeroes in cells A9 through
A18, so the problem is not something that occurs as soon as the value in
Column A dorps to zero -- it works fine if my range includes anything up to
the first 6 zero values in Column A. If I replace the zero in Cell A9 with
50,000, I get two more rows of "correct" answers (not just one more row).
And if I replace the zero in cell A10 with 60,000, all the answers are
"correct."
I created this to simply illustrate an issue I am having in a large
spreadsheet that I inherited, where to take another approach (than using the
MATCH function) would involve much modification to what the author set up.
So I really need to get MATCH to work right. The large spreadsheet worked
fine in Excel 2003 (and still does). (However, my little example spreadsheet
has the same problem when I open it in 2003 as in 2007!)
I would appreciate any help in figuring out why this happens -- it's drving
me nuts. Thanks.