+ Reply to Thread
Results 1 to 7 of 7

Sumifs with mutiple choice same column

  1. #1
    Forum Contributor
    Join Date
    03-24-2014
    Location
    Lisboa, Portugal
    MS-Off Ver
    Office 365
    Posts
    174

    Sumifs with mutiple choice same column

    Hi guys
    I'm trying this formula and of course it works, but....

    The formula is : =SUM(SUMIFS(Sales[TotalN],Sales[CC No],A10,Sales[TipoDoc],{"FACFO","NC"},Sales[ProfData],X2))

    What i would like is to get "FACFO" and "NC" on lines A2 and B2. Something like this :

    =SUM(SUMIFS(Sales[TotalN],Sales[CC No],A10,Sales[TipoDoc],{A2,B2},Sales[ProfData],X2))

    I know that this is wrong. Is there a way of putting it right?

    Many thanks to you all
    Best regards
    Pedro

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    2016
    Posts
    5,872

    Re: Sumifs with mutiple choice same column

    Try this:

    =SUMPRODUCT(SUMIFS(Sales[TotalN],Sales[CC No],A10,Sales[TipoDoc],A2:B2,Sales[ProfData],X2))

  3. #3
    Forum Contributor
    Join Date
    03-24-2014
    Location
    Lisboa, Portugal
    MS-Off Ver
    Office 365
    Posts
    174

    Re: Sumifs with mutiple choice same column

    The original formula have to be like this : =SUMPRODUCT(SUMIFS(Sales[TotalN],Sales[CC No],A10,Sales[TipoDoc],{"FACFO","NC"},Sales[ProfData],"*"&X2&"*"))
    It works but it still shows only one option on ProfData and I'd like to show 2 options, i mean like X2:Y2 knowing that most of the times Y2 is blank. IS it possible?

  4. #4
    Forum Contributor
    Join Date
    03-24-2014
    Location
    Lisboa, Portugal
    MS-Off Ver
    Office 365
    Posts
    174

    Re: Sumifs with mutiple choice same column

    i know...can't go back?

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    45,364

    Re: Sumifs with mutiple choice same column

    Yes, sure. I'll delete the now irrelevant posts.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  6. #6
    Forum Contributor
    Join Date
    03-24-2014
    Location
    Lisboa, Portugal
    MS-Off Ver
    Office 365
    Posts
    174

    Re: Sumifs with mutiple choice same column

    Thank you very much

  7. #7
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    2016
    Posts
    5,872

    Re: Sumifs with mutiple choice same column

    Thanks for the rep! I'm not sure what happened above but I'm not going to attempt to communicate through formulas.

    Attach a sample workbook (not a picture or pasted copy).

    Make sure there is just enough data to demonstrate your need.

    Make sure your desired results are shown, mock them up manually if necessary.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Last edited by 63falcondude; 07-18-2018 at 08:34 AM.

+ 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. [Moved to VBA] INDEX MATCH Mutiple worksheet and returns mutiple row
    By joelimzh in forum Excel Formulas & Functions
    Replies: 28
    Last Post: 11-20-2017, 01:33 AM
  2. [Moved to VBA] INDEX MATCH Mutiple worksheet and returns mutiple row
    By joelimzh in forum Excel Programming / VBA / Macros
    Replies: 28
    Last Post: 11-20-2017, 01:33 AM
  3. Need An Udf to Concatenate with mutiple criteria Like Sumifs Do Work
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-03-2017, 07:29 AM
  4. [SOLVED] COUNTIF mutiple criteria in a single range, but with mutiple ranges.
    By Janbi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-19-2016, 06:31 AM
  5. [SOLVED] SUMIFS with mutiple worksheets
    By figo12 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-07-2013, 07:22 PM
  6. Conditional formating, mutiple variables, mutiple sheets
    By Adam_D in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-11-2012, 06:47 AM
  7. Replies: 0
    Last Post: 01-06-2012, 07:09 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