+ Reply to Thread
Results 1 to 8 of 8

Trying to use =AGGREGATE to find the highest number

  1. #1
    Forum Contributor
    Join Date
    08-21-2010
    Location
    Bournemouth, England
    MS-Off Ver
    Microsoft 365
    Posts
    215

    Trying to use =AGGREGATE to find the highest number

    Hello.
    I'm trying to search columns I and J to find the highest number. Also the same for columns S and T. I want the highest number found in columns I and J to go in cell AC4 and the highest number found in columns S and T to go in cell AD4.
    Thank you
    Attached Files Attached Files
    Last edited by tom hatten; 01-26-2018 at 12:32 PM.

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Trying to use =AGGREGATE to find the highest number

    something like this?

    =MAX(INDEX(($B$4:$B$27=$W4)*$I$4:$J$27,0),INDEX(($B$4:$B$27=$X4)*$I$4:$J$27,0))

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,203

    Re: Trying to use =AGGREGATE to find the highest number

    or...

    =AGGREGATE(4,6,$I$4:$J$27) and

    =AGGREGATE(4,6,$S$4:$T$27)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Trying to use =AGGREGATE to find the highest number

    Try this for AC4
    =AGGREGATE(14,6,((B4:B27=W4)+(B4:B27=X4))*I4:J27,1)

    for AD4
    =AGGREGATE(14,6,((B4:B27=W4)+(B4:B27=X4))*S4:T27,1)

  5. #5
    Forum Contributor
    Join Date
    08-21-2010
    Location
    Bournemouth, England
    MS-Off Ver
    Microsoft 365
    Posts
    215

    Re: Trying to use =AGGREGATE to find the highest number

    Sorry, it seems I didn't explain it correctly. I cell AC4 I want the highest number from columns I and J for Barnsley (1.21). And in cell AD4 I want the highest number from column S and T for Fulham (1.64).
    Thank you for your help.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,203

    Re: Trying to use =AGGREGATE to find the highest number

    =AGGREGATE(14,6,$I$4:$J$27/($B$4:$B$27=W4),1) and

    =AGGREGATE(14,6,$S$4:$T$27/($B$4:$B$27=X4),1)

    That's the second time you've not described that requirement...

  7. #7
    Forum Contributor
    Join Date
    08-21-2010
    Location
    Bournemouth, England
    MS-Off Ver
    Microsoft 365
    Posts
    215

    Re: Trying to use =AGGREGATE to find the highest number

    Yes, I'm sorry. It sounds right when I make the post but realise it's not when people post soultions
    Thank you.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,203

    Re: Trying to use =AGGREGATE to find the highest number

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Find highest version number for each material number
    By keld.strobel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-06-2015, 07:08 AM
  2. [SOLVED] How2 find number in range and return that number or if doesn't exist then the next highest
    By Crawfinator1 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-06-2014, 08:52 AM
  3. [SOLVED] How to find highest number in a column
    By Diane R in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-19-2013, 05:40 AM
  4. Find highest number of sales in a date range and show seller and sale number
    By audiofreak in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-06-2012, 03:34 AM
  5. VBA code to find highest and 2nd highest number based in criteria
    By Michael007 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-25-2011, 08:38 AM
  6. Find highest number
    By wella in forum Excel General
    Replies: 3
    Last Post: 04-07-2010, 12:21 PM
  7. Find highest number in a row
    By Vanessa Fraser in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-02-2008, 07:56 AM

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