+ Reply to Thread
Results 1 to 5 of 5

Formula to select the highest number, and the lowest and find out the range

  1. #1
    Registered User
    Join Date
    05-13-2013
    Location
    Southampton,England
    MS-Off Ver
    Excel 2007
    Posts
    35

    Formula to select the highest number, and the lowest and find out the range

    Hello,
    I need to create a formula that analises 5 cells and chooses the highest and the lowest number in them, and finds out the differance between them ... how do i do that?

    Regards
    Dimitry

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Formula to select the highest number, and the lowest and find out the range

    max(your cells)-min(your cells)
    eg
    =max(a1:a5)-min(a1:a5)
    or even
    max(a1,b3,c8,g1,h2)-min(a1,b3,c8,g1,h2)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Formula to select the highest number, and the lowest and find out the range

    Hi Nero,

    use below formula:-

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  4. #4
    Registered User
    Join Date
    05-14-2013
    Location
    Bhilai
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Formula to select the highest number, and the lowest and find out the range

    If in cell A1 your first no. is there and in A2 second and so on...
    then the formula will be =(MAX(A1:A8)-MIN(A1:A8))
    Regards
    Avinesh

  5. #5
    Registered User
    Join Date
    05-13-2013
    Location
    Southampton,England
    MS-Off Ver
    Excel 2007
    Posts
    35

    Re: Formula to select the highest number, and the lowest and find out the range

    Quote Originally Posted by martindwilson View Post
    max(your cells)-min(your cells)
    eg
    =max(a1:a5)-min(a1:a5)
    or even
    max(a1,b3,c8,g1,h2)-min(a1,b3,c8,g1,h2)
    Eeeepic!! the second one worked like a charm!
    Thank you very much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1