Why doesn't RANK(1,{2,1}) work?

  • Thread starter Thread starter joeu2004
  • Start date Start date
J

joeu2004

I am using Office Excel 2003. According to the offline Help page, the
second argument of RANK() is (emphasis added): "an __array__ of, or a
reference to, a list of numbers". So why does the following result in
a syntax error?

=rank(1, {2,1})

Isn't {2,1} "an array of" a list of numbers?

Obviously, I can work around this by putting 2 and 1 into B1:B2, for
example, and using =RANK(1,B1:B2). But that is "a reference to" a
list of numbers.
 
joeu2004 said:
I am using Office Excel 2003. According to the offline Help page, the
second argument of RANK() is (emphasis added): "an __array__ of, or a
reference to, a list of numbers". So why does the following result in
a syntax error?

=rank(1, {2,1})
....

Long-standing error in Excel's help files. One of many. A cynic might
think Microsoft's apparent lack of interest in fixing this might have
something to do with their overwhelming market share.
 
Long-standing error in Excel's help files. One of many. A cynic
might think Microsoft's apparent lack of interest in fixing this
might have something to do with their overwhelming market share.

Thanks. Exactly the answer I expected, cynical comment and all ;-).
 

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

Back
Top