Results 1 to 6 of 6

Thread: Using Sumifs To Check Multiple Criteria On The Same Column

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Jul 2013
    Posts
    4
    Rep Power
    0

    Using Sumifs To Check Multiple Criteria On The Same Column

    Hey guys.. I've been talking these pages for a few weeks now and decided to join up

    I humbly ask for some minor help in something that i just can't wrap my head around..
    the story is this :
    I've got two sheets, one is a database type sheet with a bunch of transactions with all their relative information and one is a sheet that tries to summerize the information depending on the criteria you feed it.

    sheet 'transactions' holds the database
    sheet 'item list' holds the table.
    sheet 'information' holds some data for various arrays i use, the most important is an array called all = { jenny, amarr}
    (the list is taken from the 'information' sheet)


    =SUMIFS(Quantity,Item,item_list,Sold_Bought,D3,mon th,B1,Char,INDIRECT(B2))

    this is the formula i have, some basics:
    Trying to sum the quantity on these criteria
    Item matching the type of item in the list(in 'item list')
    Sold_bought and D3 is to check if i bought or sold that item
    month and B1 is to sum by a specific month

    B2 holds text that's data validated to {jenny, amarr, all}, with jenny = {"jenny"} for example.
    so indirect(B2) refers to an array holding the names that i want to summerize by.

    this is as far as i got, if i type in Jenny and Amarr in B2, it works fine.
    if i type All it doesn't work.
    i've read multiple solutions stating that i need to add a sum in the start of things, so i'll have :

    =Sum(SUMIFS(Quantity,Item,item_list,Sold_Bought,D3 ,month,B1,Char,INDIRECT(B2)))
    but when i hit ctrl+shift+enter i get the same number for each item type.
    in this case, i get the number 10,289,272. no clue why!

    So my questions are these:

    1)What exactly does sumifs do in when checking an array of conditions? does it sum up everything by condition A, and then everything by condition B?(given A and B are in the same column)
    2)why doesn't my code work properly?
    3)how could i have figured this out alone without bothering you guys?

    any help is much appreciated.
    Attached Files Attached Files

Similar Threads

  1. Replies: 3
    Last Post: 05-23-2013, 11:17 PM
  2. Replies: 4
    Last Post: 08-11-2012, 10:50 PM
  3. SUMIFS multiple criteria from same column
    By excel_learner in forum Excel Help
    Replies: 8
    Last Post: 06-30-2012, 01:56 PM
  4. SUM Value With Multiple Criteria In Same Column
    By MarkJohn in forum Excel Help
    Replies: 2
    Last Post: 05-18-2012, 07:52 AM
  5. Loop and Check For Values In Entire Column in Excel
    By Jeff5019 in forum Excel Help
    Replies: 3
    Last Post: 05-01-2012, 10:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •