Results 1 to 5 of 5
  1. #1
    Star Lounger
    Join Date
    Apr 2006
    Location
    Accra, Ghana
    Posts
    84
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Largest & Smallest unique numbers (2000)

    Hallo

    I was wondering if someone can point me in the right direction. I have tried different approaches but the normal formulas does not solve my problem.

    I have a long list of numbers. There are duplicates in the numbers. I am trying to pull out the 5 largest numbers and also the 5 smallest numbers.

    Any help would be appreciated.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Largest & Smallest unique numbers (2000)

    See the attached workbook. For the largest and smallest numbers, a simple MAX / MIN formula is used, for the others, array formulas combining MAX / MIN and IF are used. Array formulas must be confirmed with Ctrl+Shift+Enter.

  3. #3
    Star Lounger
    Join Date
    Jan 2004
    Posts
    77
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Largest & Smallest unique numbers (2000)

    Hans

    Thank you very much, I have one more question: what is the purpose of 9E+307 / -9E+307.
    Sorry for the ignorant question but I always try to understand why something is done.
    Thank you again.
    Regards
    Kobus

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Largest & Smallest unique numbers (2000)

    9E+307 (i.e. a 9 followed by 307 zeros!) is near to the largest number possible in Excel, and -9E+307 is its negative counterpart. They are used as numbers way beyond the values your list is likely to contain.

  5. #5
    Star Lounger
    Join Date
    Jan 2004
    Posts
    77
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Largest & Smallest unique numbers (2000)

    Hans

    Thank you very much, really very informative.
    Once again your knowledge and patience has helped me a lot

    Thank you once again
    Regards
    Kobus

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •