+ Reply to Thread
Results 1 to 4 of 4

Sumif for multiple criteria in one row and two columns

  1. #1
    Registered User
    Join Date
    08-09-2011
    Location
    Hampton, VA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Sumif for multiple criteria in one row and two columns

    Hi, in the attachment, I'm wondering how to take values in the top table, sum them up only if they're in the "X" rows, and then return the sum of all the numbers by month in the bottom table.

    Example:
    For part # B, I want to output the sum of 30+31+30+31 = 122 and put the result in the column for February for Part B.

    It seems like a simple concept, and I've tried vlookups, sumifs, and sumproducts with criteria, but I can't figure out how to make it work.

    Thank you guys so much!
    Attached Images Attached Images

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Sumif for multiple criteria in one row and two columns

    Any chance you'd consider posting your workbook instead of a screenshot? I have a pretty good idea of how to go about it, but I'd like to play with the data rather than reconstruct it...
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Sumif for multiple criteria in one row and two columns

    Hello,

    See the attached. You can define dynamic named range with relative reference to reduce the length of the formula.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  4. #4
    Registered User
    Join Date
    08-09-2011
    Location
    Hampton, VA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Sumif for multiple criteria in one row and two columns

    Thank you!!

+ 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