New Excel Forum

This forum has been moved to TeachExcel.com

Ask all future questions in the New Excel Forum.

ExcelKey

SUMIF + MATCH?

Formulas, Functions, Formatting, Charts, Data Analysis, etc.

SUMIF + MATCH?

Postby MICRO » Wed Dec 21, 2011 8:54 am

Hi Mr Excel,

I need to Sum a column with 2 criterias:
date & actuals

In one month, some of the invoices might already be paid,(ACTUALS) and some remains to be paid later that month.(FORECAST)
:?: :?: :?:

Please see attached file.

Please help.
Thanks!! :D
  • 0

You do not have the required permissions to view the files attached to this post.
MICRO
Rookie
 
Posts: 8
Joined: Dec 21, 2011
Reputation: 0

Re: SUMIF + MATCH?

Postby prinda123 » Wed Dec 21, 2011 4:55 pm

Hi
I won't answer your question, but just direct you to the answer (you'll need to apply the solution below to your problem, but its pretty straight forward):

http://www.youtube.com/watch?v=EQcx6YUZGGg

If the above doesn't work you may be better to use VBA for the solution and posting the question there.
Regards
David
  • 0

prinda123
Rookie
 
Posts: 1
Joined: Dec 21, 2011
Reputation: 0

Re: SUMIF + MATCH?

Postby MICRO » Mon Jan 02, 2012 2:21 pm

Thanks David, I will check it out!! :) :) :) :)
  • 0

MICRO
Rookie
 
Posts: 8
Joined: Dec 21, 2011
Reputation: 0

Re: SUMIF + MATCH?

Postby Don » Tue Jan 03, 2012 12:13 am

There is a pretty simple way to do this with the sumifs() function. First though, it is always a good idea to enter dates as dates. When you do that, you can use a myriad of date functions on the dates that allow you to get things like the day, year, and month from any date.

That said, here is all you would need to do given your data:

  • In column D, enter this formula =LEFT(A1,2) and copy it down.
  • In cell F2, enter this formula =SUMIFS(B:B,C:C,$F$1,D:D,LEFT(E2,2)) and copy it down.
  • In cell G2, enter this formula =SUMIFS(B:B,C:C,$G$1,D:D,LEFT(E2,2)) and copy it down.

If you follow these steps, you should get the desired result.

hope this helps :)
  • 0

Don
Moderator
 
Posts: 733
Joined: Dec 4, 2011
Reputation: 2
Excel Version: 2010


Return to General Excel Questions

Who is online

Users browsing this forum: No registered users and 248 guests