+ Reply to Thread
Results 1 to 2 of 2

Multiple SumIFs with named table ranges

  1. #1
    Registered User
    Join Date
    03-31-2010
    Location
    Texas, US
    MS-Off Ver
    Excel 2007
    Posts
    8

    Multiple SumIFs with named table ranges

    Good Morning. I've been struggling with this multiple sumif statement and I don't know if it is because I have too much criteria.

    In the attached spreadsheet I have a sample budget. The budget has 3 named tables. In the 3rd table I'm trying to sum the amounts per 'program' by per 'period'.

    =SUMIF(MyTransactions1[Program Code],"=" &[@[Program Code]],MyTransactions1[Expense Actual/Enc]) - this is the formula I've been using to sum the amounts per program. Now I just want to add to this statement and in another column sum by 'Period' as well.

    I keep trying different options:

    =SUMIF(MyTransactions1[Program Code],"=",MyTransactions1[Cleared Actual],"Period 01" &[@[Program Code]],MyTransactions1[Expense Actual/Enc])

    "Period 01 - Period 12" is my variable range and will change.

    But I just can't figure out the correct way to write this statement. Everything I keep looking at doesn't help the formula. I keep getting told I have 'too many arguments'.

    Is there a better way I could do this?

    budget ss.xlsx

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Multiple SumIFs with named table ranges

    hi Cerenity. it's probably better if you tell us what you want to achieve rather than present a formula that is flawed & doesnt work for you. for me to guess, you want to sum column J if column I equals to column B AND if column N equals to "Period 01". if so SUMIFS is what you need, since you need 2 criteria:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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