+ Reply to Thread
Results 1 to 4 of 4

Using Max and Sumif together

  1. #1
    Registered User
    Join Date
    02-23-2016
    Location
    Bangalore
    MS-Off Ver
    2010
    Posts
    65

    Using Max and Sumif together

    Hi,

    I need to find a formula in order to find the name of the sector with the highest fee. Please see the enclosed sample file. I have also stated the expected outcome in the same file. I understand this could be done with Max and Sumifs formula but cant figure it out.

    What i need is to have the name of the sector against a person for which his combined fee is maximum. Ex: since ABC has worked for 2 sectors (A&M and C&M) but his max fee is in C&M, so his sector with max fee should be C&M. Similarly for NBF, the sector with max fee should be AED as his fee add up to 30 as against A&M with a fee of 20. Also, if only 1 fee is there then it should take that as max and throw the sector. Such is the case of FGH.

    Can anyone please help?
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Using Max and Sumif together

    In F3 Cell - Array Formula - Requires CTRL+SHIFT+ENTER

    Please Login or Register  to view this content.
    Drag the F3 Cell formula down.

    Array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT key then hit ENTER.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Using Max and Sumif together

    Or try this regular formula in F3
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Using Max and Sumif together

    Or in another way
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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] Sumif - Trying to figure out how to tell a sumif to look for multiple naming conventions
    By Typirious in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2017, 02:11 AM
  2. [SOLVED] SUMIF: don't understand that purpose of the OFFSET inside SUMIF
    By Vitalite in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-30-2017, 03:13 AM
  3. Replies: 2
    Last Post: 06-21-2017, 06:32 PM
  4. SumIf formula or Sumif with pivottable combined question
    By mcgleeuw in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-10-2015, 01:05 PM
  5. Subtracting from the SUMIF with the difference from the SUMIF range
    By iamblue91 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-04-2014, 09:01 PM
  6. [SOLVED] Shorten SUMIF + SUMIF + SUMIF each with same reference range but different criteria???
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-13-2014, 09:25 PM
  7. Nested SUMIF statement or multiple SUMIF's
    By Dan27 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-17-2009, 06:55 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