ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Why doesn't RANK(1,{2,1}) work? (https://www.excelbanter.com/excel-worksheet-functions/176602-why-doesnt-rank-1-%7B2-1%7D-work.html)

joeu2004

Why doesn't RANK(1,{2,1}) work?
 
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.

Harlan Grove[_2_]

Why doesn't RANK(1,{2,1}) work?
 
joeu2004 wrote...
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.

joeu2004

Why doesn't RANK(1,{2,1}) work?
 
On Feb 13, 12:16*pm, Harlan Grove wrote:
joeu2004 wrote...
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.


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


All times are GMT +1. The time now is 07:10 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com