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

1. ## 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. ## 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]

3. ## 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.

4. ## 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 ~

Originally Posted by benishiryo
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]

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

#### 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