+ Reply to Thread
Results 1 to 5 of 5

SUMIF and grouped criteria

  1. #1
    Forum Contributor G.Bregvadze's Avatar
    Join Date
    12-06-2012
    Location
    Georgia
    MS-Off Ver
    Excel 2010 - 2016
    Posts
    256

    SUMIF and grouped criteria

    HI,

    I am a moderate user of MS Excel and currenclty use MS Excel 2010 and MS Excel 2013.


    Recently I work on a file which will sum up some amounts according to criterion.


    My problem an case:

    I use sumif function to sum up values according to criteria. These criteria are name sof departments: Sales, Marketing, Corporate Affairs' Finance, General Administration, Human Resources, IT, Legal, Security.

    the amounts are poste by other users by identifying specific department for which department the amount is allocated.

    But my goal is to sum up values according to 3 criteria: Sales, Marketing and GENERAL. The last criteron must contain other departments except sales and marketing.

    Answer:

    Is there any solution to create a list which will be attached to criteria GENERAL and include those departments? or anything by which I will show to SUMIF function that GENERAL criteria includes other departments except MArketing and sales.

    Problem exists because users must post according to eachd epartment and I must sumup directly by 3 criterion.

    If needed I wil upload a sample file.
    Last edited by G.Bregvadze; 04-10-2013 at 09:04 AM.

  2. #2
    Forum Contributor G.Bregvadze's Avatar
    Join Date
    12-06-2012
    Location
    Georgia
    MS-Off Ver
    Excel 2010 - 2016
    Posts
    256

    Re: SUMIF and grouped criteria

    Please help, any suggestions are welcomed. Thanks in advance

  3. #3
    Forum Contributor G.Bregvadze's Avatar
    Join Date
    12-06-2012
    Location
    Georgia
    MS-Off Ver
    Excel 2010 - 2016
    Posts
    256

    Re: SUMIF and grouped criteria

    Or if any other function can be used please provide me with the solution.

    Hope you help me.

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: SUMIF and grouped criteria

    To sum everything except Sales and Marketing try SUMIFS like this

    =SUMIFS(B:B,A:A,"<>Sales",A:A,"<>Marketing")

    assuming depts in column A and amounts in B

    .....OR...create a list of all the other depts, assuming that's in D2:D8 use this formula

    =SUMPRODUCT(SUMIF(A:A,D2:D8,B:B))
    Audere est facere

  5. #5
    Forum Contributor G.Bregvadze's Avatar
    Join Date
    12-06-2012
    Location
    Georgia
    MS-Off Ver
    Excel 2010 - 2016
    Posts
    256

    Re: SUMIF and grouped criteria

    Thanks a lot for your help and consideration. the formula worked just like expected.

    Both of them works.

    THAAAANKS

+ 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