function details show value, but display shows #n/a

G

Guest

Here is my simple test formula:
=MATCH(TRUE,C18:E18>0,0)
c18= 0
d18= 1
e18=2
The details of the fx show the following:
Lookup-value= TRUE
Lookup-array=(FALSE,TRUE,TRUE)
match type=0
Formula result=2 ,which is the response I want.

My sheet answer, however is #n/a while it should be 2. I don't know why.
Please help
 
G

Guest

To make that formula work you need to indicate to Excel that an array is
being used.

Try this:
Edit the formula cell, but make no changes
Commit that array formula by holding down the [Ctrl][Shift] keys when you
press [Enter].

Excel will put curly braces { } around the formula and you should see the
result you want. Note: you cannot just type in the braces...you have to let
Excel put them in.

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro
 
G

Guest

Great and fast reply. Works exactly as suggested. Many thanks, Mike

Ron Coderre said:
To make that formula work you need to indicate to Excel that an array is
being used.

Try this:
Edit the formula cell, but make no changes
Commit that array formula by holding down the [Ctrl][Shift] keys when you
press [Enter].

Excel will put curly braces { } around the formula and you should see the
result you want. Note: you cannot just type in the braces...you have to let
Excel put them in.

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


mike said:
Here is my simple test formula:
=MATCH(TRUE,C18:E18>0,0)
c18= 0
d18= 1
e18=2
The details of the fx show the following:
Lookup-value= TRUE
Lookup-array=(FALSE,TRUE,TRUE)
match type=0
Formula result=2 ,which is the response I want.

My sheet answer, however is #n/a while it should be 2. I don't know why.
Please help
 

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