+ Reply to Thread
Results 1 to 6 of 6

Formula to enter highest number from a range of cells

  1. #1
    Forum Contributor
    Join Date
    06-28-2009
    Location
    newcastle, uk
    MS-Off Ver
    Excel 2010
    Posts
    187

    Formula to enter highest number from a range of cells

    Hi all

    I have attached an excel sheet with an explanation on what type of formula I am looking for. This information should complete my chart I have been putting together, so there shouldnt be lots more questions from me as I have bombarded the forums the last few days lol.

    Thanks
    Gemma
    Attached Files Attached Files
    Last edited by batjl9; 03-26-2011 at 04:36 PM.

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Formula to enter highest number from a range of cells

    Why is the formula in your example under the 1200 m column but you say you want 1000 m?

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Formula to enter highest number from a range of cells

    Assuming you want the formula in cell D7 you can use this:

    =MAX(AG2:AG982*((U2:U982=$A$1)*(X2:X982=D$1)*(Y2:Y982=$A7)))

    It is an array formula so it has to be entered with Ctrl + Shift + Enter

    I have not used the full ranges because you have #N/A errors beyond the range I used. You will have to get rid of those before you can use the full ranges in the formula otherwise your result will also be #N/A.

    EDIT - sorry - forgot to absolute reference

    =MAX($AG$2:$AG$982*(($U$2:$U$982=$A$1)*($X$2:$X$982=D$1)*($Y$2:$Y$982=$A7)))
    Last edited by Cutter; 03-26-2011 at 03:31 PM.

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Formula to enter highest number from a range of cells

    Hi,

    No formulas needed. Just create a Pivot showing Max instead of Sum or Count.
    See attached.

    Good Luck at the Races.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Formula to enter highest number from a range of cells

    If you want the formula method (before I delete it) here it is:
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    06-28-2009
    Location
    newcastle, uk
    MS-Off Ver
    Excel 2010
    Posts
    187

    Re: Formula to enter highest number from a range of cells

    Thank you both so much for your help. Much appreciated.

    Gemma

+ 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