+ Reply to Thread
Results 1 to 4 of 4

I want to "sumifs" a column matches a criterial AND another column matches a certain date

  1. #1
    Registered User
    Join Date
    06-21-2013
    Location
    michigan
    MS-Off Ver
    Excel 2010
    Posts
    2

    I want to "sumifs" a column matches a criterial AND another column matches a certain date

    I have a lists of amounts, with dates, with two different names.
    For example:

    A B C
    Doug $100 6/3
    Doug $300 5/3
    Larry $200 6/1
    Larry $100 5/4
    Doug $400 5/3
    Larry $40 6/7

    So...I know =sumif(a1:a6,"Doug",c1:c6) That is how much Doug makes. $800

    I want to know how much each person totals in each month.

    BUT...If column A=Doug and column c is < or = 5/31 what is the total of column B? Meaning Doug made $700 is May....then I want to know what he made in June....which would be $100

    How the heck do I do that?

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

    Re: I want to "sumifs" a column matches a criterial AND another column matches a certain d

    hi kathyp, welcome to the forum. assuming column C are real dates, try:
    =SUMIFS(B1:B6,A1:A6,"Doug",C1:C6,"<="&"31May2013")

    if it cannot work, Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic[/QUOTE]

    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

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    13,764

    Re: I want to "sumifs" a column matches a criterial AND another column matches a certain d

    Use a helpcolum in column D to determine the month.

    =month(a1)

    After that you can use pivot table to get the result.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Registered User
    Join Date
    06-21-2013
    Location
    michigan
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: I want to "sumifs" a column matches a criterial AND another column matches a certain d

    PERFECT! This is exactly what I needed! Thanks so much
    You are a lifesaver ~



    Quote Originally Posted by benishiryo View Post
    hi kathyp, welcome to the forum. assuming column C are real dates, try:
    =SUMIFS(B1:B6,A1:A6,"Doug",C1:C6,"<="&"31May2013")

    if it cannot work, Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    [/QUOTE]

+ 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