bug in LARGE function?

if I have done this correctly, this link (
https://drive.google.com/file/d/1iJ3x4tKNv3Hr9ucYnJqRGWE7Ky8ivfmL/view?usp=sharing
) should give you access to a file that I have trying to get the LARGE
function to work

created in calc 7.0.2.2 since updated to 7.0.3 (but large function not
working, or at least not how I thought it should :frowning:

a summary of what I have in case you cant download the file

in cell b4 to z4 are values 320, 320, 320, 320, 320, 320, 320, 320, 320
,320, 320, 320, 320, 320, 320, 320, 322, 322,323, 323, 323, 323, 323, 323,
323

in cell b8 formula =LARGE(B4:Z4,2) gives the result 323 (but I would
think that it should return 322? - right?
i am using the LARGE function incorrectly?

thanks

The 2 in your formula is the rank. Because you have 7 identical values of 323 in your data, the formula will not return 322 until you change it to =LARGE(B4:Z4,8)

Philip

I suspect it is working as it should. (In any case, as you have seen, this is what it does.) The largest number in your set is 323. The second largest is also 323, and so on down to the seventh largest. You need to get to the eighth largest before you get to the first occurrence (of two) of 322, and then the tenth to twenty-fifth largest are all 320.

I trust this helps.

Brian Barker

Date sent: Wed, 25 Nov 2020 20:09:39 -0700 (MST)

if I have done this correctly, this link (

https://drive.google.com/file/d/1iJ3x4tKNv3Hr9ucYnJqRGWE7Ky8ivfmL/view?usp=sharing
) should give you access to a file that I have trying to get the LARGE
function to work

created in calc 7.0.2.2 since updated to 7.0.3 (but large function not
working, or at least not how I thought it should :frowning:

a summary of what I have in case you cant download the file

in cell b4 to z4 are values 320, 320, 320, 320, 320, 320, 320, 320, 320
,320, 320, 320, 320, 320, 320, 320, 322, 322,323, 323, 323, 323, 323, 323,
323

in cell b8 formula =LARGE(B4:Z4,2) gives the result 323 (but I would
think that it should return 322? - right?
i am using the LARGE function incorrectly?

I'm not sure why you expect 322 to be the second largest value when there
are 7 values that are larger than 322.

Kind regards

Johnny Rosenberg