+ Reply to Thread
Results 1 to 8 of 8

sum column if multiple criteria match

  1. #1
    Forum Contributor
    Join Date
    05-29-2012
    Location
    Walnut, Ca
    MS-Off Ver
    Excel 2010
    Posts
    182

    sum column if multiple criteria match

    I am trying to create a formula that will sum column H if column B = A2 and column J is blank and column I contains a date of the current month. The formula is on another sheet but the data pulls from the Student worker pay sheet. A2 is on the budget sheet.

    I have no clue how wrong I am
    =SUMIFS('Student Worker Pay'!H:H,'Student Worker Pay'!B:B,$A2,'Student Worker Pay'!J:J,"",'Student Worker Pay'!I:I,MONTH(NOW()))

    Capture1.PNGCapture.PNG

  2. #2
    Forum Contributor day92's Avatar
    Join Date
    04-20-2010
    Location
    Los Angeles
    MS-Off Ver
    Excel 360
    Posts
    600

    Re: sum column if multiple criteria match

    Why upload a pic when you can upload the spreadsheet so it can be tested??

  3. #3
    Forum Contributor CheshireCat's Avatar
    Join Date
    10-11-2011
    Location
    Victoria, Canada
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    258

    Re: sum column if multiple criteria match

    Column I contains dates, but you're comparing it to a month number.
    Docendo discimus.

  4. #4
    Forum Contributor BenMiller's Avatar
    Join Date
    12-06-2011
    Location
    New Jersey
    MS-Off Ver
    Excel 2010
    Posts
    254

    Re: sum column if multiple criteria match

    Can't see your pictures but how about (put the sheetnames in yourself)

    =sumproduct(--(B1:B100=A2),--(J1:J100=""),--(MONTH(I1:I100)=MONTH(NOW())),B1:B100)

  5. #5
    Forum Contributor CheshireCat's Avatar
    Join Date
    10-11-2011
    Location
    Victoria, Canada
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    258

    Re: sum column if multiple criteria match

    I suggest using EOMONTH in place of MONTH in case of dates spanning over a year.

  6. #6
    Forum Contributor
    Join Date
    05-29-2012
    Location
    Walnut, Ca
    MS-Off Ver
    Excel 2010
    Posts
    182

    Re: sum column if multiple criteria match

    Nothings working....

    the formula will go in column f on student budget balance

    12-13 budget-test.xlsx

    I want it to add column H if column B matches A2,etc on budget sheet and if Column J doesn't say Late and column I has a date that falls in the current month.

    HELP

  7. #7
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: sum column if multiple criteria match

    Try this in F2 and down:

    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    05-29-2012
    Location
    Walnut, Ca
    MS-Off Ver
    Excel 2010
    Posts
    182

    Re: sum column if multiple criteria match

    Quote Originally Posted by Cutter View Post
    Try this in F2 and down:

    Please Login or Register  to view this content.
    Thank you, that worked

+ 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