+ Reply to Thread
Results 1 to 5 of 5

display sumifs items

  1. #1
    Registered User
    Join Date
    03-08-2016
    Location
    Fyn, Denmark
    MS-Off Ver
    2010
    Posts
    4

    display sumifs items

    Hi,

    I've been looking at this thread: http://www.excelforum.com/showthread.php?t=754662
    I've a similar request, I just need the items from a sumifs function instead of sumif.

    I have 4 criterias in my sumifs and need it displayed directly in cells, instead of a messagebox.

    I'm not sure, if this is possible. Anyone you who can confirm if this is possible?

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: display sumifs items

    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.

    Show a before and after situation with manually calculated results, explaining which information is data and which is results, and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    03-08-2016
    Location
    Fyn, Denmark
    MS-Off Ver
    2010
    Posts
    4

    Re: display sumifs items

    Hi Richard,

    I've created an example, but I can't upload the workbook.
    I hope I can explain with below pictures instead.

    Below sheet contains the data:
    Data sheet.jpg

    On below sheet I'm using a sumifs function, to have the total amount of sales.
    I would then like to have all the specifications, found in the sumifs, displayd in the yellow area.

    Spec Sales.jpg

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: display sumifs items

    Rynke welcome to the forum

    Please upload a sample of your workbook, not a picture of your data. Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
    Also, not all members can upload picture files (Company firewalls and stuff) - and, depending on what browser is being used, some pics dont even show up on the forum

    Your workbook should show a small desensitized example of the data you are working with and a manual mockup of the expected results.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

    From the sounds of it, you probably need to use the INDEX/SMALL/IF() ARRAY function, maybe something like this...
    A
    B
    C
    D
    E
    F
    G
    H
    I
    1
    Header1 header2 Header3 Amt aa ff kk
    2
    aa ff kk
    10
    Sum
    60
    3
    bb gg ll
    20
    4
    cc hh mm
    30
    5
    dd ii nn
    40
    Header1 header2 Header3 Amt
    6
    aa ff kk
    50
    aa ff kk
    10
    7
    bb ff ll
    60
    aa ff kk
    50
    8
    cc gg mm
    70
    9
    dd hh nn
    80
    10
    aa ii kk
    90
    11
    bb jj ll
    100
    12
    cc ff mm
    110
    13
    dd gg nn
    120

    G2=SUMIFS(D:D,A:A,F1,B:B,G1,C:C,H1)

    for the extract...
    F6=IFERROR(INDEX(A:A,SMALL(IF(($A$2:$A$13=$F$1)*($B$2:$B$13=$G$1)*($C$2:$C$13=$H$1),ROW($A$2:$A$13)),ROWS($A$1:A1))),"")
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Copy down, then copy across as needed
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    03-08-2016
    Location
    Fyn, Denmark
    MS-Off Ver
    2010
    Posts
    4

    Re: display sumifs items

    Hi FDibbins,

    Thanks for the instruction how to upload a file. I hope my example is attached now

    Correct me if I'm wrong, but does you aray formula include all results between two criterias?

    /Rynke
    Attached Files Attached Files

+ 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. Need help to auto display BOM items.
    By excelhelp90 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-16-2016, 05:22 AM
  2. Sumifs when there are several line items
    By Alex.Venables20 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-30-2015, 06:00 AM
  3. [SOLVED] sumifs excluding certain items
    By Tradesman in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 05-30-2014, 02:17 AM
  4. Multiple items on criteria for SUMIF (but not with SUMIFS)
    By Pullo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-16-2014, 01:17 PM
  5. [SOLVED] SUMIF or SUMIFS to find text and date between from items in a table
    By Beefy1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-19-2014, 10:38 PM
  6. Click Sumifs total to display associated detail table data
    By Jim Boyd in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-16-2012, 05:32 PM
  7. Replies: 10
    Last Post: 03-01-2012, 01:20 PM

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