MATCH function (2003 -> 2007)

R

RL

Why is it foruma #2 below returns "#N/A" in Excel 2007?

1. =MATCH(A2, A2:A25,0) [Excel 2007 returns the value of A2, assuming A2
contains one of the values found in A2:A25]

2. =MATCH (A2, B2, 0), where B2="A2:A25" [Excel 2007 returns "#N/A."]

RL
PS. In Excel 2003, both formula returns the same correct A2 value.
 
S

Sheeloo

Excel 2003 also returns #N/A
with
=MATCH(A2, B2,0)
with B having the value A2:A25 (without quotes)

However
=MATCH(A2, INDIRECT(B2),0)
works
 
R

RL

Thanks! It works...

Sheeloo said:
Excel 2003 also returns #N/A
with
=MATCH(A2, B2,0)
with B having the value A2:A25 (without quotes)

However
=MATCH(A2, INDIRECT(B2),0)
works
-------------------------------------
Pl. click ''''Yes'''' if this was helpful...



RL said:
Why is it foruma #2 below returns "#N/A" in Excel 2007?

1. =MATCH(A2, A2:A25,0) [Excel 2007 returns the value of A2, assuming A2
contains one of the values found in A2:A25]

2. =MATCH (A2, B2, 0), where B2="A2:A25" [Excel 2007 returns "#N/A."]

RL
PS. In Excel 2003, both formula returns the same correct A2 value.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top