View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default If with AND - Is this correct?

"Greg" wrote:
It came back with #NA


Did you remember to "array-enter" the formula ie to press CTRL+SHIFT+ENTER
CSE] to confirm the formula (instead of just pressing ENTER)??

If you did the above confirmation correctly, you should see Excel wrap curly
braces: { } around the formula in the formula bar. If you don't see it (the
curly braces), click inside the formula bar and try the CSE confirmation
again.

The visual check on the curly braces is the *only way* (afaik) to check that
the formula is correctly array-entered. If the formula is NOT array-entered,
it'll return an #N/A, despite there being a obvious match.

Here's a quick working sample to prove that it works:
http://www.freefilehosting.net/download/3d5cd
Array index n match.xls
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---